Game Development Reference
In-Depth Information
What just happened?
The main loop is pretty straightforward when you don't have to worry about updating indi-
vidual sprites, as our actions take care of that for us. We pretty much only need to run colli-
sion checks between our sprites, and to determine when it's time to throw something new at
the player.
So now the only thing left to do is grab the meteors and health packs from the pools when
their timers are up. So let's get right to it.
Search WWH ::




Custom Search