Premium Features

Download Video

Gravity

Our game takes place on earth, not outer space. As a result, we need our player to fall to the ground thanks to our good friend gravity. Here we'll implement this effect using some basic physics and conditionals.

Comments

Want to participate?

Create a free Chris Courses account to begin

Login
D
DougieC posted 7 months ago

You also need to adjust the player height as it would have somewhat sunk below the canvas.

0

Providing the lift to launch your development career

© 2026 Chris Courses. All rights reserved.