问题描述:

Development environment:

xcode 6.3

cocos2d-x 3.5

Particle Designer 2

I've create a particle in PD2, and save the project named as StarOcean.pdproject.

Following is the code:

auto p_StarOcean = ParticleSystemQuad::create("StarOcean.pdproject");

p_StarOcean->setPosition(size.width/2, size.height/2);

this->addChild(p_StarOcean);

Xcode can compile and run it in my iPhone, but I see nothing in the screen.

From the book, it told me that the file created by PD2 should with *.plist naming format, but what I created is *.pdproject format.

Any body could help to solve the problem?

相关阅读:
Top