phaserjs / phaser-ce

Phaser CE is a fun, free and fast 2D game framework for making HTML5 games for desktop and mobile web browsers, supporting Canvas and WebGL rendering.

Home Page:http://phaser.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bad performance in webGL version 2.15+

drfrankius opened this issue · comments

  • Phaser version(s): Phaser CE 2.15 - 2.16.1
    Our game is using Phaser CE 2.14.0 right now with WEB GL enabled and the renderer set to high performance. On the project I am working on we have noticed a substantial drop in performance with releases since 2.15 as much as 50% or more on some devices. Switching back to 2.14.0 corrects the performance issue. Is there something that has changed in recent updates that could effect this?

This is the configuration being used for the renderer.

const config = {
width: 640,
height: 960,
renderer: Phaser.AUTO,
transparent: false,
enableDebug: true,
powerPreference: 'high-performance',
};

commented

Likely that's the #356 / #644 problem.

It seems like that is what was fixed in 2.15 though? that is the version where we started having issues with slowdowns.
We do not explicitly set multi-texture batch priorities as well.

commented

#641 improved performance but broke some multitexture batching.

#656 fixed batching but probably reintroduced some performance problems.

Since we don't have a complete fix you might stick to v2.14.0 if that's feasible.

Ok, thanks for clarifying and the quick replies. I already forked 2.14.0 to pull in fixes for some ios input issues fixed in newer releases. So for now we are good I guess.