Some cocos2dx sample code