I'm making a small platform game like Wonderboy, and I have run into a bit of a problem.
How can I make an enemy execute an attack, wait 1 second, and then attack again? I've tried various things, but either the
enemy just keeps attacking over and over, or stops attacking entirely.
I have now tried to tie the attack time to the animation, but it does not seem to work. (it's the red circled bit in the image)
Anyway, thanks in advance!