Podemos usar un loop para crear una fila de lilypads a través de la parte superior del escenario.

  • Crea una Integer Variable llamada x. Dale un valor de -200.
  • Ve a y añade un Loop with Range a tu programa.
  • Adentro del loop, añade un Sprite at Position y nómbralo end_ground.
  • Cambia la imagen a "lilypad". Reemplaza la coordenada x con x. Cambia la coordenada y a 230.

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)