A waiting behind B until A moves again?

Get help using Construct 2

Post » Fri Jul 17, 2015 8:36 pm

Good Point.
I didn't thought about that.

In this case it would be more useful, if all Enemys just look at the right but don't move.
B
9
S
1
Posts: 50
Reputation: 650

Post » Sat Jul 18, 2015 2:08 am

You mean that once your character passes your enemy, they don't move but just turn and face your character?

If that's the case than the previous solution I mentioned, using containers and collision should work fine. Just add another condition that it will run only if character.x < enemy.x. As for facing the character, use another comparison, if character.x > enemy.x , set the enemy angle to be facing left, and if character.x < enemy.x, set the enemy angle to face right.
B
46
S
23
G
31
Posts: 693
Reputation: 20,637

Post » Sat Jul 18, 2015 3:34 pm

Okay, it works with the Platformer behavior.

Thanks for your help!

[Solved]
B
9
S
1
Posts: 50
Reputation: 650

Previous

Return to How do I....?

Who is online

Users browsing this forum: Bobbyneal100, Kin, mickclarke, sean080, tinhofiel, TRMG and 38 guests