STEP 8: We'll use another loop to place zombie sprites along the x-axis of the stage.

  • Create an Integer Variable named x with a value of 150. Make sure it is outside of the loop.
  • Drag Loop with Range to the bottom of your program.
  • Change the range of the loop to 10.
  • Drag Sprite at Position inside the loop.

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
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)