Level 6: Mathematics & Physics

Well, I won’t sugar coat it: we’re in trouble. The Lucky Dare Game Jam Competition is 50% over, and it turns out we wasted the entire first day working on entirely the wrong project. We need to pivot and somehow transform our spooky maze crawler into something physics-based.

This means emulating the forces that act in the world around us. Good physics can increase player immersion and make a game world feel fluid, natural, and dynamic. Game physics can range from simple (often exaggerated) approximations to elaborate simulations. In this chapter, we’ll cover essential math concepts for game development and use them to implement some widely applicable game physics.

As always, game development is 90% smoke and mirrors. ...

Get HTML5 Games: Novice to Ninja now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.