How do I Compare animation?

Get help using Construct 2

Post » Thu May 22, 2014 9:53 am

Hey guys,

I wanted to know if there was anyway i can compare the animation of sprite.
So, if user clicks on sprite, then if animation is 1, then do this but if animation is 2 then do that.
If not , suggest some other way.(basically, i am trying to get a switch to work.)

Thanks, Ashwin
B
15
S
3
G
1
Posts: 111
Reputation: 1,664

Post » Thu May 22, 2014 10:00 am

I do not understand that you can not get to.

Trying do with it.
You do not have the required permissions to view the files attached to this post.
B
13
S
3
G
2
Posts: 49
Reputation: 1,675

Post » Thu May 22, 2014 10:03 am

As vioz suggests, do it with the "is playing" condition of the sprite. You can also set an instance variable (eg. a boolean 'Switch' being either true or false).
B
20
S
5
G
4
Posts: 51
Reputation: 4,139


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 35 guests