Cocos2d-X öw.µäᣠ****

Source: Internet
Author: User

Cocos2d-X öw.µäᣠ****

Cocos2d-x Ç çámámáç çáámámámámámímámímámámāmāmāmāmāmāmāzämāzâ ×è é» Ö ó ¡Î ********************************************************* zookeeper £;%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% äì Ø {§ £ *******************************************************


Please refer to below 1 £° 'then?

  CCSize winSize = CCDirector::sharedDirector()->getWinSize();    //ÑÌ»¨Ð§¹û    CCParticleFireworks* fw =  CCParticleFireworks::create();    addChild(fw);        fw->setPosition(ccp(winSize.width / 2, winSize.height / 2));

Ö'~~~antá then £°


Please refer to below

    CCSize winSize = CCDirector::sharedDirector()->getWinSize();        //ÑÌ»¨Ð§¹û   CCParticleSystemQuad* p = CCParticleFireworks::create();    addChild(p);    p->setPosition(winSize.width / 2, winSize.height / 2);


Ö'~~~antá then £°


Please refer to the following link for more information: (3) £° ')?

   CCSize winSize = CCDirector::sharedDirector()->getWinSize();      //ÐÇÔÆЧ¹ûCCParticleSystemQuad* p2 = CCParticleGalaxy::create();    addChild(p2);    p2->setPosition(ccp(winSize.width / 2, winSize.height / 2));


Ö'~~~antá then £°



Please refer to below for more than £° '¨ ò» ö öç ç Ç ç § ¹ û

 CCSize winSize = CCDirector::sharedDirector()->getWinSize(); //åçÐÇЧ¹ûCCParticleSystemQuad* p2 = CCParticleMeteor::create();    addChild(p2);    p2->setPosition(ccp(winSize.width / 2, winSize.height / 2));

Ö'~~~antá then £°


Please refer to the following link for more information:

 CCSize winSize = CCDirector::sharedDirector()->getWinSize();//ÏÊ»¨Ð§¹û    CCParticleSystemQuad* p2 = CCParticleFlower::create();    addChild(p2);    p2->setPosition(ccp(winSize.width / 2, winSize.height / 2));

Ö'~~~antá then £°


Please refer to the following link for more information: 6£° ''then?

 CCSize winSize = CCDirector::sharedDirector()->getWinSize(); //»ðÑæЧ¹ûCCParticleSystemQuad* p2 = CCParticleFire::create();    addChild(p2);    p2->setPosition(ccp(winSize.width / 2, winSize.height / 2));

Ö'~~~antá then £°


Please refer to the following link for more information: 7 £° 5?

 CCSize winSize = CCDirector::sharedDirector()->getWinSize();    //ÑÌ»¨Ð§¹ûCCParticleSystemQuad* p1 = CCParticleFireworks::create();    //ÐÇÔÆЧ¹ûCCParticleSystemQuad* p2 = CCParticleGalaxy::create();    //»ðÑæЧ¹ûCCParticleSystemQuad* p3 = CCParticleFire::create();    //åçÐÇЧ¹ûCCParticleSystemQuad* p4 = CCParticleMeteor::create();    //ÏÊ»¨Ð§¹û    CCParticleSystemQuad* p5 = CCParticleFlower::create();addChild(p1);addChild(p2);addChild(p3);addChild(p4);addChild(p5);    p1->setPosition(ccp(100, winSize.height / 2));p2->setPosition(ccp(200, winSize.height / 2));p3->setPosition(ccp(300, winSize.height / 2));p4->setPosition(ccp(400, winSize.height / 2));p5->setPosition(ccp(500, winSize.height / 2));

Ö'{{}§ {{£°


Please refer to the following example for more information:

    CCSize winSize = CCDirector::sharedDirector()->getWinSize();    CCParticleSystemQuad* p = CCParticleSystemQuad::create("Particles/Galaxy.plist");addChild(p);    p->setPosition(ccp(winSize.width / 2, winSize.height / 2));

Ö'~~~antá then £°


<Symbol · blank "http://www.bkjia.com/kf/ware/vc/" target = "_ blank" class = "keylink"> vcD4KPHA + Principal + 1xMGj19M8L3A + CjxwcmUgY2xhc3M9 "brush: java;"> CCLayer: init (); CCSize winSize = CCDirector: sharedDirector ()-> getWinSize (); CCParticleSystemQuad * p = CCParticleSystemQuad: create ("participant/Flower. plist "); addChild (p); p-> setPosition (ccp (100, winSize. height/2); CCMoveBy * by = CCMoveBy: create (4, ccp (winSize. width, 0); p-> runAction (CCRepeatForever: create (CCSequence: create (by, by-> reverse (), NULL )));


Ö'~~~antá then £°


Zookeeper



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.