Nikow 8 Report post Posted August 27, 2015 Hi,How could i know if my canvas is on webgl or canvas render mode ? Thanks ! Quote Share this post Link to post Share on other sites
stupot 46 Report post Posted August 27, 2015 Test game.renderType, it will be equal to one of these: Phaser.HEADLESS Phaser.CANVAS Phaser.AUTO Phaser.WEBGL 1 Nikow reacted to this Quote Share this post Link to post Share on other sites
tips4design 103 Report post Posted August 27, 2015 Open the JavaScript console and it will say something like this: Phaser v2.4.3-RC1 | Pixi.js v2.2.8 | Canvas | WebAudio Quote Share this post Link to post Share on other sites
Nikow 8 Report post Posted August 27, 2015 Open the JavaScript console and it will say something like this: Phaser v2.4.3-RC1 | Pixi.js v2.2.8 | Canvas | WebAudio Yes... I saw.... I need to keep it in the code... Quote Share this post Link to post Share on other sites
Nikow 8 Report post Posted August 27, 2015 Test game.renderType, it will be equal to one of these: Phaser.HEADLESS Phaser.CANVAS Phaser.AUTO Phaser.WEBGLIt's return 1 for canvas ans 2 for webgl , it s looks like perfect 2 jdnichollsc and Nikow reacted to this Quote Share this post Link to post Share on other sites