Search the Community
Showing results for tags 'phaser-debug'.
Found 2 results
Hey guys! I have had poor performance on older devices and cant reach beyond 30fps. I added Phaser-debug to my project to get some insight on where I need to start optimizing, but Im not sure I understand the numbers. Except for these numbers, everything was zero. preUpdate4ms - stage postUpdate1ms - stage5ms - plugins render4ms - renderer Even though thses numbers only add up to 14ms, the total displayed is 30-40ms of calculations. (I have no idea where the rest are displayed. Oh well. Except for the debug plugin, Im not using any plugins. What does stage mean? Where should I look to cut the display time based on these numbers?
I'm using RequireJS to organize my game structure and tried to add this debug plugin https://github.com/englercj/phaser-debug , but I don't know how to do it. I tried to add it directly on script tag, or using requirejs to load it, but both of them fail. Anyone can help?