asteroids-advanced icon indicating copy to clipboard operation
asteroids-advanced copied to clipboard

LevelManager bug

Open MunWolf opened this issue 8 years ago • 1 comments

It spawns new asteroids before all of the old ones are killed.

MunWolf avatar Dec 22 '16 14:12 MunWolf

As @NaveTK said, this happens because we spawn the new asteroids at the end of a frame while the LevelManager checks the number of asteroids after the last asteroid is removed but before new ones are added.

MunWolf avatar Dec 22 '16 15:12 MunWolf