eddieone Posted November 9, 2016 Share Posted November 9, 2016 With our latest game Banjo Panda, we have performance issues on low end machines. I noticed by changing the canvas size, I can double FPS. The current resolution is 960x644. I tried this Phaser.Game(480, 322, Phaser.CANVAS, 'gameContainer') My question, is there a way to easy scale everything down without modifying all the art? Maybe something like game.scale = 0.5 Link to comment Share on other sites More sharing options...
Mattia Posted November 10, 2016 Share Posted November 10, 2016 Hi, I needed something similar in the past, too, for some performance tests. Try to use:game.world.scale and game.world.pivot You can easily set them as usual game.world.scale.x = 0.5 game.world.scale.y = 0.5 or game.world.scale.setTo(0.5, 0.5) nazimboudeffa and eddieone 2 Link to comment Share on other sites More sharing options...
eddieone Posted November 10, 2016 Author Share Posted November 10, 2016 Thank you, I will try this Link to comment Share on other sites More sharing options...
stupot Posted November 13, 2016 Share Posted November 13, 2016 That'll work for most of Phaser, but I do know that you'll have to at least manualy reposition masks to compensate for scaling. Link to comment Share on other sites More sharing options...
Recommended Posts