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

Simple Gamer ArtsSimple Gamer Arts Member, PRO Posts: 302
edited November 2017 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.

BRIEF SUMMARY:
• 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!

Comments

Sign In or Register to comment.