Game Development Community

MinApp (Sample Code Enclosed)

by Jeremy Easoz · in Torque Game Engine Advanced · 12/10/2008 (12:55 pm) · 0 replies

Disclaimer: Minimum Application has a different meaning to different people.
To me a minimum application is TGEA processing a window, simple as that.
-----------------------------------------------------------------------------------------------

I have been messing with TGEA 1.7.1 and 1.8 beta.
I started with a clean slate pretty much to test some things out.
So I started working on a minimum application.

All that is required to run this is a TGEA executable
and the shader directory.

$appName = "TGETestbed";            // Set application name
$logMode = 6;                       // Engine Log File Mode
$winConsole = true;                 // Win Console

setLogMode($logMode);
enableWinConsole($winConsole);

new GuiControlProfile(GuiDefaultProfile);
new GuiCanvas(Canvas);

Explanation: