开发者

Particle effects in a uiview

开发者 https://www.devze.com 2023-02-09 00:13 出处:网络
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

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?


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


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


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

0

精彩评论

暂无评论...
验证码 换一张
取 消