Jump to content

Phaser speed good Chrome and firefox but bad in IE


andreaszdw
 Share

Recommended Posts

You might be experiencing errors.  Are you able to debug and view the console while running IE?  IE, though much improved beginning with around version 9, still has many support issues with what is otherwise "standard" JavaScript/CSS.   Out of interest, you might try running in the new Microsoft Edge browser which has pretty good compliance.  You'll need Windows 10 do to that though.

Link to comment
Share on other sites

If it helps you any I tested your game and...

 

I get 60 in chrome.

17 in Firefox but still playable.

10 in IE11 with a lot of glitches.

Didn't run at all in Safari.

60 in Opera.

 

All under Windows 10.

 

EDIT: I just tried your game in Edge and a strange thing happened. The game was running at 43 fps but was visibly sluggish, then suddenly the frame rate dropped to 15 but the sluggishness disappeared and the game was running as fast as it ran in Chrome at 60.

 

So mwatt's probably right. It looks like you've got a bug in your code somewhere.

Link to comment
Share on other sites

i would suggest try WEBGL and CANVAS instead of AUTO and see if any of those make a difference.. you might find for instance Chrome/Firefox using WEBGL and IE using CANVAS. maybe your game doesn't run well in CANVAS so check that in Chrome etc.

 

re: Safari.. it gives an error in phaser.js phaser.js:41562

TypeError: setting a property that has only a getter

 

you should add an issue in the phaser github maybe

 

 

also your console.logs & errors probably slow things down. check your console warnings.

 

I just checked. IE = CANVAS, Chrome = WEBGL

 

possibly you also have GPU-accelerated WEBGL in chrome etc?

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...