Platformer physics with cocos2d-x with a tilemap.