So at the moment I'm making a game where 2 long rectangular blocks go up the screen. The aim is to go through the gap (where the two blocks don't meet). I have got the blocks spawning nicely and they go up the screen together randomly along the x axis. My only trouble is the gap in which you fall in changes in size. I want to keep the gap the same size so I was wondering if there was a way to do this.
Help will be appreciated!
thanks in advance!!!!
should be as easy as
> system create object2 at x= object1.x+200 ; y=object1.y
200 should be changed to whatever distance you'd like..
Develop games in your browser. Powerful, performant & highly capable.
Thank you so much LittleStain, this worked perfectly.