Spawn blocks of obstacles and coins

OramsDesignOramsDesign Member Posts: 0
edited February 2014 in Working with GS (Mac)
Hi everybody, I'm working on my first game and I'm stuck.

I'm wanting to make an endless runner, the problem is that I want to have specific "blocks" of obstacles and coins, and then display these in random order one after the other.

My initial idea was to make blocks of land, say 12, and each is visually different and had a different array of obstacles and coins above it (eg, block 4 would have a trash can to jump over, and a semi circle of coins hovering above the can). Then to spawn these seamlessly from the right of the screen in random order (say 4, 7, 1, 12 etc). Making the game appear to be one solid block of land.

I have been searching the net for as many different possible ways to make an endless runner, but they all seem to be blocks of land with big gaps in between.

Have any suggestions on this?
Cheers :)
Sign In or Register to comment.