Quantcast
Channel: Pixi.js Latest Topics
Viewing all articles
Browse latest Browse all 3978

Canvas Renderer randomly performing bad

$
0
0

Sometimes when I start the game with Canvas Renderer, it performs really slow like max 5fps. renderer.render(stage) takes 500-700ms.

It happens only after refresh randomly, on the first time starting the game. If I reconnect to the server, it will restart game, destroy sprites and it will run fine then.

It doesn't happen if I don't have many players in the server and only happens with canvas renderer.

How could I approach this issue? Would be really great to get this solved, then I could use the Canvas fallback.

Chromes performance captures below (some items cropped out with little total times)

canvas renderer fps.png


Viewing all articles
Browse latest Browse all 3978

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>