When looking to preload assets, images, audio, SKTextures etc. within a Sprite Kit game is it enough to preload to a strong iVar so that the assets are cached by iOS for the future and then just letting the game pull them from the cache behind the scenes. Or ... is it best to load the assets to strong iVars in a singleton that can be directly accessed anywhere within the game?
I'm not sure if/how SpriteKit caches the resources behind the scenes, but the Apple Adventure example game preloads assets to static variables. So I'd probably follow their lead.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With