I just try to understand the logic, what i need is just to create platforms at random heights, and horizontals, but i cant find a solution for making the paltforms not too far one from another
i have this:
system create object "platform" on layer "game" X random(20, LayoutWidth - 400), Y ViewportTop("Game")
system set nextplatform to ViewportTop("Game") - random(20, 400)
this is what i have
http://s10.postimg.org/kjbqfua09/spawn.jpg
You could change your settings to this:
system create object "platform" on layer "game" X random(20, LayoutWidth - 40), Y ViewportTop("Game")
system set nextplatform to ViewportTop("Game") - random(20, 100)
And you're good to go.