So I am a bit stuck with my combat system. I have a few ideas but i dont know which is the best way to do it.
Combat is simple its melee. Player has a sword and on click he swings it.
I have 2 attack animations, one is a swing up, and then down. How do I make that when i spam my attack button that the animations repeat themselves (up,down.up,down...)
And how do I damage enemies. I have made a health system but do i create sprite which collides with enemies and then damages them or is there a better way?
This is what I have in mind.
Thanks in advance.