a demo for cocos2dx