Posted August 04, 2018 by LucasNazatoArt
#update #scaling #resolution
Hi!
A new version is out, for the game and source code, with some important changes. Before the game relied on GM "Keep to aspect ratio" function to fit different resolutions, which is fine but it would put black bars on any resolution different to 16:9.
So, now there is a system that changes the view size depending on the width/height of the window. This is useful too for when the game is not in fullscreen, as the user can now change the window size to whatever size they find it best. For this system to work I've added a new room, that works as a display setting room and has nothing in it, and made some changes to the background in the main room, so that he tiles horizontally and vertically, so no matter the size of the view, there is no empty space.
This series of tutorials from Pixelated Pope helped a lot with this: https://forum.yoyogames.com/index.php?threads/scaling-resolution-and-aspect-rati...
That's all! Thanks!