Chapter5 of Parkour with cocos2d-html5 game