Random Generation
Posted: Sat Apr 11, 2015 10:18 pm
I know this is kind of a n00b question, but how can I randomly generate a map?
To get a better grip on this:
Say I have 3 objects: a pit, spikes, and a crawlspace in a horizontal scrolling game.
The player will continually move right, but these randomly pop up to make something along the lines of Canabalt.
It's another of my little ideas, but this is something I don't understand.
To get a better grip on this:
Say I have 3 objects: a pit, spikes, and a crawlspace in a horizontal scrolling game.
The player will continually move right, but these randomly pop up to make something along the lines of Canabalt.
It's another of my little ideas, but this is something I don't understand.