Random Level?

Is there a way I came make my platform go random in a good shape and make it look legit? like I dont have to make the levels it just generates the levels randomly

Answers

  • Braydon_SFXBraydon_SFX Member, Sous Chef, Bowlboy Sidekick Posts: 9,273
    It depends on what type of game you're making. If it's a side-scroller, you can simply tell the platforms, once they've passed the player of the left and have gone off screen, to reposition themselves to the right side of the camera, at a random Y position.

    Take a look at the demo project attached.
  • yasoofxyasoofx Member Posts: 332
    It depends on what type of game you're making. If it's a side-scroller, you can simply tell the platforms, once they've passed the player of the left and have gone off screen, to reposition themselves to the right side of the camera, at a random Y position.

    Take a look at the demo project attached.
    My game is a 2d platform without scrolling or nothin. It's just I want the platform actor just randomly spawn in x axis and y axis and stable not scrolling
  • Thunder_ChildThunder_Child Member Posts: 2,343
    It depends on what type of game you're making. If it's a side-scroller, you can simply tell the platforms, once they've passed the player of the left and have gone off screen, to reposition themselves to the right side of the camera, at a random Y position.

    Take a look at the demo project attached.
    I have been interested in platform templates...thanks for the file to check out. Braydon you are da man....man !
    ^:)^
  • fadamionfadamion Member, PRO Posts: 309
    edited January 2014
    Create a table with say 20 posable x/y positions then spawn actors randomly from that table.
Sign In or Register to comment.