I've figured how to do crouching (making the crouch animation frame half-sized).
But when im trying to stand up, if i still were to be in this small, cramped cave, i get stuck.
Ideas for how to detect when it is safe to stand up?
<img src="http://www.onlyhuman.dk/files/stuck-in-platformer.png" border="0" />