I have an iOS SpriteKit game that has a moving node. When you press the pause button, a line is called node.isPaused = true. But if you press pause, then minimize the application and restart it, node will return to moving, even in the transparent Pause menu.
I tried the sentence from the following answer: Answer1 . But even if I call the scene method pauseGamein any state, the function is called, but node is restarted even in the pause menu.
I also tried to answer: Answer2 . But CBApplicationDidBecomeActive()not even called out.
And I even tried using scene?.view?.isPaused = truelink 1 in the methods, but it does not work.
Please, help.
I know that there are many similar questions, but none of them seem to help to decide what I have. (and even, the question from the second link did not even receive the accepted answer)
source
share