Jump around with the arrow keys or WASD.
This version uses two another sprite that follows the player character and acts as a sensor to determine if you're on the ground It's important for the ground sensor to appear just BELOW the character's feet for this to work.