I'm making a game in Swift using SpriteKit that has a background (landscape) and some objects on it. All of these are created as SKSpriteNodes and are added using addChild.
I also add cropping nodes (again using addChild) to be used for some purposes.
In total there are 23 nodes being loaded. In the profiler, it says my memory usage is 238MB.
I wanted to ask if this is a lot (I suspect it is) and then ask what I can do to reduce this and what I should be looking at?
My SKSpriteNodes are all about 375-400kb (per each node at 3x) and a resolution @3x of about 300-600 x 300-600 range (width/height ranges depending upon the object).
Am I doing something wrong here? Are these images too big? Are they not optimized enough?
Thanks so much in advance for any insight/pushes in the right direction.