Good start. The dragon hit box is a bit too big. if you look up a lot shoot em ups use smaller hitboxes for players. I would lose hp just by my wings flap up, so only saw lvl 2.
The hit box is actually only the body of the dragon - any time you saw sparks but the game didn't end was just a signifier of near miss. The hit box of the dragon is quite small. Thanks for the comment, I should have made that more obvious.