Up or space key to jump over spikes. If you restart a level and the character is not a dragon head, just click the See inside button, go into the Player sprite and select geometry-01.
Huge thanks to @griffpatch for being the original maker of this game. Enjoy!