I forgot, how do you make infinate scrolling with a single sprite again? Sorry, haven't done a platformer in ahwile.
Offline
Change the x>210 and such to the limit of how far the sprite can go -/+ 1 depending on its size.
This should work, but I didn't bother testing it. Tell me if it doesn't work. I'll also put in the way to make them change costumes and such as the terrain progresses.
EDIT: Just tested, doesn't quite work. Fixing.
Last edited by Kileymeister (2010-12-08 18:10:42)
Offline
Ok, here we go. Added a bit more variables to clean it up, and a control script to test it. This should work.
Offline
SeptimusHeap wrote:
Hmm... The objects seem to disappear when they are halfway gone.
Set the limits further then.
Offline