PASO 8 : Nuestra escena está configurada. ¡Lindo! Ahora hagamos nuestro juego interactivo.

  • Mira tu micro: bit. Observe que hay dos botones. Encuentra el botón que dice A.
  • En ASUNTO, haga clic en . Luego, arrastra el bloque A Button Press hasta la parte inferior de tu editor.
  • Hacer clic Ejecuta y presiona A en tu micro:bit. Tu sprite debe moverse hacia la izquierda.

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

microbit = codesters.Microbit() microbit.show_string("hello") stage.set_background("soccerfield") sprite = codesters.Sprite("athlete2") sprite.move_down(150)
  • Run Code
  • Enviar Trabajo
  • Actividad Siguiente
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)