Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Before adding Xtend to my project the GUI layer would scale to match my window size ( I used the full scale setting in the Windows > Graphics section of the settings).

Now when I resize my window, no matter what Gamemaker Graphics setting I use, instead of the GUI layer scaling to fully fit in the game window, it simply cuts off a proportionate chunk of the right side of the GUI layer. (E.g. I can now only see half of my pause screen instance and the UI instances it contains if the game window has been resized decently smaller).

Is there a setting in Xtend to have the GUI layer behave in the typical "full scale" way. I'm mostly using Xtend for the "pixel" scaling mode, which is doing it's job great, but I just wanted to ask if there is a clean solution before I try to put some kind of "shrink with the window scale" code into the step event of every last UI object I've made.

Thanks!

Hi Max,

Certain elements are the developers' responsibility to position responsively. Basically, this means positioning by percentage of width/height rather than absolute pixel values. I'd recommend taking a look at the Best Practices section of the documentation for an overview and examples.

While stretching the GUI layer to the window will work around the need for responsive design, it's not a true solution to the problem. However, you can disable GUI scaling in the xtend_config script if you'd like to manage it yourself.

Thanks for using Xtend!