So this is pretty good so far, did you make the assets yourself? Also you could probably add a stopping animation by checking momentum direction and changing sprite or something along those lines depending on how you did the code.
Why do you attack twice? If you want a double attack maybe you could make it like links smash attack in smash bros where you have to press it twice, but the second attack is different.
A run might be nice. Like holding shift would make you run faster. Also why is attack E? Just feels a bit odd.
Overall though I like it. It doesn't feel terrible to play and it looks good even if the assets were bought or free.