How do I move enemy 8 direction behavior

Get help using Construct 2

Post » Fri Apr 03, 2015 1:09 pm

i need to move my enemy every Time up and down

i have this but not work well

Image

thanks.
B
4
Posts: 23
Reputation: 246

Post » Fri Apr 03, 2015 1:16 pm

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.
B
6
S
1
G
1
Posts: 31
Reputation: 945

Post » Fri Apr 03, 2015 2:30 pm

heromedel wrote: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
B
4
Posts: 23
Reputation: 246

Post » Fri Apr 03, 2015 3:08 pm

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.
B
6
S
1
G
1
Posts: 31
Reputation: 945


Return to How do I....?

Who is online

Users browsing this forum: marcoscodas and 10 guests