Room Switching Compatibility

Reporter: RobertBColton  |  Status: open  |  Last Modified: June 27, 2020, 05:07:39 PM

So ENIGMA was pretty good on GM8.1 compatibility for a while, until #1968 when tkg disabled centering of the window when switching rooms. GM8.1 used to recenter the window when you switched rooms only if you had moved it. It would also resize the window to the size of the new room. GMSv1.4 removed both of these things, provoking tkg to remove the centering from ENIGMA but not the resizing.

Project Mario actually relied on this during its load and initialization. The game would start in a 100x100 loading room before switching to an 800x600 intro room. Because tkg removed the centering behavior of GM8.1, but not the resizing behavior, this causes the game to end up in the bottom right corner of the screen.

@time-killer-games I don't know why you decided to go half way and only do half of what GMSv1.4 did, but you also should have used the compatibility setting to change this.

Anyway, from testing I can see that GMSv1.4 will now shrink or grow the window on changing rooms.

time-killer-games  
What version of GMS 1.4 are you testing with? The window stays the same size on room change for me, in both gms 1.x and 2.x. it's been that way for as long as I can remember.
Please sign in to post comments, or you can view this issue on GitHub.