This makes a pretty good concept for a game! But in practice it falls a bit flat. I only have two problems with this. 1 is that you can't string jumps together, which I assume is because your checking when w or space is initially pressed if the player is touching the floor and not if the player is touching the floor and w or space is pressed. 2 is that when ledge grabbing (I assume it's ledge grabbing) you can't go down, only up or to the left or right. But pretty good game otherwise.