Question

I'm in need of particle animation in my UIView-based 2D game. At present I'm using an array of images for particle animations. This makes my app size increase, and sometimes leads to memory leaks. Is there is any way to make particle animations using Core Animation?

Was it helpful?

Solution

cocos2d (see http://cocos2d-iphone.org/) is a framework for developing 2d games for iPhone. The source code for many examples include some particle animation demo's.

OTHER TIPS

There are some nice examples how to do this in the Apress book "Advanced iPhone programming". I have no interest in the book (financially) - but they go into this pretty well. You can get a used copy for $20 or so.

I would recommend Particle Designer (http://particledesigner.71squared.com/) which has a nice Objective-C sample application if you want to use their PEX files stand-alone OR you can export PLIST files that work in combination with the COCOOS2D framework (http://www.cocos2d.org/).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top