Example2 of my cocos2d-x project learning