With the core movement options done, I decided to move on and extend what was already there with non-essential but still useful skills. The first I added was grabbing ledges.
As you might wonder, in a game that is primarily focused on jumping, many of those jumps might not land exactly where the player wants. Or even worse, they might just not be able to jump high enough to reach their objective. Because of this, the ability to grab a ledge and hoist yourself up is extremely useful.
The script for this is quite complex, but not very interesting. Essentially the character checks if there are any walls in front of him while jumping, if there are, he checks if there are any ledges that he can reach. If all of that is true he proceeds to grab on. Once he is grabbed, he can just jump up and reach the platform.