O'Reilly logo

Learning Cocos2D: A Hands-On Guide to Building iOS Games with Cocos2D, Box2D, and Chipmunk by Ray Wenderlich, Rod Strougo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

14. Particle Systems: Creating Fire, Snow, Ice, and More

In the previous chapters you learned about the Box2D and Chipmunk physics engines and how to incorporate them into Space Viking and your games. In this chapter you will learn about particle systems and how easily you can add realistic fire, smoke, snow, rain, and other effects to your games. Particle system is just a name for a technique to generate certain graphical effects, such as explosions, flames, and of course fire, smoke, or even rain. Instead of trying to model those effects, a large set of tiny images, or particles, is used to fool the player into seeing the desired effect.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required