How can I have a white background and use SKEmitterNode in SpriteKit?
The emitter disappears if I set the background color of the SKScene. On the default black background I can see the red particles (when I comment out "backgroundColor = .white" in my SKScene). If I use a CAEmitterLayer then I can see the particles with a white background, but would like to use SKEmitterNode. I've spent a couple hours trying to find any reference to this problem.
Code is very simple -- adds child to SKScene
if let particles = SKEmitterNode(fileNamed: "Sparks.sks") {
particles.position = position
scene.addChild(particles)
}