Adding Platforms to Your Stage

We have the essential game objects defined but we have not created a game level yet. This video will teach you to put the platforms together to form a game level.

  • Use for loop to put multiple platforms on the stage
  • Use random values to create varying gaps between platforms for the hero to jump across.
  • Use another random value to make some gaps between platforms in the x axis

Complete and Continue