Bge 2d

Is there any script for a 2d game in the BGE? like a 2d platformer? because i cant get the pyshics right, it always messes up.

You don’t need a script, in the physics options (advanced tab) should be options to lock the physics to only a certain axis or certain rotations, making it possible to constrain physics to a 2D plane.