Everything in this question, I worked well enough with cocos2d to say that it is a great library, but today I just want to use the particle system in a general UIKit project. Until I know, unfortunately, I have to implement it with OpenGL. Any suggestions?
You can use Core Animation and CAReplicatorLayer to create particle systems without having to expand to OpenGL ES. Joe Ricioppo " To 1e100f and Beyond with CAReplicatorLayer " gives an idea of how to use this class. In addition, Apple has its own ReplicatorDemo app , which I have ported to the iPad .
The Mac also has CAEmitterLayer , which has been available on iOS since 5.0. Examples of Apple apps for this include Fire , which shows the effects of fire and smoke, and Fireworks , which mimics fireworks.
UIKit-only Particle Playground (Mac App Store Link), , . PP Particle Designer, .
, CAEmitter (Layer/Cell), Ray Wenderlich Arg! . .
: Particle. --- PP .
, CAEmitterLayer iOS 5. .
, , . , Apple Fire iOS 5.
UIKit, . . ! iDevice, .
- : http://iapps.emirbytes.com/particlex/index.html
UIKit , QuartzCore. :
http://www.raywenderlich.com/6063/uikit-particle-systems-in-ios-5-tutorial
CAEmitterLayer
.
You should also consider the element emitter (http://particledesigner.71squared.com/), which was designed to be used as the cocos2d plugin.
Here's a tutorial: http://www.71squared.com/2009/05/iphone-game-programming-tutorial-8-particle-emitter/
Source: https://habr.com/ru/post/1787497/More articles:How to use "if X or X" in preg_match - phpЗаменить бар предварительного натяжения Flex на неопределенный счетчик? - flexLinq handles a variable OrderBy - c #Django, Nginx, a problem with FastCGI caching when changing code - djangoUIWebView on iOS - iosTTPhotoViewController: disable automatic gallery view - iosКак я могу программно определить, на какой платформе работает данный код? - c#In Linq2SQL, how do I get the record plus the previous and next sequence in one query? - performanceКак войти в систему после хэширования соли? <== СОЕДИНЕННАЯ ВЕРСИЯ # 2 ==> - phpAre there any events that occurred when the EJB application started? - javaAll Articles