6
\$\begingroup\$

Is there any good book or tutorial that explains the physics behind creating a 2D Platformer game? Such as tile rendering, tile map reading, collision detection, camera movement etc.?

\$\endgroup\$

closed as too broad by Anko, bummzack, Trevor Powell, MichaelHouse Sep 18 '13 at 23:50

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    \$\begingroup\$ Wait, what does rendering and camera movement have to do with physics? \$\endgroup\$ – jcora Aug 6 '12 at 11:38
  • \$\begingroup\$ possible duplicate of How to make a character jump? \$\endgroup\$ – Anko Sep 17 '13 at 5:53
12
\$\begingroup\$

I think I stumbled upon this link here on gamedev and I really found it enlighting.

http://higherorderfun.com/blog/2012/05/20/the-guide-to-implementing-2d-platformers/

It explains some basic methods of implementing tile based levels, but there are also some important parts about how certain mechanics work in 2d platformers. I think you should look into slopes, as they can solve many problems you come across in platformers.

Good to know is, that most platformers don't even bother with implementing proper physics, but implement certain rules, that mimic some physical behavior (like gravity), but allow certain behaviors that wouldn't be allowed with proper physics (air control for example).

\$\endgroup\$

Not the answer you're looking for? Browse other questions tagged or ask your own question.