Escena 2:

  • Elige tu fondo de .
  • Elige una para tu figura. Esto puede colocarla en cualquier nuevo lugar o simplemente hacer que tu figura se mueva.
  • Usa Set Text para cambiar tu texto en la pantalla a la nueva frase que describe tu nueva escena.
  • Agrega un comando Wait desde .

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

stage.set_background("park") sprite = codesters.Sprite("person3") sprite.glide_to(-100, 50) # text = codesters.Text("text", x, y, "color") text = codesters.Text("I went to the park!", 0, -200, "blue") stage.wait(1) sprite.move_right(400) transition1 = sprite.ask("Choose a transition from the sequence category.") text.set_text(transition1)
  • Run Code
  • Enviar Trabajo
  • Actividad Siguiente
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)