Move with left and right. Jump with space. To jump diagonal you have to press left or right AFTER pressing space, not before.
This is my first game.