I'm using Texture Packer to create sprite sheets for all of my game image resources. I end up using a multipack of 5 sheets with a max of 2048x2048. I have a good amount of sprites being loaded into various containers, sprites, tilingsprites, etc. Should I be creating these sprite sheets more intelligently based off of what container they are going to be loaded on?
I feel like i'm doing something fundamentally wrong because my performance doesn't seem to be the greatest. I stripped my game down to only load 6 sprites to try to get to the root cause of the problem. I even split up my sprite sheets to individual containers. So container 'A' uses images from sprite sheet 'A' while container 'B' uses images from sprite sheet 'B'.
Even with these very minimal graphics being loaded my CPU usage skyrockets and my computer fan goes wild. It just seems like the computer is working extremely hard to only show 6 sprites. I don't notice that when I try the demos/examples from the pixijs website.
I'm really not sure what I'm doing wrong. Are my images too large? I have a few that are about 1440x900 pixels. The images all get compressed so the size isn't too large but do large dimension sprites slow things down? I'd show some code but my code base is quite large. I've tried this out on canvas and webgl. Webgl performce better but I get the same cpu spikes for both.