Game Development Reference
In-Depth Information
What just happened?
We have just built the game's main loop. Whenever your gameplay depends on precise col-
lision detection, you will undoubtedly apply a similar logic of position now, position next,
collision checks, and adjustments to position next, if a collision has occurred. And we fin-
ish the game with our helper method.
All that's left to do now is update the scores.
Search WWH ::




Custom Search