Activity: Back Flip
img

STEP 9: Time to use a turn command to make our sprite do a flip!

  • Go to and drag out Turn Left. Drop it at the bottom of your program.
  • Change the integer in the .turn_left() command to 360.

Remember, the number of degrees in a full circle is 360. The .turn_left() command turns the sprite a certain number of degrees.

stage.set_background("concert") sprite = codesters.Sprite("person1") sprite.move_down(100) sprite.set_speed(3) sprite.flip_up_down() sprite.move_right(150) sprite.move_left(200) sprite.flip_up_down()
Support