Basic Walking

Notes

In this set of examples, we'll look at the components of platformer-style movement. Here, the movement is very simple: the player is either stopped or moving at full speed. It works but it doesn't feel very good.

Use the arrow keys to move the player left and right.

Source