Animation - Mashing attack button (SOLVED)

In this block, add self.attacking = true.

Add self.attacking = false here in this block

Replace this by

if action.pressed and not self.attacking then 

Same for here.
This should do the trick. Just try and tell.

4 Likes

thank you so much, you really solved my problem. I really am appreciate your help. You are the best! :+1: :grinning:

2 Likes

I suggest that you really analyse the final code and try to understand every detail of it. Why did you have to add the things @TheKing0x9 suggested? What was wrong before? Try to understand these things and youā€™ll have a little more knowledge about programming game logic the next time you get stuck.

3 Likes

okay I am trying my best thank you

1 Like