To freeze vertical motion you need to press the comma, " , " which is just above the command key. It stops you from moving up and down so you get over the spikes. Thanks for playing my game.
Sorry for misreading! I'm so stupid