Thanks! but I don't think that what I need for this but I could be wrong. Parallax is definitely something I want though, I'm going to have to rethink how I design my images with this.
I found a capx of what I was looking for on this site. I've been learning about floors, and ceils and modulo to make this work, so far so good.
c2community.ru/forum/viewtopic.p ... start=1720
Using the auto runner template
How do I get objects moving at the same angle to increase their speed without overlapping each other? Like in the infinite runner “canabalt” The distance between buildings vary but stay constant with increasing speed.
Or at least it appears to be constant.
AWESOME! You solved my problem,Thanks!
I also noticed I had events I didn't need, which stopped it from working. Amazing what taking a break will do for the mind.
Develop games in your browser. Powerful, performant & highly capable.
Two objects, their origins in the middle.
To put Block1 on top of block2, I tried to to add their halves and subtract it from block2's Y.
Block2.Y - (Block2.Height /2) + (Block1.Height/2)
This subtracts Block2's height instead of its Y position.