1
Ask a Question / Re: How to change game resolution, in-game?
« on: May 30, 2018, 11:26:25 am »
Just for reference when people look this up in future (as I've just been doing). You can work around some of this with a fullscreen toggle and adjusting the scaling setting in game.
Run this bit of code.
com.stencyl.Config.gameScale = scale;
com.stencyl.Engine.engine.reloadScreen();
Scale is the same setting as in the settings tab you can make an attribute with that name or rename it to match another attribute. Then just change that attribute to resize the window. There's a "make fullscreen" block for toggling fullscreen and windowed mode.
Run this bit of code.
com.stencyl.Config.gameScale = scale;
com.stencyl.Engine.engine.reloadScreen();
Scale is the same setting as in the settings tab you can make an attribute with that name or rename it to match another attribute. Then just change that attribute to resize the window. There's a "make fullscreen" block for toggling fullscreen and windowed mode.