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
1
vote
0 answers
disable touch on Child SKEmitterNode
i create a SKSpriteNode with an Emitter as Child
onObject: SKSpriteNode! = SPSpriteNode(texture: ballTexture)
onObject.physicsBody = SKPhysicsBody(circleOfRadius: (ballSize / 2) * 0.99)
onObject.physicsBody?.affectedByGravity = true
…

Sjero Markus
- 111
- 8
1
vote
0 answers
How to add `SKEmitterNode` on `CGMutablePath` in Swift 4?
I have a spaceship that is flying on an ellipse track. See code below.
I would like to add SKEmitterNodes as 'gas emissions' on the track. How can I add SKEmitterNode on location at path after the ship has passed?
let shipSprite =…

user594883
- 1,329
- 2
- 17
- 36
1
vote
0 answers
SKEmitterNode re-trigger particles
In the rhythm app I'm creating, I've set up a single particle emitter for each key that's played correctly.
Here's the code that triggers this:
-(void) enableEmitterForNoteValue:(int)noteValue WithPercentage:(double)percentage {
int index =…

02fentym
- 1,762
- 2
- 16
- 29
1
vote
2 answers
SKEmitterNode: modify properties like velocity and angle for individual particles?
The SKEmitterNode in SpriteKit lets you change particle properties, but it's not clear how you change properties for specific particles.
For instance, if we want particles to radiate in a circle shape, it seems we need to dictate the angle and speed…

Crashalot
- 33,605
- 61
- 269
- 439
1
vote
0 answers
How to remove SKEmitterNode and keep FPS up?
I have a person that remains on screen until he dies. As the person moves blocks comes off of him and fadeout into the air using an SKEmitterNode. The longer I play the lower the FPS get and my game starts to run slow, usually around 1000 nodes it…

Timmy Sorensen
- 570
- 6
- 16
1
vote
2 answers
Controlling SKEmitterNode "area" size?
I am in the process of learning SpriteKit, in particular how to apply an SKEmitterNode effect to an existing SKSpriteNode.
I played around in the particle editor and made a simple "rain" particle. I then connected that to an existing sprite in my…

bitops
- 4,022
- 3
- 26
- 31
1
vote
1 answer
SKAction Updating Last Instantiated Sprite Only
teaching myself spritekit while recouping from back surgery. Any help or instruction you may provide is greatly appreciated.
I have a function that adds a "monster" sprite with a child SKEmitter. I would like to update this emitter to "turn on" and…

Undead-Earth .com
- 71
- 9
1
vote
0 answers
Swift : Animate SKEmitterNode
I am trying to create an explosion effect using SKEmitterNode, I followed some of this tutorial (http://www.waveworks.de/kill-your-characters-animating-explosions-with-skanimations-in-sprite-kit/), but it didn't seem to work. Here is what i…

OriginalAlchemist
- 391
- 1
- 7
- 28
1
vote
2 answers
SKEmitterNode not showing particle
I wonder what's wrong with my code, it doesnt show the particles correctly.
and here's the expected particle
implementation
physicsWorld.contactDelegate = self
self.scene?.backgroundColor = UIColor.blackColor()
self.scene?.size =…

phenomenon09
- 65
- 1
- 3
- 9
1
vote
0 answers
How to detect when SKEmitterNode has emitted all the particles in Sprite Kit?
It's possible to limit the number of particles emitted in a SKEmitterNode by setting numParticlesToEmit to, for example, 100. How do I detect when the SKEmitterNode has emitted all the particles?

Markus Rautopuro
- 7,997
- 6
- 47
- 60
1
vote
2 answers
How to make child nodes ineffective to parent nodes rotation?
I am trying to add SKEmitterNode to the ball SKSpriteNode as a child.But also at the same time, I am rotating my ball node. But the problem is, the rotation of the ball node causes the emitter node to rotate (as the emitter node is child to ball…

Teja Nandamuri
- 11,045
- 6
- 57
- 109
1
vote
1 answer
SKEmitterNode targetNode path following is inverted
I created an SKEmitterNoder (standard Fire.sks template) & added it to an SKSpriteNode called ball. The thing is, I followed a tutorial of iOS Games by Tutorials & the way they taught me to create Tiled maps, is essentially flip them upon init so…

Krekin
- 1,516
- 1
- 13
- 24
1
vote
1 answer
Touch through particle Layer
I have a very simple particle setup where a rain particle layer is on top of my whole SKScene. Now, i just want to touch my buttons and objects underneath that layer. How can i achieve this by still keeping this layer on the highest zPosition. (code…

keptn
- 89
- 8
1
vote
0 answers
Particle Effect Stopped When Its Parent Node Being Re-added To The Scene
I attached a SKEmitterNode to a SKSpriteNode. At the beginning, everything was fine. But after changing the parent node of the sprite node, particle effects stopped for some reason.
To attach the emitter node to the sprite node, in the sprite node…

Elias Ma
- 106
- 4
1
vote
1 answer
iOs9 Swift spritekit,SKEmitterNode fatal error: "unexpectedly found nil while unwrapping an Optional value "
working on this code for few hours without success,please advice:
i am building an ios 9 spritekit game.this method:
func createFiringParticles(location:CGPoint, force:CGVector){
let fireEmitter = SKEmitterNode(fileNamed: "FireParticles")
…

ohad
- 127
- 2
- 6