Hi
Is it possible for a sprite to move off screen then appear on the opposite side but still going in the same direction? So if it went off the left-hand screen, moving left, it would appear on the right-hand screen, still moving left, and would continue ad infinitum until you commanded it to move.
Thanks
Offline
Yes, this is possible. Here is what you'd use:
when gf clicked repeat until (done?) change x by (-1) if <(x position) = (-240)>//Change to make your sprite disappear at a different point. hide wait (1) secs set x to (240) show end end Command scripts here.I hope that this helps!
Last edited by ErnieParke (2012-11-27 18:13:09)
Offline