is there a way to make sprites scroll in a circle so when you reach the last sprite theres the first one again?
Offline
Yes. The code should look something like this. If it doesn't work, we'll need more details to help you.
when gf clicked forever set x to ((scrollX) mod [length of scrolling]) // length of scrolling should be a constant number
Offline
Chanmanpartyman made a helpful tutorial about making Infinite Scrolling. I made a game, Ballon Dodge, with it.
Is that what you mean?
Offline
destructo-serpent wrote:
that makes the first one repeat, is there a way to make them all repeat?
Even though it seems the problem is solved, I'll answer this anyway:
Yes, just offset it using subtraction.
when gf clicked forever set x to (((scrollX)-[offset value of sprite]) mod [length of scrolling])
Offline