Your game is coming along nicely. You have Sprite objects, gameplay mechanics and your coding efforts are paying off. You are starting to feel like your game is playable. What do you do when you realize your game needs to simulate real world situations? You know, collision detection, gravity, elasticity and friction. Yes, you guessed it! This chapter is on physics and the use of a physics engine. Let's explore the when, wheres and whys of using a physics engine.

results matching ""

    No results matching ""