mariogarranz Posted April 18, 2014 Share Posted April 18, 2014 Is there any way to change the game size in-game?I have a game I need to keep the aspect ratio of some elements, so if I want to take advantage of the FullScreen API, I need to change the canvas size or either leave blank spaces around the canvas.I have tried simply changing game.width/height but that's obviously not the way its meant to be used. Link to comment Share on other sites More sharing options...
george Posted April 18, 2014 Share Posted April 18, 2014 Hi,you're right that's not possible without digging deep in code or even monkey patch some parts of phaser.Maybe some day See this feature request: https://github.com/photonstorm/phaser/issues/642 mariogarranz 1 Link to comment Share on other sites More sharing options...
mariogarranz Posted April 18, 2014 Author Share Posted April 18, 2014 Thank you very much george.Guess I will try something different then Link to comment Share on other sites More sharing options...
Recommended Posts