Game Development Reference
In-Depth Information
What just happened?
We just added the collision logic to our platform game. As we did in our first game, Air
Hockey, we test the player's current position for collision as well as its next position to de-
termine if a collision occurred between the current iteration and the next one. The test
simply looks for overlaps between the player's and block's boundaries.
Search WWH ::




Custom Search