I want to move like Morton the monkey

I want to move like a mobile style like @grazer s morton the monkey but I cant do it for some reason
Pls help me out!
Game link: https://flowlab.io/game/play/1448523

I actually havent played it can you give em link to morton the monkey

https://flowlab.io/game/play/859

I actually kinda make it move like Morton the monkey but now sometime my character just dont move and the screen just shakes like crazy! So if @grazer you could find the error then pls tell me!!