Hello, html5 freaks
I trying to make idle game using pixijs, but when I put animated sprite that is 1024x512 in size it freeze game short time. From profiler I saw that texImage2d took 180ms and from that 104ms was imageDecode. I read somewhere to preload the animations before hand and just make them visible when needed, but it didn't work and same texImage2d happend. How I can prevent that other than downscaling the sprite?
Also is there possibility to do that in webworker? I read somewhere that pixi is starting to be capable of rendering on webworker.
Cheers,
Jakub