Little Physics in 2D

In this section we'll use a very simple and limited version of physics. Games are all about being good fakes. They cheat wherever possible to get rid of potentially heavy calculations. The behavior of objects in a game need not be 100 percent physically accurate, it just needs to be good enough to look believable. Sometimes we don't event want physically accurate behavior (e.g., one set of objects should fall downward and another, crazier, set of objects should fall upward).

Even a game like the original Super Mario Brothers uses at least some basic principles of Newtonian physics. These principles are really simple and easy to implement. We will only talk about the absolute minimum required to implement a very simple physics model for our game objects.

0 0

Post a comment