Posts

Post not yet marked as solved
0 Replies
179 Views
Hi, I have a problem with the SKEmitterNode. When I put my game in pause, the emitter goes correctly on pause and stop going. But when my game goes in background (handled with the observer on UIApplication.willResignActiveNotification), and then I reopen it, the emitter is still there until I play the game. The code that is performed when the game enter in pause is the same (due to I use a state machine to handle it). When the game is paused, I set my emitter.isPaused to true and its speed to 0.
Posted
by giuliouz.
Last updated
.
Post not yet marked as solved
0 Replies
313 Views
Hi everyone,I have a spritekit scene with some emitters. When the scene is paused, the emitters go in pause. But when the app goes in background and the method@objc func appMovedToBackground()is triggered and the same code gets executed, only the emitters don't go in pause but they continue to disappear.How can I stop the emitters also in this case?Thank you for the help
Posted
by giuliouz.
Last updated
.