This is a very good game, but I did find a bug where if you make it to the frame where the player reaches 0 hp, you just... get game over? And you get blamed for it, even though it's the player's fault. Maybe after the jam, you could make it so that maybe you press a key to make the player game over for having 0 hp, and then have to make the sprites restart once the player hits restart. Either that, or the game over screen automatically appears once you set hp to 0.
Also, the player inputs seem to be random, which is weird presumably that those inputs come from a player. And one more thing, sometimes the enemies spawn right on top of the player, which seems really unfair to player playing the game.
Otherwise, I like the game very much. Good job.