Abstract
In physics-based games, simulating the physics of the real world is very important. There are a variety of physics engines available today. The most popular one for Cocos2d-js is Chipmunk physics. This was originally written in C and later was ported to various platforms. Even though you can use other game engines with Cocos2d-js, the Chipmunk engine is highly recommended. It is the native physics engine for Cocos2d-x.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2016 Hemanth Kumar
About this chapter
Cite this chapter
Kumar, H., Rahman, A. (2016). Adding Physics to Your Game. In: Rapid Game Development Using Cocos2d-JS. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-2553-0_7
Download citation
DOI: https://doi.org/10.1007/978-1-4842-2553-0_7
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-2552-3
Online ISBN: 978-1-4842-2553-0
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books