Random Monster Spawning?

NettekovenGamesNettekovenGames Member Posts: 88
edited May 2012 in Working with GS (Mac)
I'm working on a Endless runner type of game but how can i make it so the monsters spawn on different positions?

Best Answer

  • tatiangtatiang Posts: 11,949
    Accepted Answer
    Just set a range for the y value (or x). You can do this with random(game.playerX+50,game.playerX+150).

Answers

Sign In or Register to comment.