How do I change animation based on tap

Just started using Construct 2? Post your questions here

Post » Wed Sep 09, 2015 7:35 pm

once the player changes an animation it does not change back. I want to make it so on tap sets animation to "1" and when I tap a second time it should set animation to "0" and vice versa
B
4
Posts: 5
Reputation: 212

Post » Thu Sep 10, 2015 9:34 am

This should work:

touch On Tap object Player
... Player is animation "Animation1" playing -> Player Set animation to "Animation2"
... System else -> Player Set animation to "Animation1"

(... means Sub-Event to touch on tap)
B
24
S
3
G
1
Posts: 454
Reputation: 2,171


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 3 guests