Questions tagged [skemitternode]

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.

155 questions
0
votes
1 answer

SpriteKit SKEmitternode Targetnode modify the whole Node

Hi I'm makking a SpriteKit game, which based on EmitterNode objects. I've designed the start scene and put on some emitternodes. I also made them to move across the screen. Now I would like them to leave a "pattern" for a really small time. As I…
0
votes
1 answer

SpriteKit - Showing SKEmitterNode

How to show SKEmitterNode without parent node? I want my particles to stay at the static place, and emitter moves. But generated particles moving with parent node. [someNode addChild:SKEmitterNode]
rdshck
  • 592
  • 1
  • 5
  • 12
0
votes
1 answer

Xcode 5.0.2 - Attempted to add a SKNode which already has a parent:

I am attempting to add a particle effect in the touchesBegan method, so when the user touches the drawn sprite(SKSpriteNode), it draws the particle effect. However, I receive an error Attempted to add a SKNode which already has a parent:…
0
votes
2 answers

SKEmitterNode Particle's actual position after positionRange

End Goal: generate particles within an area (got that bit) that all accelerate to a point. If I knew the position of the particle, everything would be fine, but I generate the particles with a particleRange, meaning I don't know the exact location…
Jordan
  • 1,564
  • 2
  • 13
  • 32
-1
votes
1 answer

SKEmitterNode: How to start/stop rain at random time?

I added rain to my game as SKEmitterNode particle and I want it to be shown at random time. What kind of function should I use? Just in case, my code for rain: func startGame () { if let rain = SKEmitterNode(fileNamed: "rain.sks") { …
justice81
  • 31
  • 3
1 2 3
10
11