CCSprite* sprite = CCSprite::create("CloseNormal.png");

sprite->setPosition(ccp(50, 50));

this->addChild(sprite);

CCLabelTTF* ttf = CCLabelTTF::create("徐西宏", "Arial", 40);

ttf->setPosition(ccp(70, 70));

this->addChild(ttf);

CCLabelTTF* mttf = CCLabelTTF::create("start game ", "Arial", 50);

CCMenuItemLabel* lbl = CCMenuItemLabel::create(mttf, this,menu_selector(HelloWorld::xxhong));

lbl->setPosition(ccp(50  , 100));

CCMenuItemImage* img = CCMenuItemImage::create("CloseNormal.png", "CloseSelected.png", this, menu_selector(HelloWorld::xxhong));

img->setPosition(ccp(200, 200));

CCMenu* menu = CCMenu::create(lbl,img,NULL);

menu->setPosition(ccp(0, 0));

this->addChild(menu);

05-11 18:17