2d shoot animation

I’m making a 2d game. I have done a shoot script that is working but the animation doesn’t work. I don’t know why, here I let you some screenshoots of my bp.

Hey there, when you press Z does it work?

If the flipbook is valid and is configured properly, check if the play rate is 1.0f.

Where is that UpdateAnimation event being called? If its being called every tick that will override whatever flipbook you set outside of that event.

No it still doesn’t work :C

I think the play rate is 1.0 but I don’t know how to check it if you could tell me :D. (I put a Set Play Rate to my bp and still didn’t work but I don’t know if this is correct) Also thank you for the feedback.

look now I changed the bp, I put the animation that I’m using for attacking on the jump animation bp that I made (to chek if the flipbook was working fine) it’s working and it’s playing the animation so it has to be a problem with the attack script animation :C.

but the attack still doesn’t work :C

I would say to try to set it up with key events. If the issue is fixed please mark the answer as correct and if you’ve found my answers helpful upvote them :slight_smile:

okey so what should I do I should modify the event or I should try to pu the attack animation into the event? Let me try some I will tell you. Thanks you :smiley:

Yo, Thanks it’s working now! the error was on the event then there was another error on attacking animation (I didn’t set attack to true) but i still have a question. If you look at the script only when jumping is false ther character do the animation so that’s a problem for me. Should I delete this event and work with key events? Like z event for attack and spacebar event for jumping? Thank you so much for the feedback I’m quite new on blueprints so it’s being hard for me.

yop tomorrow I will try to do it with key events thank you so much! :smiley: