Game Development Community

Mac game fullscreen problem

by Martin Andresen · in Torque Game Builder · 02/07/2008 (7:57 am) · 0 replies

I'm having a problem with a game we're porting from PC to Mac using TGB 1.1.3 for both.

On the Mac when changing from windowed mode to fullscreen mode TGB seems to scale the graphics incorrectly. The portion of the scene that is supposed to be showing is pressed together vertically so that a bar appears at the top. If graphics are present above the viewable portion of the scene the bar contains these graphics, otherwise the bar is just black. Also, the mouse pointer cannot enter this area.

When launching the game directly in fullscreen mode there are no problems until the game is changed to windowed mode and back to fullscreen mode again.

It's difficult to tell whether the problem is internally in TGB or the display resolution is made larger than the supposed 800x600, but that the mouse pointer is also affected would suggest the latter.

Does anyone have any clue as to why this is happening and how to fix it? The Mac is running 10.5.1.

I've tried other TGB games and later version of TGB that didn't have this problem, but I've been unable to install TGB 1.1.3 itself on the Mac because the installer crashes, so I don't know if it's a general problem in TGB 1.1.3 or just a problem with our game itself, however our built Mac version also has the problem when using just the editor.

Kind regards,
Martin