Activity: Extend

EXTEND: Now customize your program! Make sure you complete these minimum technical requirements:

  1. Change the background OR your sprite image label.
  2. Add more actions commands to make the dance longer.
  3. Add a second sprite to the bottom of your program. Use actions to make it dance!
  4. When you're done, click Submit to turn in your project and Next to move on!

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() sprite.turn_left(360) sprite.flip_right_left() stage.wait(1) sprite.flip_right_left() stage.wait(1) sprite.flip_right_left() stage.wait(1) sprite.flip_right_left() stage.wait(1) sprite.flip_right_left() stage.wait(1) sprite.flip_right_left() stage.wait(1) def enter_key(): sprite.turn_right(360) # add other actions... stage.event_key("enter", enter_key)
Support