Enemy Ai Make the enemy face my character(SOLVED)

Get help using Construct 2

Post » Tue Jan 15, 2013 6:00 pm

This is for a platform action type game. What i do have is when my char gets near an enemy the enemy stops patrolling and starts shooting. Now i want the enemy to stop when i overlap the trigger, Face my character and shoot a bullet towards my character.

I tried compare x X>- = set enemy not mirrored/ set angle bullet to 0
and compare x X<- = set enemy mirrored / set bullet angle to 180. but the enemy just stops , faces right and starts shooting.

If anyone needs the capx i will upload it.

Thanks in advanceDravenX2013-01-15 19:43:36
B
22
S
3
G
6
Posts: 1,356
Reputation: 7,141

Post » Tue Jan 15, 2013 6:23 pm

Yep a capx would help here.
B
15
S
5
G
7
Posts: 877
Reputation: 5,650

Post » Tue Jan 15, 2013 6:39 pm

Since i solved it there's no need for the capx anymore. DravenX2013-01-15 20:50:13
B
22
S
3
G
6
Posts: 1,356
Reputation: 7,141

Post » Tue Jan 15, 2013 7:44 pm

never mind, i solved the little problem
B
22
S
3
G
6
Posts: 1,356
Reputation: 7,141

Post » Sat Feb 23, 2013 8:05 am

Sorry to bump bet I'd like to know how did you solve this? I'm trying to figure this out for my platformer game, it's a shooting enemy so he fires in a horizontal line but faces the direction of the player character, what did you do to solve this?
B
9
S
2
G
3
Posts: 176
Reputation: 1,954

Post » Tue Apr 30, 2013 11:49 am

what is "xX<-="yash022013-04-30 19:07:41
B
3
Posts: 30
Reputation: 660


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 1 guest