Hello. It's very hard for me to find out how to do this, I hope you can help me.
I want to make a planet spawn outside of the seen layer and move it towards my player from the right side of the window,
the planet should always come from the right side and the Y. should vary.
I hope you can understand this and can help
Just create object at outside of layout with random Y parameter, give it bullet behavior, and when it reaches a particular negative y value, destroy it.
Not exactly awake at the moment, but is this something like you want (requires r168 or greater):
Thanks for your answer,
Yes it helped me alot, finally I understand this :p
I can't figure out how to make it Stop when it reaches the right side of the screen (when it comes to the layout, so it can stop and I can do more things)
Can someone help ?
Develop games in your browser. Powerful, performant & highly capable.
It has bullet behavior, so when you want to stop it, set bullet speed = 0. To move it again, set speed to whatever value you wish.