0

I have a cocos2 project I'm working on and I'm wondering if there is a way to adjust a variable in my particle system .plist file in real time. i.e. adjust the x gravity to correlate with the speed of the player etc. I'm using particle designer to make the files initially.

Any suggestions or direction would be greatly appreciated.

1 Answer 1

1

After you initialize the particle from the file, just modify it's properties like you would to any other particle.

Open the particles header file (CCParticle.h, probably) to see what properties it has and what you can modify.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.