GMLscripts.com

Discuss and collaborate on GML scripts
Invert

You are not logged in.

#1 2009-04-07 12:30:36

xot
Administrator
Registered: 2007-08-18
Posts: 1,239

Window resizing bug (GM7)

Stickdude over at GMC noticed a bug in Game Maker last week. If you have "Full scale" and "Allow the player to resize the window" enabled in the "Global Game Settings" dialog, the game will crash if the user resizes the window down as far as it will go (vertically). It's a divide by zero problem. In debug mode it throws an unending cascade of errors, in normal mode it locks up without an error. Neither is acceptable, of course. This is GM7 problem on WinXP and Vista. GM6 seems to handle it OK. GM5 doesn't have this functionality.

It seems to me that this could be worked around by disabling "Full scale" and manually changing view size or port. Haven't tried it yet.

My other suggestion was to make the game in GM6 and convert it to Vista compatibility with Mark's utility, assuming (1) that's important, (2) there is no need for GM7 only features, (3) the author has GM6 (and is registered, if needed). Crummy solution.

Last edited by xot (2009-04-07 13:14:20)


Abusing forum power since 1986.

Offline

#2 2009-04-10 03:58:54

icuurd12b42
Member
Registered: 2008-12-11
Posts: 303

Re: Window resizing bug (GM7)

I dont have the problem... Maybe it's in combination with a specific drawing function?

Offline

#3 2009-04-10 10:09:28

xot
Administrator
Registered: 2007-08-18
Posts: 1,239

Re: Window resizing bug (GM7)

Ahhhh. Interesting. I think you are almost right. Window resizing freezes the Game Maker engine, but the window is updated constantly while resizing, so clearly the screen buffer is being redrawn. I fooled around with it some more and managed to blue screen myself. That's a strong indication to me that this is probably a graphics driver issue, not unlike the problem with zero-length lines and draw_line_width_color.

I'm using an NVIDIA GPU (6800GS made by EVGA) on WinXP Pro. Drivers are current or at least very recent. How about you?


Abusing forum power since 1986.

Offline

#4 2009-04-11 00:03:37

icuurd12b42
Member
Registered: 2008-12-11
Posts: 303

Re: Window resizing bug (GM7)

Vista Nvidia 7600 go... Original drivers (3 years old now) because NVidia does not patch/update laptop drivers and the manufacturer of the laptop did not update the driver either.

Offline

Board footer

Powered by FluxBB