UIEffectDesigner 粒子效果

http://www.touch-code-magazine.com/uieffectdesigner/
UIEffectDesigner  0.1 beta
A lightweight Particle System Designer using QuartzCore

Design visually particle effects and save the effects as files.

Open effects, edit them any time, show particle systems in your iPhone or OSX apps with 2 lines of code. 

 

For a video tutorial on how to design particle effects check this article.
Usage
Fire up UIEffectDesigner and model your desired effect by adjusting the controls in the control window.

When you are happy with the effect click File/Save... and save the effect as [name_of_your_choice].ped.

Follow these 4 easy steps:

1) Add the .ped file to your Xcode project. 

2) Add the QuartzCore.framework to your project.

3) Add to your project the UIEffectDesignerView class -  download from here

4) Show the effect on the screen:

For iOS add in your ViewController code:
UIEffectDesignerView* effectView = [UIEffectDesignerView effectWithFile:@"[name_of_your_choice].ped"];
[self.view addSubview:effectView];
For OSX add to your AppDelegate code:
UIEffectDesignerView* effectView = [UIEffectDesignerView effectWithFile:@"[name_of_your_choice].ped"];
[self.window.contentView addSubview: effectView];


Complete example of using the  UIEffectDesignerView for iOS and OSX you can find on GitHub  here.
Feel free to send me feedback  from this page
Sample effects
Sample particle images
The image previews are scaled up for your convenience. Feel free to download and use in your effects.

 

Bubble

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值