Nice idea :) but there is a few thing you can do to make it better:
The hitbox need to be smaller than the obstacle seen by the player otherwise the collision can seem unfair
It's great to have different jump in different situation but you need to make an indicator for the player. It took me a while to understand it.
Keep up the good work ^^