I need to load resources dynamically, but can’t get new resources to function correctly without preloading them. is there a way around this?
you can’t get size or any file property before preload or loaded.I think you can use cc.TextureCache.getInstance().addImageAsync to load image dynamic.maybe the better way is to preload some assets between cc.Scene
loading assets during gameplay significantly reduces the frame rate and causes unexpected spikes.
the best way is to preload between scenes, which we already support now