Question that can't fit in the title

Get help using Construct 2

Post » Sat Aug 22, 2015 8:35 pm

How can i make a sprite move left and rigth but just rigth when it sees the player? If you make events for both it keeps moving left and rigth even after it seen the player. How can i make it translate from moving left and rigth to moving just rigth. I also want to know how you can alter events depending on which side the player is in contrast to the enemy. I want the enemy to charge to the left if the player is on the left of the enemy and to the rigth if the enemy is to the rigth of the enemy.
B
12
S
2
Posts: 267
Reputation: 1,344

Post » Sun Aug 23, 2015 2:42 pm

You can add invisible big sprite to the player, and if the enemy overlap this sprite then will follow the player, if not will charge left and right.
i think this is the best idea, event best of using line of sight.
B
60
S
10
G
10
Posts: 1,013
Reputation: 9,165


Return to How do I....?

Who is online

Users browsing this forum: aquadijoib and 31 guests