Hi
Im currently making a game where i need two rectangular blocks to move up the screen parallel to each other but so there is a gap so my character can fall through. So far I have got one of the blocks moving at a random postion on the X axis that spawns every second. My problem is the second block. Like the other it moves up next to it but i want it the gap inbetween to stay the same. At the moment im doing this:
System, Every 1 seconds, create object at random(-430, 180) (500) <--- this is the left block
System, Every 1 seconds, create object2 at position (Sprite.X+250) <--- this is the right block
Help will be appreciated, thanks