I've been looking for this answer on the forum and just can't find it.
I have a 4-direction character (up, down, left, right) and I'm controlling their animation based on the angle of motion.
However, I also need the attack, hit, etc animations the play based on the direction.
How do you trigger the animation based on direction without a wait condition?
there is a function (event) called "On Animation Finished", which will trigger an action once the current animation ends. i believe that's what you're looking for.
Develop games in your browser. Powerful, performant & highly capable.
I gave it a try, however it doesn't allow for ongoing animations.
Right now I'm using angles to determine the animation.
I solved it but it cost me 35 events.
Here is the .capx
https://www.dropbox.com/s/k3bjn3yzk88um ... .capx?dl=0