Can anyone point me to a library for 2D game physics, etc for programming gravity, jumping actions, etc for a 2d platform/sidescrolling game ? Or could you suggest some algorithms for side scroller like mario, sonic etc?
Modern video games use physics to achieve realistic behaviour and special effects. Everything from billiard balls, to flying debris, to tactical fighter jets is simulated in games using fundamental principles of dynamics.
Box2D is a free open source 2D physics simulator engine written in C++ by Erin Catto and published under the MIT license. It has been used as the engine of several Angry Birds games.
On October 30, 2009, it was announced that Box2D was being integrated into the (now older) Torque 2D game engine.
It sounds like Chipmunk might meet your needs.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With