W, A, S, D to move around and jump. (Or Arrow Keys)
Here is a demo of how to implement gravity using the default cat. You can see that I use a sensor sprite with 4 costumes to determine which part of the cat is hitting the ground plus a fifth one for pushing you out of the ground.