icanzilb/UIEffectDesignerView
소개
QuartzCore 기반의 iOS 및 OS X 네이티브 파티클 시스템 효과 뷰
웹 및 앱 개발측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalUIEffectDesignerView
A native Particle Systems effect view for iOS and OSX powered by QuartzCore.
This is a companion Objective-C class to the UIEffectDesigner app.
UIEffectDesigner
You can download the UIEffectDesigner app from here and design visually your effects:

When you are happy with the effect click File/Save... and save the effect as [name_of_your_choice].ped.
Usage
To include a particle system effect in your iOS or OSX app is very easy.
Follow these 4 easy steps:
Add the .ped file to your Xcode project.
Add the QuartzCore.framework to your project.
Add to your project the UIEffectDesignerView folder from the UIEffectDesignerView repository (aka this repo you are looking at)
Show the effect on the screen:
For iOS add in your ViewController code:
#import "UIEffectDesignerView.h"
...
UIEffectDesignerView* effectView = [UIEffectDesignerView effectWithFile:@"[name_of_your_choice].ped"];
[self.view addSubview:effectView];
For OSX add to your AppDelegate code:
#import "UIEffectDesignerView.h"
...
UIEffectDesignerView* effectView = [UIEffectDesignerView effectWithFile:@"[name_of_your_choice].ped"];
[self.window.contentView addSubview: effectView];
That's it. You can work normally with the view - for example adjust its center property on iOS or change the frame, animate the effect around the screen, etc.
For a full walk-through on creating particle systems and displaying them in a UIKit game for the iPhone check out this 2 part tutorial series:
How to create particle system game effects with UIEffectDesigner Part 1 of 2
How to create particle system game effects with UIEffectDesigner Part 2 of 2
Samples
On the UIEffectDesigner page you can also download sample effects:



Go to UIEffectDesigner page with sample effect files for download.
관련 프로젝트 살펴보기
불러오는 중…