A SKEmitterNode object is a node that automatically creates and renders small particle sprites. Particle sprites are privately owned by Sprite Kit—your game cannot access the generated sprites. For example, this means you cannot add physics shapes to particles. Emitter nodes are often used to create smoke, fire, sparks, and other particle effects. Available in iOS 7.0 and later.
Questions tagged [skemitternode]
155 questions
0
votes
0 answers
skemitternode not working on IOS9?
I am currently stuck in finding a solution on fixing SKEmitterNode in Objective-C and previously I did not have a problem at all in a older version of Xcode. The premise of the code performs a fruit ninja blade effect in which it use to have a thin…

NWBDevelopment
- 103
- 1
- 1
- 7
0
votes
1 answer
Assigning different emitters to different nodes that are randomized
I have basic emitter nodes working in my first app. I have created a Constants File that references all nodes throughout my game, and converts them to strings. Great for a mini data base. Its a basic Whack a Mole Game, except I have 12 different…

upallnight
- 89
- 12
0
votes
0 answers
SpriteKit Particle Emitter flickering
I have used SKEmitterNode to establish snow animation, and set an SKView to it, when using this SKView inside of a ViewController, for some reason the SKView is flickering it's background color to black, and back again to normal(set to…

Gil Polak
- 279
- 1
- 11
0
votes
1 answer
Crashing after 10 minutes of gameplay
The app is using an SKEmitterNode (please see my question about this below)
https://stackoverflow.com/questions/31991350/skemitternode-not-acting-consistently
The particles don't emit consistently. In the scene where the particles don't emit, about…

JGrn84
- 750
- 1
- 9
- 26
0
votes
0 answers
Swift - move rain emitter to front
How do I arrange the rain emitter to the front. When I run the project the rain shows up behind the different views I have in my storyboard. I want it to show up in the front.

jacob
- 129
- 2
- 17
0
votes
1 answer
SpriteKit: xScale makes SKEmitterNode invisible
I have a SKSpriteNode with a child which is a SKEmitterNode.
When the SKSpriteNode touches the right end of the screen I mirror the SKSpriteNode:
bird.xScale = -1
My problem is, that a negative scaling factor makes the SKEmitterNode invisible.

Jonas Ester
- 535
- 4
- 19
0
votes
1 answer
How to remove sprite node from screen after particle effect
func collisionHappened() {
let explosion = SKEmitterNode(fileNamed: "rocketExplosion")
rocket.addChild(explosion)
let sceneChange = gameOverScene(size: self.size)
sceneChange.scaleMode = scaleMode
let reveal =…

JGrn84
- 750
- 1
- 9
- 26
0
votes
1 answer
Any way to count the number of particles emitted by SKEmitterNode to enable coordinate tracking
So this is my situation.
I have emitters spawning from the top of the screen and travelling to the bottom of the screen and I'm trying to get a png image to follow them (for hit detection purposes)
The problem is that I need to have the PNG images…

James Callyway
- 55
- 5
0
votes
1 answer
Sprite Kit Particle Emitter Shape
How can a particle emitter be set to produce shapes (solid shapes/Core Graphics?), instead of texture images (png)?
In the documentation Manipulating the Particle Emitter, it looks like only a texture image can be set.

Clint
- 31
- 1
- 5
0
votes
0 answers
App crashes when back button is pressed
Problem:
My app crashes, everytime I press the "< chat" button (this only happens when I add the purple SKEmitterNode to GameScene.m).
Error:
Code:
1) From UIViewController present DrawDrawViewController (UIViewController):
DrawDrawViewController…

user1872384
- 6,886
- 11
- 61
- 103
0
votes
1 answer
specific positioning of SKEmitterNode from a class to main scene
Im creating an spark affect for a bomb that rotates and scrolls across the screen using SKEmitterNode. I've come to a sticking point as i can't correctly position the spark effect. I can get the SKEmitterNode and spriteNode to move across the screen…

Coxy
- 3
- 3
0
votes
1 answer
Draw fading line in SpriteKit?
Im trying to figure out if there is a better way to draw a fading line then the method that I am currently using.
Currently to draw a fading line that can be moved around the screen I am using SKEmitterNodes. The SkEmitterNodes however are…

Chris Brasino
- 296
- 2
- 14
0
votes
1 answer
how to add an explosion to my SKSpriteNode?
as the title indicates, i am trying to add a explosion particle emitter to my sprite that would take place in collision method. here is my code.
if ([heroBullet intersectsNode:enemy]) {
NSString *firePath2 = [[NSBundle mainBundle]…

Adrian P
- 6,479
- 4
- 38
- 55
0
votes
2 answers
SKEmmitterNode not Running after First Time
I have an effect created with the code below. I have wired up a button that will fire this as a test. On first press the effect works as intended. However, on all subsequent requests the effect is never displayed. I have determined, via…

C6Silver
- 3,127
- 2
- 21
- 49
0
votes
0 answers
SKEmitterNode settings not appearing
I created an sks file with the settings I want it to have, and when I call the method of adding the node onto the scene, the emitter particles don't look anything similar to what I set up. Any reason why?
-(SKEmitterNode…

Blank
- 113
- 9