How do i "limit" my slash speed. Not actually speed but number of slashes.
My problem is that every time i click my character attacks. Of course it wouldnt be a problem if he didnt attack every time i clicked.
So how do I make that attack animation must finish before I can attack again?
Thanks in advance.
Develop games in your browser. Powerful, performant & highly capable.
when you click to attack add a condition to your event, to check if it's not already running the attack animation
X(inverted) Animation is playing "attacking"
and add another event:
On animation "attack" finished > change to some other animation