Hi, When animated character is defeated, I would like to play "defeat animation" only. What happens instead is, that last frame (or loop of frames if I keep holding movement key upon defeat) remains there, which causes a "duplicated" character as seen in attachment. How to prevent this? Thanks
check the number of frames in the animation. You might have too many. Also check that it is not stuck on loop, unless you want it to
Only 10 frames. It is on loop, but it's on purpose. I've tried many things, none of them is working... It's weird because I don't see many people having the same issue
You are Removing the character after the animation ends right? Or does your defeated character stay on the screen as defeated?
that means defeated node receives many signals, so try this disable defeated output when just one come out disable movement if it is unnecessary this is how to disable output replace defeated node script with this below let enabled = true; function signal(name, value) { if (value && enabled) { enabled = false; this.emitSignal('Defeat', true); } }
Thank you for your answer and your willingness, but it still doesn't work... How do you disable movements ?
you should disable movement animations to get it worked by editing on platformer node can you share bbdoc file and I will do it ?