Particle effects in a uiview

1.1k Views Asked by At

I'd like to write/use particle effects in a uiview so I'm thinking of writing a simple one using quartz. It'd be strictly 2d. Am I shooting myself in the foot by not using gl, or are there othet projects or solutions out there that wrap particle systems nicely in a uiview?

3

There are 3 best solutions below

0
On

You can add Cocos2d view on the top of all Views, then run cocos2d particle. Check my demo here: https://github.com/lephukhanhhuy/KHParticleView

1
On

From iOS 5, you can use the UIKit Particle System to achieve what you want. Here's a tutorial on that: http://www.raywenderlich.com/6063/uikit-particle-systems-in-ios-5-tutorial

0
On

Cocos2d for iPhone has some really neat particle effects. Maybe check there? It can run on the Mac too iirc.