Game Development Community

Pisal Setthawong's Resources

Disabling the Windows Key (TGE 1.5.2)

The Window Key can easily cause problems if the PC game is running in Full-Screen mode as it will switch into the window mode unintentionally. To deal with that, this resource will explain a quick hack on how to disable the Windows Key.

Author Pisal Setthawong Date 02/16/2009 (6:52 pm) Comment 18 comments

TorqueScript for Checking for OpenGL Support in TGE

As TGE runs mainly on OpenGL support, and D3D functionality is not supported well, it is important that the user should check for OpenGL support of the client machine. This article describes a scripting approach that would allow a developer to check if the client machine has OpenGL support . If the user has no OpenGL support, then the script could close down the application after informing the user of outdated display card (and its associated drivers).

Author Pisal Setthawong Date 08/13/2008 (1:16 pm) Comment 2 comments

Changing the Default Window Size from 800x600 to another Size

Without an existing Preference file, TGE will create windows at the resolution of 800x600 at 16 bit color. As modern monitors and LCDs can get a much higher resolution, it might be preferable to generate the default pref that it would create a window with a higher default resolution (e.g. 1024x768 at 32 bit color). This article explains shortly how to modify that behavior by modifying the core of TGE. (might only works in Win32 platform)

Author Pisal Setthawong Date 05/14/2008 (3:25 pm) Comment 0 comments

Speeding up Mission Loading Time in an Out of Focus Window

The stock TGE 1.5.2 engine seems to take forever to load a mission if the game is played in Window Mode and is out of focus. This article describes a quick fix on how to make the loading time of the mission faster if your window is out of focus both as a scripting and engine modification.

Author Pisal Setthawong Date 04/21/2008 (4:24 pm) Comment 5 comments

Adding Move Up and Down to the Free Camera in the Mission Editor

An simple modification to the Mission Editor to add the MoveUp and MoveDown to the Free Camera Mode so that it is easier to edit.

Author Pisal Setthawong Date 11/14/2006 (12:45 am) Comment 3 comments

Jump as Long as Jump Key is Pressed

This resource will modify the default jump so that it will jump as long as the jump is pressed, and will immediately drop down when the jump button is released.

Author Pisal Setthawong Date 07/03/2006 (6:37 pm) Comment 2 comments