Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Game development stories & opinions
Can I make this work?
"Animation 1" ? "Animation 2" : "Animation 1"
in an event to change animation.
it seems to work that if Animation 1, it will switch to 2, but not back to 1.
Sprite set animation to (Sprite.AnimationName="Animation 1" ? "Animation 2" : "Animation 1")
This should work. If it doesn't, there must be some problem with your code. Maybe this event is executed on every tick and animation constantly changes from 1 to 2 and back.
Develop games in your browser. Powerful, performant & highly capable.
Thanks I will try that out, I took a different route but this will be handy in the future