Nice little game. Be sure to limit the attack, right now it's a click spam. When you write code to chase a player, the end point should be where the enemy can hit the player. Right now it looks like they want to be at the players position, which causes them to run under you when you jump.
Viewing post in Kingdom Runners jam comments
Actually it does not try to be at the player position, it has a battle range float that measures the difference on the x axis from the enemy to the player but the float is really small, I fixed a lot of problems with the game but since I already submitted the game I cant upload a new file. Thanks a lot for the feedback :D