How do I make movement like clouds from left to right in Loop?
After the object out of the screen is coming back again on the same track (not reverse) Doing again exactly the same movement.
have you try to add "warp" behavior to your sprite"cloud" ?
Develop games in your browser. Powerful, performant & highly capable.
Or you can use a tillable background and set it in a way that loops around. Here is a scene that uses a couple of methods to loop the clouds.
https://www.dropbox.com/s/ee9zj7cl91xp5 ... .capx?dl=0
warp work very good.
you're welcome
With wrap the cloud will stay at same y-position always though. I would've rather spawned random clouds with bullet behaviour, and destroyed them when far right.
there are thousand ways to make clouds... but he ask for "Doing again exactly the same movement." not for spawn random clouds with realistic movement.