Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

devQ

macrumors newbie
Original poster
Aug 11, 2014
12
0
Hello,


I was wondering if someone could help me with following problem. I want to create something like this http://www.shutterstock.com/video/clip-4668353-stock-footage-flickering-particles-loop-blue.html but only 2 options crossed my mind:

1. with sprite kit it's probably impossible. If there is too many particles, frame rate is killed, and if there's too few it doesn't look good. Another problem is that I want to scale up and then scale down particles, but particle editor offers only one direction at a time.

2. with video it is possible but I don't know if it's a good idea. Also don't know which resolution to choose for both iPhone and iPad, which format and size. It can drain battery quickly probably and use too much space.


Every advice is appreciated and I would love to hear some suggestions.
Thanks.
 

rjain

macrumors newbie
Aug 4, 2014
5
0
RE: Sprite Kit particles or video

You might like to user SKEmitterNode.

Check out this video:

 
Last edited by a moderator:

devQ

macrumors newbie
Original poster
Aug 11, 2014
12
0
Yeah, that's how I did it. But it won't work. I'm probably going to use video or simplify particles with editor.
 

devQ

macrumors newbie
Original poster
Aug 11, 2014
12
0
Sure. Using SKEmitterNode is probably best (and proper ) way to do it, but since I use too many particles and movement, frame rate is low and everything is choppy. With firefly particles only, it works fine, but adding smoke to whole screen kills everything.
 

chrono1081

macrumors G3
Jan 26, 2008
8,456
4,164
Isla Nublar
Sure. Using SKEmitterNode is probably best (and proper ) way to do it, but since I use too many particles and movement, frame rate is low and everything is choppy. With firefly particles only, it works fine, but adding smoke to whole screen kills everything.

Are you trying this on an actual device or just the simulator?
 

devQ

macrumors newbie
Original poster
Aug 11, 2014
12
0
At that time it was simulator :) I even managed to freeze my mac in one iteration. :D

I decided to use video at the end.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.