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

EXTEND: Now customize your program how ever you want! Change at least 3 things about your program.

  • Change the background image or sprite image.
  • Use the toolkit to add moves or say commands to the collision event.
  • And additional stops to your sprite's route!

stage.set_background("winter") sprite = codesters.Sprite("snowman") sprite.set_size(.5) sprite.pen_down() sprite.glide_to(5, -6) def collision(sprite, hit_sprite): hit_sprite.hide() # add any other actions... sprite.event_collision(collision) sprite.glide_to(5, 1) sprite.glide_to(0, 6) sprite.glide_to(-7, 2) sprite.glide_to(-7, -4) sprite.glide_to(0, 0)
Support