space for jump (hold for double jump) Left and right keys for movement.
most codes was made from griffpatch's tutorial