how to create a particle system on iphone and retain the created particles?
Posted
by lukya
on Stack Overflow
See other posts from Stack Overflow
or by lukya
Published on 2010-05-26T13:00:20Z
Indexed on
2010/05/26
13:01 UTC
Read the original article
Hit count: 308
Hi all,
I need to create a particle system and retain the created particles. I need to shake / move the created particles with the iphone accelerometer. Also, the number of particles needs to be very high (I need to show sand!).
I do not have any OpenGLES programming experience.
After initial search, I found Cocos2D can be used for particle generation. But there is no way of retaining the particles in the CCParticle system. As a work around, I tried creating many sprites at the end of particle generation and shown them as particles. But moving few number of sprites with accelerometer drops the frame rate considerably.
Please suggest how this can be achieved and whether I should look for some other framework or if some kind of similar demo code is available.
Thanks, Swapnil
© Stack Overflow or respective owner