How do I create random spawn positions and randomize platform sizes for a runner type game?

thevoxptythevoxpty Posts: 28Member, BASIC
edited November 14 in Working with GS (Mac)

So, on my horizontal "canvas" at the very far-right-end I have a spawning-block that touches bottom and ceiling; this spawning-block will shoot platforms towards the left (this is a runner game). So, these platforms will spawn from the top of the Spawn-Block (ceiling) or the bottom (floor), moving towards the left. In an on/off fashion-order, if the platform spawned from the ceiling, then the next will spawn from the floor. As well, these platforms will vary in size, leaving a slight gap in between each spawned platform.

• I need to know how to spawn platforms from ceiling then bottom then ceiling then bottom ect etc (in that sort of order).
• I need to know how to vary these platforms' sizes, leaving a slight gap in between each spawning.

Thank you!


Sign In or Register to comment.