demo for learn cocos2dx