cocos2dx 2.2 starter code