Vamos a crear los OVNIS que rebotan hacia atrás y adelante a través del escenario.

  • Ve a y arrastra Set Bounce a la parte inferior de tu programa, afuera del loop.
  • Cambia el número en el comando .set_bounce() a 1.
  • Ve a y arrastra Integer Variable a la parte inferior de tu programa.
  • Cambia el nombre de la variable a y. Cambia el valor a -150.

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

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Enviar Trabajo
  • Actividad Siguiente
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)