Pausing SKView right after laying out nodes
Clash Royale CLAN TAG#URR8PPP
Pausing SKView right after laying out nodes
I have an SKScene (Y) that is being presented by another SKScene (X). I have written the gameplay code inside the didMove(to:)
method of (Y), so the game instantly starts after laying out its nodes. However, if I pause the scene within the didMove(to:)
method, then it never actually shows up. What is the best practice to follow in case I want to pause my scene right after displaying everything required for gameplay?
didMove(to:)
didMove(to:)
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.