Simple game parkour by cocos2d-x js