How do I play animation when turret is turning

Get help using Construct 2

Post » Fri Aug 14, 2015 8:10 am

I have a turret defense kind of game where the enemy is a soldier. So i put turret behavior on it.
It worked as i expected, the soldier turns when it has the player within it's range.

But then, I also want to play certain animation every time the soldier turns it's angle toward the player so it can look more natural.

How do I detect this turret turning event and how do i play an animation during this event?
B
3
Posts: 5
Reputation: 179

Post » Fri Aug 14, 2015 9:03 am

You could check if the angle of your soldier is changing:

Image
B
15
S
6
Posts: 105
Reputation: 1,356

Post » Fri Aug 14, 2015 11:10 am

I really enjoy Defensis Tower games. In your case you have a very basic setup that works perfectly.
B
32
S
9
G
3
Posts: 280
Reputation: 4,262

Post » Fri Aug 14, 2015 11:10 am

All right, it was good?
B
32
S
9
G
3
Posts: 280
Reputation: 4,262


Return to How do I....?

Who is online

Users browsing this forum: littlesaigon2 and 9 guests