I am thinking of ways on how I could achieve an attack and health system. What I want is to have a character walk towards the nearest enemy or the enemy base, once it is within range, attack, than wait until it can attack again.
If it dies, it changes sprite, if it attacks, it changes sprite, if it idle, it changes sprite, if it is walking it changes sprite. Kind of a similar way to this game: https://www.youtube.com/watch?v=uKEFRRrfx3s
IMPORTANT NOTE: I am not asking for someone to do everything for me, I am just open to suggestions, SMALL bits of code, tutorials, etc. I do not want someone to use their time working on code for a stranger.
Thank you in advance!
(to make it clear I am not being lazy, I will be working too, tomorrow is my last day of school, and I will be working on Corona twice as hard)