Closed codelucas closed 9 years ago
I meant to assign both Skylar and Allan, but Github won't let me
So should we be adding entities based off altitude? Time? Or both?
I'm also going to be tweaking these variables alongside you but here was the equation I had in mind:
if (game.timer % (altitude) * constant == 0) {
spawn()
}
if (game.timer % (1 / altitude) * constant == 0) {
spawn()
}
Obviously, constant
is going to be different for each entity and much more complex than just a variable, we need to make the spawns very reasonable.
Tweak the existing physics variables and see what "feels" right.
Also experiment with the rate variables (per how many game seconds should we add a new entity?)