Click/Space to jump, X or click button to dash. Dashing/ Jumping use up energy. When you dash you can't be hurt.