Task 2 - Jump…Jump…#

In Task 1, you started with the game platform from the last activity and added code to move the player left or right with the arrow keys. In this task, you will make your player jump.

Specifications#

  • Copy your solution from the previous task, and name the file task2.pde.

  • Add more code to make your player jump when SPACE is pressed.

  • Note that a player cannot jump if already jumping.

Embed an animated gif of your drawing#

Embed the animated gif you created here using markdown syntax: ![alt text of image](relative path to image)