Book description
Build your very own 2D physics-based game engine simulation system for rigid body dynamics. Beginning from scratch, in this book you will cover the implementation technologies, HTML5 and JavaScript; assemble a simple and yet complete fundamental mathematics support library; define basic rigid body behaviors; detect and resolve rigid body collisions; and simulate collision responses after the collisions.
In this way, by the end of Building a 2D Game Physics Engine, you will have an in-depth understanding of the specific concepts and events, implementation details, and actual source code of a physics game engine that is suitable for building 2D games or templates for any 2D games you can create and can be played across the Internet via popular web-browsers.
What You'll Learn
Gain an understanding of 2D game engine physics and how to utilize it in your own games
Describe the basic behaviors of rigid bodies
Detect collisions between rigid bodies
Resolve interpretations after rigid body collisions
Model and implement rigid body impulse responses
Who This Book Is For
Game enthusiasts, hobbyists, and anyone who is interested in building their own 2D physics game engines but is unsure of how to begin.
Product information
- Title: Building a 2D Game Physics Engine: Using HTML5 and JavaScript
- Author(s):
- Release date: January 2017
- Publisher(s): Apress
- ISBN: 9781484225837
You might also like
book
Core HTML5 2D Game Programming
Game programming offers a wealth of creative and business opportunities, and it’s never been more accessible. …
book
Build Your Own 2D Game Engine and Create Great Web Games: Using HTML5, JavaScript, and WebGL
Build Your Own 2D Game Engine and Create Great Web Games teaches you how to develop …
book
Physics for JavaScript Games, Animation, and Simulations: with HTML5 Canvas
Have you ever wanted to include believable physical behaviors in your games and projects to give …
book
Making Isometric Social Real-Time Games with HTML5, CSS3, and JavaScript
Anyone familiar with Zynga's Farmville understands how fun and addictive real-time social games can be. This …