A simple jump
Here at DigiPen people make a lot of platformers. And I see them getting the basic jump wrong over and over again.
It turns out that you can write a whole lot about the implementation of jumps in games (ideal jump height and speed, amount of air control, double jumps etc.) but in this post I’ll just explain how to start a jump, because this is where I see people repeating the same mistake: If you have stepped just one pixel too far over the edge of the platform before pressing space, you will fall to your death.
Fixing that is fairly simple.