Movement Word Physics
Gravity and Jumping
So far, our young taekwondo student can walk left and right using acceleration and deceleration. The next step is to help him jump. To do this, we need to add more rules to our world. Using variables for gravity and setting our ground level, we can help our young hero jump up and accelerate when he falls to the ground. Use the left and right arrow keys to cause the character to move.
Pressing the up key will cause the character to jump into the air. If it’s not working, please click on the stage first to activate the controls.
You need Adobe Flash Player to view this content.