Activity: Gravity
I'M FINISHED WITH HOUR OF CODE!
img

STEP 6: For our game to work, we need the sprite to fall. To do that we'll add gravity and get rid of the walls.

  • Go to and drag out Set Gravity.
  • From , drag out Disable Walls.

stage.set_background("space") sprite = codesters.Sprite("spaceship") sprite.set_size(0.5) sprite.go_to(-200, 0)
Support