Alex Rivera | Logout

2d game physics?

Asked 2008-09-19T01:26:22.503
11

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?

Edit
Report

1 Answer

12

Your best bet is most likely Box2D. It does 2D physics, has tons of options, and is very easy to integrate into an existing project. It does CCD by default for fixed bodies, but any rigid body can be selectively included in the CCD calculation.

answered 2008-09-19T01:35:38.020

Your Answer