How do I Make a "back and forth patrolling" enemy sprite?

Get help using Construct 2

Post » Mon Oct 31, 2016 7:57 am

Been pondering this a while now. I just want to make a basic enemy sprite, which just "patrols" between certain coordinates. It could be as simple as just "patrolling" horizontally between (150, 0) and (300, 0) for example continuously until collision happens with player sprite.. Or vertically the same way. I thought this would be very easy, but there's something wrong with my logic, I guess.

I just could not figure this out myself :/ Any help highly appreciated :) Using the free version of Construct2.

Thanks!
B
3
Posts: 2
Reputation: 179

Post » Mon Oct 31, 2016 3:01 pm

B
38
S
18
G
19
Posts: 664
Reputation: 14,107

Post » Tue Nov 01, 2016 7:50 am

Thank you, I'd never had figured that out myself. I guess I just have to try out more behaviors despite their names ;)
B
3
Posts: 2
Reputation: 179

Post » Tue Nov 01, 2016 4:18 pm

Experience comes with time. Sometimes i'll start an empty project and spend a few minutes with a behavior or two.
B
38
S
18
G
19
Posts: 664
Reputation: 14,107


Return to How do I....?

Who is online

Users browsing this forum: DjowG, ramyaswetha and 6 guests