Reversed Gravity

We built a really cool Reversed Gravity game this week

We first set up our main character and the left and right arrows to move left and right along with the space bar to jump

We set up the letter R to reverse the gravity, our cat then falls upside-down to the top of the game window

We created cheese puffs to randomly appear to collect and get a point

Lastly we created two enemies to patrol the top and bottom of the game window. If we hit them, our score gets reset to 0

Test out the full game below and view the full code on the project page

Previous
Previous

Noughts and Crosses

Next
Next

Space Shooter