Creating a Asteroids Flash Game Part 8: Lives, Scores, Restarting, Pausing, Creating Levels, and a Basic GUI
In the last section, we created a way to detect collisions, created particle explosions, and broke the asteroids up into smaller pieces when hit. In this section, we’ll keep track of the lives, score, make levels, and create a GUI for starting, restarting, and pausing the game.