Now our player sprite needs to decide how to respond.

  • Drag out another Say.

This time, we'll have the player sprite speak, so don't change the name in the command.

  • Change the string in the .say() command to "What should I do?"

To navigate the page using the TAB key, first press ESC to exit the code editor.

stage.set_background("schoolentrance") sprite = codesters.Sprite("person10") sprite.go_to(-125, -100) emma = codesters.Sprite("person8") emma.move_down(125) emma.say("Someone took my phone!") stage.wait(2) emma.say("They've been sending people mean texts pretending to be me!") stage.wait(2)
  • Run Code
  • Enviar Trabajo
  • Actividad Siguiente
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)