Jump to content

How to detect when Phaser won't work on a browser?


toto88x
 Share

Recommended Posts

Hi,

 

Phaser does not wok on all browser versions, especially the old ones.

Is there an easy way to detect when Phaser won't work on a browser? This way I can display a message like "To play this game, you need to have a more recent browser"?

 

Thanks for your help!

 

Link to comment
Share on other sites

Probably not the best, but in your 'game div' you might try adding your "Please upgrade to a newer browser version" message. That way when browser doesn't have canvas support, the message appears, but if it canvas is supported, the message is overwritten by phaser.

 

I made a few test, and it doesn't seem to work. Any other idea?

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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