i need to move my enemy every Time up and down
i have this but not work well
thanks.
I believe there is a timer object or behavior that might help also you could use system every x seconds.
Not sure what method would work best for you but when I do random movement for enemies every x seconds works for me.
Develop games in your browser. Powerful, performant & highly capable.
I believe there is a timer object or behavior that might help also you could use system every x seconds. Not sure what method would work best for you but when I do random movement for enemies every x seconds works for me.
i need to move my enemy indefinitely up and down
Oh, well I think that having a timer every so many seconds would work but maybe this would help more.
https://www.scirra.com/manual/103/sine
I'm not an expert with sine behavior but I believe it can do exactly what you want.