Side scroller jumping

Well ive spend a good day and a half tinkering about with my code and tried creating a side scroller similar to the one from the kirupa tutorial. Well trying to put it into 2.0 didn’t work great so i re-wrote it to what i need. Could somebody please show me where im going wrong here.