I gave up effort on the knight WASD to move Left mouse button to attack Avoide the projectiles fired from the enemy and chip away the health little by little. The red line on the top is the enemy's health. The blue line on the bottom is your health.
Thanks to Pixel_sword for all the code, art and ideas