Initial commit
7
example/demo/client/ui/0. About.hfl
Executable file
@ -0,0 +1,7 @@
|
||||
<lmargin%:5><rmargin%:95><font:Arial:16>Thank you for checking out the Torque Game Engine Demo.
|
||||
|
||||
Visit <a:www.garagegames.com/makegames/>GarageGames Torque Store</a> to learn about other products that will help you make your game as well as the other engines and tools that round out the Torque Development Platform.
|
||||
|
||||
<font:Arial Bold:16>About GarageGames.com:<font:Arial:16> <a:www.garagegames.com>GarageGames</a> mission is to change the way games are made and played. GarageGames provides the technology, community and market to empower game makers to build commercial quality multiplatform games. Known for bringing the Torque Game Engine to independent developers for $100, GarageGames is located in Eugene, Oregon and on the web at <a:www.garagegames.com>GarageGames.com</a> and is the annual presenter of IndieGamesCon (Oct. 7-9,2005).
|
||||
|
||||
<font:Arial Bold:16>About the Torque Game Engine:<font:Arial:16> The <a:www.garagegames.com/products/1>Torque Game Engine</a> is a cross platform commercial quality AAA game engine with seamless indoor/outdoor rendering engine, state of the art skeletal animation, drag and drop GUI creation and a built-in world editor. TGE also features the latest in scripting, geometry, particle effects, and award winning multi-player networking code. TGE started life as the technology behind Tribes, Starsiege, and Tribes 2 and is currently being used by thousands of developers around the world to make innovative games such as <a:www.garagegames.com/products/15>MarbleBlast Gold</a>, <a:www.garagegames.com/products/5>Orbz</a>, <a:www.garagegames.com/products/12>ThinkTanks</a>, <a:www.garagegames.com/products/58>RocketBowl Plus</a>, <a:www.garagegames.com/products/29>DH: Lore Invasion</a>, and more.
|
46
example/demo/client/ui/1. Credits.hfl
Executable file
@ -0,0 +1,46 @@
|
||||
<just:center><lmargin%:5><rmargin%:95><font:Arial Bold:20>Torque Game Engine Demo Credits...
|
||||
<bitmap:demo/client/ui/seperator>
|
||||
<font:Arial Bold:20>GarageGames.com Staff<font:Arial:16>
|
||||
<a:www.garagegames.com/my/home/view.profile.php?qid=3>Jeff "MotoMan" Tunnell</a>
|
||||
<a:www.garagegames.com/my/home/view.profile.php?qid=1>Tim "Slacker" Gift</a>
|
||||
<a:www.garagegames.com/my/home/view.profile.php?qid=2>Rick "Entropy" Overman</a>
|
||||
<a:www.garagegames.com/my/home/view.profile.php?qid=55>Mark "Got Milk?" Frohnmayer</a>
|
||||
<a:www.garagegames.com/my/home/view.profile.php?qid=32699>Timothy Aste</a>
|
||||
<a:www.garagegames.com/my/home/view.profile.php?qid=4517>Robert Blanchet Jr.</a>
|
||||
<a:www.garagegames.com/my/home/view.profile.php?qid=33863>Benjamin Bradley</a>
|
||||
<a:www.garagegames.com/my/home/view.profile.php?qid=34011>Adam deGrandis</a>
|
||||
<a:www.garagegames.com/my/home/view.profile.php?qid=5249>Justin DuJardin</a>
|
||||
<a:www.garagegames.com/my/home/view.profile.php?qid=6452>Clark Fagot</a>
|
||||
<a:www.garagegames.com/my/home/view.profile.php?qid=985>Matt Fairfax</a>
|
||||
<a:www.garagegames.com/my/home/view.profile.php?qid=8863>Ben Garney</a>
|
||||
<a:www.garagegames.com/my/home/view.profile.php?qid=54612>Davey Jackson</a>
|
||||
<a:www.garagegames.com/my/home/view.profile.php?qid=1449>Joe Maruschak</a>
|
||||
<a:www.garagegames.com/my/home/view.profile.php?qid=22782>Mark McCoy</a>
|
||||
<a:www.garagegames.com/my/home/view.profile.php?qid=10185>Jay Moore</a>
|
||||
<a:www.garagegames.com/my/home/view.profile.php?qid=6645>John Quigley</a>
|
||||
<a:www.garagegames.com/my/home/view.profile.php?qid=5030>Brian "Twitch" Ramage</a>
|
||||
<a:www.garagegames.com/my/home/view.profile.php?qid=10513>Paul Scott</a>
|
||||
<a:www.garagegames.com/my/home/view.profile.php?qid=5263>Alex Swanson</a>
|
||||
<a:www.garagegames.com/my/home/view.profile.php?qid=20592>Josh Williams</a>
|
||||
<a:www.garagegames.com/my/home/view.profile.php?qid=370>Pat "Killer Bunny" Wilson</a>
|
||||
<a:www.garagegames.com/my/home/view.profile.php?qid=37827>Zachary Zadell</a>
|
||||
<a:www.garagegames.com/my/home/view.profile.php?qid=34977>Stephen Zepp</a>
|
||||
|
||||
<bitmap:demo/client/ui/seperator>
|
||||
<font:Arial Bold:20>Torque Community Contributors
|
||||
<a:www.garagegames.com/company/associates/>Special Thanks GarageGames Associates</a>
|
||||
|
||||
<bitmap:demo/client/ui/seperator>
|
||||
<font:Arial Bold:20>Special Thanks<font:Arial:16>
|
||||
<a:www.garagegames.com/my/home/view.profile.php?qid=21036>John Kabus</a> for use of the Torque Lighting Kit in this demo.
|
||||
|
||||
<bitmap:demo/client/ui/seperator>
|
||||
<font:Arial Bold:20>Torque Engine Original Programmers<font:Arial:16>
|
||||
<a:www.garagegames.com/my/home/view.profile.php?qid=438>Dave "Symlink" Moore</a>
|
||||
<a:www.garagegames.com/my/home/view.profile.php?qid=572>John "Uberbob" Folliard</a>
|
||||
<a:www.garagegames.com/my/home/view.profile.php?qid=4872>Greg "Jett" Lancaster</a>
|
||||
<a:www.garagegames.com/my/home/view.profile.php?qid=6019>Tim "Kidney Thief" Anderson</a>
|
||||
John "Sne/\ker" Alden
|
||||
Lincoln "Missing" Hutton
|
||||
Brad "BigDevDawg" Heinz
|
||||
Shawn Eastley
|
25
example/demo/client/ui/1.1 Game Controls.hfl
Executable file
@ -0,0 +1,25 @@
|
||||
<lmargin%:5><rmargin%:95><font:Arial Bold:20>Default Game Control Setup...<font:Arial:16>
|
||||
<tab:105,200>
|
||||
<font:Arial Bold:16>Movement<font:Arial:16>
|
||||
W Forward
|
||||
S Backward
|
||||
A Step left
|
||||
D Step right
|
||||
Space Jump
|
||||
Mouse Button Fire
|
||||
|
||||
<font:Arial Bold:16>View Control<font:Arial:16>
|
||||
E Zoom
|
||||
R Set zoom FOV
|
||||
TAB First/Third person camera
|
||||
Alt-C Toggle between camera/player
|
||||
|
||||
<font:Arial Bold:16>Chat<font:Arial:16>
|
||||
U Send public chat message
|
||||
|
||||
<font:Arial Bold:16>Misc Functions<font:Arial:16>
|
||||
Ctrl-O Open in-game options dialog
|
||||
F7 Drop the player at the camera
|
||||
F8 Drop the camera at the player
|
||||
F10 Open GUI editor
|
||||
F11 Open Mission/World editor
|
55
example/demo/client/ui/AnimationSceneGUI.gui
Executable file
@ -0,0 +1,55 @@
|
||||
//--- OBJECT WRITE BEGIN ---
|
||||
new GuiControl(AnimationSceneGUI) {
|
||||
profile = "GuiModelessDialogProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "0 0";
|
||||
extent = "640 480";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
|
||||
new GuiButtonCtrl() {
|
||||
profile = "GuiButtonProfile";
|
||||
horizSizing = "left";
|
||||
vertSizing = "bottom";
|
||||
position = "466 191";
|
||||
extent = "140 30";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
command = "AnimationOrcPlay(\"celwave\");";
|
||||
helpTag = "0";
|
||||
text = "Wave";
|
||||
groupNum = "-1";
|
||||
buttonType = "PushButton";
|
||||
};
|
||||
new GuiButtonCtrl() {
|
||||
profile = "GuiButtonProfile";
|
||||
horizSizing = "left";
|
||||
vertSizing = "bottom";
|
||||
position = "467 231";
|
||||
extent = "140 30";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
command = "AnimationOrcPlay(\"celsalute\");";
|
||||
helpTag = "0";
|
||||
text = "Salute";
|
||||
groupNum = "-1";
|
||||
buttonType = "PushButton";
|
||||
};
|
||||
new GuiButtonCtrl() {
|
||||
profile = "GuiButtonProfile";
|
||||
horizSizing = "left";
|
||||
vertSizing = "bottom";
|
||||
position = "467 276";
|
||||
extent = "138 30";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
command = "AnimationOrcPlay(\"range\");";
|
||||
helpTag = "0";
|
||||
text = "Range Test";
|
||||
groupNum = "-1";
|
||||
buttonType = "PushButton";
|
||||
};
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
61
example/demo/client/ui/DemoEditorAlert.gui
Executable file
@ -0,0 +1,61 @@
|
||||
//--- OBJECT WRITE BEGIN ---
|
||||
new GuiControl(DemoEditorAlert) {
|
||||
Profile = "GuiDefaultProfile";
|
||||
HorizSizing = "right";
|
||||
VertSizing = "bottom";
|
||||
position = "0 0";
|
||||
Extent = "800 600";
|
||||
MinExtent = "8 8";
|
||||
Visible = "1";
|
||||
helpTag = "0";
|
||||
|
||||
new GuiWindowCtrl() {
|
||||
Profile = "GuiWindowProfile";
|
||||
HorizSizing = "center";
|
||||
VertSizing = "center";
|
||||
position = "200 80";
|
||||
Extent = "400 440";
|
||||
MinExtent = "300 200";
|
||||
Visible = "1";
|
||||
text = "Mission Editor";
|
||||
maxLength = "255";
|
||||
resizeWidth = "1";
|
||||
resizeHeight = "1";
|
||||
canMove = "1";
|
||||
canClose = "1";
|
||||
canMinimize = "1";
|
||||
canMaximize = "1";
|
||||
MinSize = "50 50";
|
||||
closeCommand = "Canvas.popDialog(DemoEditorAlert);";
|
||||
helpTag = "0";
|
||||
|
||||
new GuiMLTextCtrl(EditorAlertText) {
|
||||
Profile = "GuiMediumTextProfile";
|
||||
HorizSizing = "width";
|
||||
VertSizing = "bottom";
|
||||
position = "20 40";
|
||||
Extent = "380 264";
|
||||
MinExtent = "8 8";
|
||||
Visible = "1";
|
||||
lineSpacing = "12";
|
||||
allowColorChars = "1";
|
||||
maxChars = "-1";
|
||||
helpTag = "0";
|
||||
};
|
||||
new GuiButtonCtrl(OkayButton) {
|
||||
Profile = "GuiOkayButtonProfile";
|
||||
HorizSizing = "right";
|
||||
VertSizing = "bottom";
|
||||
position = "130 370";
|
||||
Extent = "140 30";
|
||||
MinExtent = "8 2";
|
||||
Visible = "1";
|
||||
text = "Okay";
|
||||
groupNum = "-1";
|
||||
buttonType = "PushButton";
|
||||
command = "Canvas.popDialog(DemoEditorAlert);";
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
39
example/demo/client/ui/DetailSceneGui.gui
Executable file
@ -0,0 +1,39 @@
|
||||
//--- OBJECT WRITE BEGIN ---
|
||||
new GuiControl(DetailSceneGui) {
|
||||
profile = "GuiModelessDialogProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "0 0";
|
||||
extent = "800 600";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
|
||||
new GuiControl() {
|
||||
profile = "GuiWindowProfile";
|
||||
horizSizing = "left";
|
||||
vertSizing = "top";
|
||||
position = "587 464";
|
||||
extent = "190 30";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
|
||||
new GuiSliderCtrl(DetailSceneSlider) {
|
||||
profile = "GuiSliderProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "6 5";
|
||||
extent = "178 21";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
variable = "value";
|
||||
altCommand = "OrcDetailScene.slider();";
|
||||
range = "0.000000 1.000000";
|
||||
ticks = "10";
|
||||
value = "1";
|
||||
helpTag = "0";
|
||||
};
|
||||
};
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
149
example/demo/client/ui/FpsGui.gui
Normal file
@ -0,0 +1,149 @@
|
||||
|
||||
|
||||
//--- OBJECT WRITE BEGIN ---
|
||||
new GameTSCtrl(FpsGui) {
|
||||
profile = "GuiContentProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "0 0";
|
||||
extent = "640 480";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
cameraZRot = "0";
|
||||
forceFOV = "0";
|
||||
helpTag = "0";
|
||||
noCursor = "1";
|
||||
|
||||
new GuiBitmapCtrl(CenterPrintDlg) {
|
||||
profile = "CenterPrintProfile";
|
||||
horizSizing = "center";
|
||||
vertSizing = "center";
|
||||
position = "45 230";
|
||||
extent = "550 20";
|
||||
minExtent = "8 8";
|
||||
visible = "0";
|
||||
bitmap = "./hudfill";
|
||||
wrap = "0";
|
||||
helpTag = "0";
|
||||
|
||||
new GuiMLTextCtrl(CenterPrintText) {
|
||||
profile = "CenterPrintTextProfile";
|
||||
horizSizing = "center";
|
||||
vertSizing = "center";
|
||||
position = "0 0";
|
||||
extent = "546 12";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
lineSpacing = "2";
|
||||
allowColorChars = "0";
|
||||
maxChars = "-1";
|
||||
helpTag = "0";
|
||||
};
|
||||
};
|
||||
new GuiBitmapCtrl(BottomPrintDlg) {
|
||||
profile = "CenterPrintProfile";
|
||||
horizSizing = "center";
|
||||
vertSizing = "top";
|
||||
position = "45 375";
|
||||
extent = "550 20";
|
||||
minExtent = "8 8";
|
||||
visible = "0";
|
||||
bitmap = "./hudfill";
|
||||
wrap = "0";
|
||||
helpTag = "0";
|
||||
|
||||
new GuiMLTextCtrl(BottomPrintText) {
|
||||
profile = "CenterPrintTextProfile";
|
||||
horizSizing = "center";
|
||||
vertSizing = "center";
|
||||
position = "0 0";
|
||||
extent = "546 12";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
lineSpacing = "2";
|
||||
allowColorChars = "0";
|
||||
maxChars = "-1";
|
||||
helpTag = "0";
|
||||
};
|
||||
};
|
||||
new GuiBitmapCtrl(LagIcon) {
|
||||
profile = "GuiDefaultProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "572 3";
|
||||
extent = "32 32";
|
||||
minExtent = "8 8";
|
||||
visible = "0";
|
||||
bitmap = "./lagIcon";
|
||||
wrap = "0";
|
||||
helpTag = "0";
|
||||
};
|
||||
new GuiShapeNameHud() {
|
||||
profile = "GuiDefaultProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "height";
|
||||
position = "0 0";
|
||||
extent = "653 485";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
fillColor = "0.000000 0.000000 0.000000 0.250000";
|
||||
frameColor = "0.000000 1.000000 0.000000 1.000000";
|
||||
textColor = "0.000000 1.000000 0.000000 1.000000";
|
||||
showFill = "0";
|
||||
showFrame = "0";
|
||||
verticalOffset = "0.2";
|
||||
distanceFade = "0.1";
|
||||
damageFrameColor = "1.000000 0.600000 0.000000 1.000000";
|
||||
helpTag = "0";
|
||||
damageFillColor = "0.000000 1.000000 0.000000 1.000000";
|
||||
damageRect = "30 4";
|
||||
};
|
||||
new GuiCrossHairHud() {
|
||||
profile = "GuiDefaultProfile";
|
||||
horizSizing = "center";
|
||||
vertSizing = "center";
|
||||
position = "304 224";
|
||||
extent = "32 32";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
bitmap = "./crossHair";
|
||||
wrap = "0";
|
||||
damageFillColor = "0.000000 1.000000 0.000000 1.000000";
|
||||
damageFrameColor = "1.000000 0.600000 0.000000 1.000000";
|
||||
damageRect = "50 4";
|
||||
damageOffset = "0 10";
|
||||
helpTag = "0";
|
||||
};
|
||||
new GuiHealthBarHud() {
|
||||
profile = "GuiDefaultProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "top";
|
||||
position = "14 315";
|
||||
extent = "26 138";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
fillColor = "0.000000 0.000000 0.000000 0.500000";
|
||||
frameColor = "0.000000 1.000000 0.000000 0.000000";
|
||||
damageFillColor = "0.800000 0.000000 0.000000 1.000000";
|
||||
pulseRate = "1000";
|
||||
pulseThreshold = "0.5";
|
||||
showFill = "1";
|
||||
showFrame = "1";
|
||||
displayEnergy = "0";
|
||||
helpTag = "0";
|
||||
value = "1";
|
||||
};
|
||||
new GuiBitmapCtrl() {
|
||||
profile = "GuiDefaultProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "top";
|
||||
position = "11 299";
|
||||
extent = "32 172";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
bitmap = "./healthBar";
|
||||
wrap = "0";
|
||||
helpTag = "0";
|
||||
};
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
BIN
example/demo/client/ui/GarageGames.jpg
Executable file
After Width: | Height: | Size: 76 KiB |
41
example/demo/client/ui/MountingSceneGui.gui
Executable file
@ -0,0 +1,41 @@
|
||||
//--- OBJECT WRITE BEGIN ---
|
||||
new GuiControl(MountingSceneGui) {
|
||||
profile = "GuiModelessDialogProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "0 0";
|
||||
extent = "640 480";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
|
||||
new GuiButtonCtrl() {
|
||||
profile = "GuiButtonProfile";
|
||||
horizSizing = "left";
|
||||
vertSizing = "bottom";
|
||||
position = "466 191";
|
||||
extent = "140 30";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
command = "mountDetailOrc(CrossbowImage,0);";
|
||||
helpTag = "0";
|
||||
text = "Crossbow";
|
||||
groupNum = "-1";
|
||||
buttonType = "PushButton";
|
||||
};
|
||||
new GuiButtonCtrl() {
|
||||
profile = "GuiButtonProfile";
|
||||
horizSizing = "left";
|
||||
vertSizing = "bottom";
|
||||
position = "467 231";
|
||||
extent = "140 30";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
command = "mountDetailOrc(FlagPoleImage,1);";
|
||||
helpTag = "0";
|
||||
text = "Flag";
|
||||
groupNum = "-1";
|
||||
buttonType = "PushButton";
|
||||
};
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
114
example/demo/client/ui/ProductGui.gui
Normal file
@ -0,0 +1,114 @@
|
||||
//--- OBJECT WRITE BEGIN ---
|
||||
new GuiChunkedBitmapCtrl(ProductGui) {
|
||||
profile = "GuiContentProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "height";
|
||||
position = "0 0";
|
||||
extent = "640 480";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
bitmap = "./background";
|
||||
useVariable = "0";
|
||||
tile = "0";
|
||||
|
||||
new GuiControl() {
|
||||
profile = "GuiWindowProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "relative";
|
||||
position = "0 80";
|
||||
extent = "640 320";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
|
||||
new GuiBitmapCtrl() {
|
||||
profile = "GuiDefaultProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "22 43";
|
||||
extent = "120 150";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
bitmap = "./box120_mbgold";
|
||||
wrap = "0";
|
||||
};
|
||||
new GuiBitmapCtrl() {
|
||||
profile = "GuiDefaultProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "160 42";
|
||||
extent = "120 150";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
bitmap = "./box120_orbz2";
|
||||
wrap = "0";
|
||||
};
|
||||
new GuiBitmapCtrl() {
|
||||
profile = "GuiDefaultProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "300 40";
|
||||
extent = "120 150";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
bitmap = "./box120_tt";
|
||||
wrap = "0";
|
||||
};
|
||||
new GuiBitmapCtrl() {
|
||||
profile = "GuiDefaultProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "445 41";
|
||||
extent = "120 150";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
bitmap = "./box120_tennis_critters";
|
||||
wrap = "0";
|
||||
};
|
||||
new GuiBitmapCtrl() {
|
||||
profile = "GuiDefaultProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "25 205";
|
||||
extent = "291 92";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
bitmap = "./tribes2";
|
||||
wrap = "0";
|
||||
};
|
||||
new GuiTextCtrl() {
|
||||
profile = "GuiTextProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "25 298";
|
||||
extent = "120 18";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
text = "Tribes 2 Copyright Sierra";
|
||||
maxLength = "255";
|
||||
};
|
||||
};
|
||||
new GuiBitmapButtonCtrl() {
|
||||
profile = "GuiDefaultProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "top";
|
||||
position = "23 393";
|
||||
extent = "80 80";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
command = "Canvas.setContent(mainMenuGui);";
|
||||
helpTag = "0";
|
||||
text = "Button";
|
||||
groupNum = "-1";
|
||||
buttonType = "PushButton";
|
||||
bitmap = "./arrows/arrow_left";
|
||||
};
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
121
example/demo/client/ui/RacingGui.gui
Normal file
@ -0,0 +1,121 @@
|
||||
|
||||
|
||||
//--- OBJECT WRITE BEGIN ---
|
||||
new GameTSCtrl(RacingGui) {
|
||||
profile = "GuiDefaultProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "0 0";
|
||||
extent = "640 480";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
cameraZRot = "0";
|
||||
forceFOV = "0";
|
||||
noCursor = "1";
|
||||
helpTag = "0";
|
||||
|
||||
new GuiShapeNameHud() {
|
||||
profile = "GuiDefaultProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "height";
|
||||
position = "-2 1";
|
||||
extent = "653 485";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
fillColor = "0.000000 0.000000 0.000000 0.250000";
|
||||
frameColor = "0.000000 1.000000 0.000000 1.000000";
|
||||
textColor = "0.000000 1.000000 0.000000 1.000000";
|
||||
showFill = "0";
|
||||
showFrame = "0";
|
||||
verticalOffset = "0.2";
|
||||
distanceFade = "0.1";
|
||||
damageFrameColor = "1.000000 0.600000 0.000000 1.000000";
|
||||
helpTag = "0";
|
||||
damageFillColor = "0.000000 1.000000 0.000000 1.000000";
|
||||
damageRect = "30 4";
|
||||
};
|
||||
new GuiBitmapCtrl(CenterPrintDlg) {
|
||||
profile = "CenterPrintProfile";
|
||||
horizSizing = "center";
|
||||
vertSizing = "center";
|
||||
position = "45 230";
|
||||
extent = "550 20";
|
||||
minExtent = "8 8";
|
||||
visible = "0";
|
||||
bitmap = "./hudfill";
|
||||
wrap = "0";
|
||||
helpTag = "0";
|
||||
|
||||
new GuiMLTextCtrl(CenterPrintText) {
|
||||
profile = "CenterPrintTextProfile";
|
||||
horizSizing = "center";
|
||||
vertSizing = "center";
|
||||
position = "0 0";
|
||||
extent = "546 12";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
lineSpacing = "2";
|
||||
allowColorChars = "0";
|
||||
maxChars = "-1";
|
||||
helpTag = "0";
|
||||
};
|
||||
};
|
||||
new GuiBitmapCtrl(BottomPrintDlg) {
|
||||
profile = "CenterPrintProfile";
|
||||
horizSizing = "center";
|
||||
vertSizing = "top";
|
||||
position = "45 375";
|
||||
extent = "550 20";
|
||||
minExtent = "8 8";
|
||||
visible = "0";
|
||||
bitmap = "./hudfill";
|
||||
wrap = "0";
|
||||
helpTag = "0";
|
||||
|
||||
new GuiMLTextCtrl(BottomPrintText) {
|
||||
profile = "CenterPrintTextProfile";
|
||||
horizSizing = "center";
|
||||
vertSizing = "center";
|
||||
position = "0 0";
|
||||
extent = "546 12";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
lineSpacing = "2";
|
||||
allowColorChars = "0";
|
||||
maxChars = "-1";
|
||||
helpTag = "0";
|
||||
};
|
||||
};
|
||||
new GuiBitmapCtrl(LagIcon) {
|
||||
profile = "GuiDefaultProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "572 3";
|
||||
extent = "32 32";
|
||||
minExtent = "8 8";
|
||||
visible = "0";
|
||||
bitmap = "./lagIcon";
|
||||
wrap = "0";
|
||||
helpTag = "0";
|
||||
};
|
||||
new GuiSpeedometerHud() {
|
||||
profile = "GuiDefaultProfile";
|
||||
horizSizing = "left";
|
||||
vertSizing = "top";
|
||||
position = "456 284";
|
||||
extent = "184 196";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
bitmap = "./speedometer";
|
||||
wrap = "0";
|
||||
maxSpeed = "30";
|
||||
minAngle = "220";
|
||||
maxAngle = "70";
|
||||
color = "1.000000 1.000000 0.000000 1.000000";
|
||||
center = "122.000000 122.000000";
|
||||
length = "95";
|
||||
width = "2";
|
||||
tail = "20";
|
||||
};
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
17
example/demo/client/ui/SceneGui.gui
Executable file
@ -0,0 +1,17 @@
|
||||
|
||||
|
||||
//--- OBJECT WRITE BEGIN ---
|
||||
new GameTSCtrl(SceneGui) {
|
||||
profile = "GuiContentProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "height";
|
||||
position = "0 0 ";
|
||||
extent = "640 480";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
cameraZRot = "0";
|
||||
forceFOV = "0";
|
||||
helpTag = "0";
|
||||
roomNumber = "1";
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
BIN
example/demo/client/ui/Splash.jpg
Executable file
After Width: | Height: | Size: 138 KiB |
43
example/demo/client/ui/StartupGui.gui
Executable file
@ -0,0 +1,43 @@
|
||||
//--- OBJECT WRITE BEGIN ---
|
||||
new GuiFadeinBitmapCtrl(StartupGui) {
|
||||
profile = "GuiInputCtrlProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "0 0";
|
||||
extent = "640 480";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
bitmap = "./GarageGames";
|
||||
wrap = "0";
|
||||
fadeinTime = "125";
|
||||
waitTime = "3000";
|
||||
fadeoutTime = "125";
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
||||
|
||||
function loadStartup()
|
||||
{
|
||||
StartupGui.done = false;
|
||||
Canvas.setContent( StartupGui );
|
||||
schedule(100, 0, checkStartupDone );
|
||||
alxPlay(AudioStartup);
|
||||
}
|
||||
|
||||
|
||||
//-------------------------------------
|
||||
function StartupGui::click()
|
||||
{
|
||||
StartupGui.done = true;
|
||||
}
|
||||
|
||||
|
||||
//-------------------------------------
|
||||
function checkStartupDone()
|
||||
{
|
||||
if (StartupGui.done)
|
||||
loadMainMenu();
|
||||
else
|
||||
schedule(100, 0, checkStartupDone );
|
||||
}
|
||||
|
162
example/demo/client/ui/TheoraGui.gui
Executable file
@ -0,0 +1,162 @@
|
||||
//--- OBJECT WRITE BEGIN ---
|
||||
new GuiChunkedBitmapCtrl(TheoraGui) {
|
||||
profile = "GuiDefaultProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "0 0";
|
||||
extent = "800 600";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
bitmap = "./background";
|
||||
useVariable = "0";
|
||||
tile = "0";
|
||||
|
||||
new GuiTheoraCtrl(theo) {
|
||||
profile = "GuiDefaultProfile";
|
||||
horizSizing = "relative";
|
||||
vertSizing = "relative";
|
||||
position = "120 25";
|
||||
extent = "560 420";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
done = "0";
|
||||
stopOnSleep = "0";
|
||||
backgroundColor = "0 0 0 255";
|
||||
};
|
||||
new GuiBitmapButtonCtrl() {
|
||||
profile = "GuiButtonProfile";
|
||||
horizSizing = "relative";
|
||||
vertSizing = "relative";
|
||||
position = "30 475";
|
||||
extent = "220 40";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
command = "Theo.setFile(\"demo/data/video/320x240.ogg\");";
|
||||
text = "Button";
|
||||
groupNum = "-1";
|
||||
buttonType = "PushButton";
|
||||
bitmap = "./button";
|
||||
helpTag = "0";
|
||||
|
||||
new GuiMLTextCtrl() {
|
||||
profile = "GuiMLTextNoSelectProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "9 7";
|
||||
extent = "260 14";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
lineSpacing = "2";
|
||||
allowColorChars = "0";
|
||||
maxChars = "-1";
|
||||
text = "<color:ffffff><font:Arial Bold:14>Simple test pattern, no sound.";
|
||||
helpTag = "0";
|
||||
};
|
||||
};
|
||||
new GuiBitmapButtonCtrl() {
|
||||
profile = "GuiButtonProfile";
|
||||
horizSizing = "relative";
|
||||
vertSizing = "relative";
|
||||
position = "30 535";
|
||||
extent = "220 40";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
command = "Theo.setFile(\"demo/data/video/videotestsrc.ogg\");";
|
||||
text = "Button";
|
||||
groupNum = "-1";
|
||||
buttonType = "PushButton";
|
||||
bitmap = "./button";
|
||||
helpTag = "0";
|
||||
|
||||
new GuiMLTextCtrl() {
|
||||
profile = "GuiMLTextNoSelectProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "9 7";
|
||||
extent = "260 14";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
lineSpacing = "2";
|
||||
allowColorChars = "0";
|
||||
maxChars = "-1";
|
||||
text = "<color:ffffff><font:Arial Bold:14>The test pattern, at high resolution.";
|
||||
helpTag = "0";
|
||||
};
|
||||
};
|
||||
new GuiBitmapButtonCtrl() {
|
||||
profile = "GuiButtonProfile";
|
||||
horizSizing = "relative";
|
||||
vertSizing = "relative";
|
||||
position = "550 535";
|
||||
extent = "220 40";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
command = "Theo.setFile(\"demo/data/video/demovid.ogg\");";
|
||||
text = "Button";
|
||||
groupNum = "-1";
|
||||
buttonType = "PushButton";
|
||||
bitmap = "./button";
|
||||
helpTag = "0";
|
||||
|
||||
new GuiMLTextCtrl() {
|
||||
profile = "GuiMLTextNoSelectProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "9 7";
|
||||
extent = "176 14";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
lineSpacing = "2";
|
||||
allowColorChars = "0";
|
||||
maxChars = "-1";
|
||||
text = "<color:ffffff><font:Arial Bold:14>A demo of some of Torque's lovely goodness.";
|
||||
helpTag = "0";
|
||||
};
|
||||
};
|
||||
new GuiBitmapButtonCtrl() {
|
||||
profile = "GuiButtonProfile";
|
||||
horizSizing = "relative";
|
||||
vertSizing = "relative";
|
||||
position = "550 475";
|
||||
extent = "220 40";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
command = "Theo.setFile(\"demo/data/video/soundtest.ogg\");";
|
||||
text = "Button";
|
||||
groupNum = "-1";
|
||||
buttonType = "PushButton";
|
||||
bitmap = "./button";
|
||||
helpTag = "0";
|
||||
|
||||
new GuiMLTextCtrl() {
|
||||
profile = "GuiMLTextNoSelectProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "9 7";
|
||||
extent = "260 14";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
lineSpacing = "2";
|
||||
allowColorChars = "0";
|
||||
maxChars = "-1";
|
||||
text = "<color:ffffff><font:Arial Bold:14>A tone and sound synch test.";
|
||||
helpTag = "0";
|
||||
};
|
||||
};
|
||||
new GuiBitmapButtonCtrl(LeaveTheoraButton) {
|
||||
profile = "GuiButtonProfile";
|
||||
horizSizing = "relative";
|
||||
vertSizing = "relative";
|
||||
position = "384 555";
|
||||
extent = "32 32";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
command = "Canvas.setContent(mainMenuGui);";
|
||||
text = "Button";
|
||||
groupNum = "-1";
|
||||
buttonType = "PushButton";
|
||||
bitmap = "./arrows/arrow_left";
|
||||
helpTag = "0";
|
||||
};
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
96
example/demo/client/ui/aboutDlg.gui
Executable file
@ -0,0 +1,96 @@
|
||||
//-----------------------------------------------------------------------------
|
||||
// Torque Game Engine
|
||||
//
|
||||
// Copyright (c) 2001 GarageGames.Com
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
//--- OBJECT WRITE BEGIN ---
|
||||
new GuiControl(aboutDlg) {
|
||||
profile = "GuiDefaultProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "0 0";
|
||||
extent = "640 480";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
|
||||
new GuiWindowCtrl() {
|
||||
profile = "GuiWindowProfile";
|
||||
horizSizing = "center";
|
||||
vertSizing = "center";
|
||||
position = "132 88";
|
||||
extent = "376 303";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
text = "About...";
|
||||
maxLength = "255";
|
||||
resizeWidth = "0";
|
||||
resizeHeight = "0";
|
||||
canMove = "1";
|
||||
canClose = "1";
|
||||
canMinimize = "0";
|
||||
canMaximize = "0";
|
||||
minSize = "50 50";
|
||||
closeCommand = "Canvas.popDialog(aboutDlg);";
|
||||
|
||||
new GuiMLTextCtrl(aboutText) {
|
||||
profile = "GuiMLTextProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "relative";
|
||||
position = "19 36";
|
||||
extent = "336 241";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
lineSpacing = "2";
|
||||
allowColorChars = "0";
|
||||
maxChars = "-1";
|
||||
text = "This is a test";
|
||||
};
|
||||
new GuiButtonCtrl() {
|
||||
profile = "GuiButtonProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "303 268";
|
||||
extent = "60 23";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
command = "Canvas.popDialog(aboutDlg);";
|
||||
helpTag = "0";
|
||||
text = "OK";
|
||||
};
|
||||
new GuiButtonCtrl() {
|
||||
profile = "GuiButtonProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "12 268";
|
||||
extent = "76 23";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
command = "getHelp(\"2. License\");";
|
||||
helpTag = "0";
|
||||
text = "License...";
|
||||
};
|
||||
};
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
||||
|
||||
|
||||
function aboutDlg::onWake(%this)
|
||||
{
|
||||
%text="<just:center><font:Arial Bold:20>Torque 1.4 Demo\n"@
|
||||
"<font:Arial:12>"@ getCompileTimeString() @", "@ getBuildString() @"Build\n\n"@
|
||||
"<font:Arial:16>Copyright (c) 2001 <a:www.garagegames.com>GarageGames.Com</a>\n"@
|
||||
"<bitmap:demo/client/ui/gglogo150>";
|
||||
aboutText.setText(%text);
|
||||
}
|
||||
|
||||
function aboutText::onURL(%this, %url)
|
||||
{
|
||||
echo(%this);
|
||||
echo(%url);
|
||||
gotoWebPage( %url );
|
||||
}
|
||||
|
BIN
example/demo/client/ui/arrows/arrow_left_h.png
Executable file
After Width: | Height: | Size: 5.9 KiB |
BIN
example/demo/client/ui/arrows/arrow_left_n.png
Executable file
After Width: | Height: | Size: 5.7 KiB |
BIN
example/demo/client/ui/arrows/arrow_right_h.png
Executable file
After Width: | Height: | Size: 5.9 KiB |
BIN
example/demo/client/ui/arrows/arrow_right_n.png
Executable file
After Width: | Height: | Size: 5.8 KiB |
BIN
example/demo/client/ui/arrows/exit_h.png
Executable file
After Width: | Height: | Size: 6.1 KiB |
BIN
example/demo/client/ui/arrows/exit_n.png
Executable file
After Width: | Height: | Size: 5.9 KiB |
BIN
example/demo/client/ui/background.jpg
Executable file
After Width: | Height: | Size: 86 KiB |
BIN
example/demo/client/ui/btm_border.png
Normal file
After Width: | Height: | Size: 580 B |
BIN
example/demo/client/ui/btm_corner.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
example/demo/client/ui/button_h.png
Executable file
After Width: | Height: | Size: 3.1 KiB |
BIN
example/demo/client/ui/button_n.png
Executable file
After Width: | Height: | Size: 3.2 KiB |
BIN
example/demo/client/ui/buttons/buy_now_h.png
Normal file
After Width: | Height: | Size: 26 KiB |
BIN
example/demo/client/ui/buttons/buy_now_n.png
Normal file
After Width: | Height: | Size: 26 KiB |
BIN
example/demo/client/ui/buttons/credits_h.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
example/demo/client/ui/buttons/credits_n.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
example/demo/client/ui/buttons/exit_h.png
Executable file
After Width: | Height: | Size: 899 B |
BIN
example/demo/client/ui/buttons/exit_n.png
Executable file
After Width: | Height: | Size: 931 B |
BIN
example/demo/client/ui/buttons/home_h.png
Executable file
After Width: | Height: | Size: 1.1 KiB |
BIN
example/demo/client/ui/buttons/home_n.png
Executable file
After Width: | Height: | Size: 1.2 KiB |
BIN
example/demo/client/ui/buttons/options_h.png
Executable file
After Width: | Height: | Size: 1.6 KiB |
BIN
example/demo/client/ui/buttons/options_n.png
Executable file
After Width: | Height: | Size: 1.6 KiB |
BIN
example/demo/client/ui/buttons/purchase_h.png
Executable file
After Width: | Height: | Size: 1.6 KiB |
BIN
example/demo/client/ui/buttons/purchase_n.png
Executable file
After Width: | Height: | Size: 1.7 KiB |
BIN
example/demo/client/ui/buttons/website_h.png
Executable file
After Width: | Height: | Size: 1.6 KiB |
BIN
example/demo/client/ui/buttons/website_n.png
Executable file
After Width: | Height: | Size: 1.7 KiB |
160
example/demo/client/ui/chatHud.gui
Executable file
@ -0,0 +1,160 @@
|
||||
//-----------------------------------------------------------------------------
|
||||
// Chat edit window
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
new GuiControl(MessageHud)
|
||||
{
|
||||
profile = "GuiDefaultProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "height";
|
||||
position = "0 0";
|
||||
extent = "640 480";
|
||||
minExtent = "8 8";
|
||||
visible = "0";
|
||||
noCursor = true;
|
||||
|
||||
new GuiBitmapBorderCtrl(MessageHud_Frame) {
|
||||
profile = "ChatHudBorderProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "120 375";
|
||||
extent = "400 40";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
|
||||
new GuiBitmapCtrl() {
|
||||
profile = "GuiDefaultProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "height";
|
||||
position = "8 8";
|
||||
extent = "384 24";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
bitmap = "./hudfill";
|
||||
wrap = "0";
|
||||
};
|
||||
|
||||
new GuiTextCtrl(MessageHud_Text)
|
||||
{
|
||||
profile = "ChatHudTextProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "14 12";
|
||||
extent = "10 22";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
};
|
||||
|
||||
new GuiTextEditCtrl(MessageHud_Edit)
|
||||
{
|
||||
profile = "ChatHudEditProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "0 13";
|
||||
extent = "10 22";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
altCommand = "$ThisControl.eval();";
|
||||
escapeCommand = "MessageHud_Edit.onEscape();";
|
||||
historySize = "5";
|
||||
maxLength = "120";
|
||||
};
|
||||
};
|
||||
};
|
||||
//--- OBJECT WRITE BEGIN ---
|
||||
new GuiControl(MainChatHud) {
|
||||
profile = "GuiModelessDialogProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "height";
|
||||
position = "0 0";
|
||||
extent = "640 480";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
noCursor = "1";
|
||||
|
||||
new GuiControl() {
|
||||
profile = "GuiDefaultProfile";
|
||||
horizSizing = "relative";
|
||||
vertSizing = "bottom";
|
||||
position = "0 0";
|
||||
extent = "400 300";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
|
||||
new GuiBitmapBorderCtrl(OuterChatHud) {
|
||||
profile = "ChatHudBorderProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "bottom";
|
||||
position = "0 0";
|
||||
extent = "272 88";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
useVariable = "0";
|
||||
tile = "0";
|
||||
|
||||
new GuiBitmapCtrl() {
|
||||
profile = "GuiDefaultProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "height";
|
||||
position = "8 8";
|
||||
extent = "256 72";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
bitmap = "./hudfill";
|
||||
wrap = "0";
|
||||
};
|
||||
|
||||
new GuiButtonCtrl(chatPageDown) {
|
||||
profile = "GuiButtonProfile";
|
||||
horizSizing = "left";
|
||||
vertSizing = "top";
|
||||
position = "220 58";
|
||||
extent = "36 14";
|
||||
minExtent = "8 8";
|
||||
visible = "0";
|
||||
helpTag = "0";
|
||||
text = "Dwn";
|
||||
groupNum = "-1";
|
||||
buttonType = "PushButton";
|
||||
};
|
||||
new GuiScrollCtrl(ChatScrollHud) {
|
||||
profile = "ChatHudScrollProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "height";
|
||||
position = "8 8";
|
||||
extent = "256 72";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
willFirstRespond = "1";
|
||||
hScrollBar = "alwaysOff";
|
||||
vScrollBar = "alwaysOff";
|
||||
constantThumbHeight = "0";
|
||||
childMargin = "0 0";
|
||||
|
||||
new GuiMessageVectorCtrl(ChatHud) {
|
||||
profile = "ChatHudMessageProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "height";
|
||||
position = "1 1";
|
||||
extent = "252 16";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
lineSpacing = "0";
|
||||
lineContinuedIndex = "10";
|
||||
allowedMatches[0] = "http";
|
||||
allowedMatches[1] = "tgeserver";
|
||||
matchColor = "0 0 255 255";
|
||||
maxColorIndex = "5";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
BIN
example/demo/client/ui/chatHudBorderArray.png
Executable file
After Width: | Height: | Size: 8.5 KiB |
BIN
example/demo/client/ui/crossHair.png
Executable file
After Width: | Height: | Size: 329 B |
174
example/demo/client/ui/customProfiles.cs
Executable file
@ -0,0 +1,174 @@
|
||||
//-----------------------------------------------------------------------------
|
||||
// Torque Game Engine
|
||||
// Copyright (c) 2002 GarageGames.Com
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
new GuiControlProfile (GuiDefaultProfile)
|
||||
{
|
||||
tab = false;
|
||||
canKeyFocus = false;
|
||||
hasBitmapArray = false;
|
||||
mouseOverSelected = false;
|
||||
|
||||
// fill color
|
||||
opaque = false;
|
||||
fillColor = "127 136 153";
|
||||
fillColorHL = "197 202 211";
|
||||
fillColorNA = "144 154 171";
|
||||
|
||||
// border color
|
||||
border = false;
|
||||
borderColor = "0 0 0";
|
||||
borderColorHL = "197 202 211";
|
||||
borderColorNA = "91 101 119";
|
||||
|
||||
bevelColorHL = "255 255 255";
|
||||
bevelColorLL = "0 0 0";
|
||||
|
||||
// font
|
||||
fontType = "Arial";
|
||||
fontSize = 14;
|
||||
fontCharset = CHINESEBIG5;
|
||||
|
||||
fontColor = "0 0 0";
|
||||
fontColorHL = "73 82 97";
|
||||
fontColorNA = "0 0 0";
|
||||
fontColorSEL= "226 237 255";
|
||||
|
||||
// bitmap information
|
||||
bitmap = "./demoWindow";
|
||||
bitmapBase = "";
|
||||
textOffset = "0 0";
|
||||
|
||||
// used by guiTextControl
|
||||
modal = true;
|
||||
justify = "left";
|
||||
autoSizeWidth = false;
|
||||
autoSizeHeight = false;
|
||||
returnTab = false;
|
||||
numbersOnly = false;
|
||||
cursorColor = "0 0 0 255";
|
||||
|
||||
// sounds
|
||||
soundButtonDown = "";
|
||||
soundButtonOver = "";
|
||||
};
|
||||
|
||||
new GuiControlProfile (TooltipProfile)
|
||||
{
|
||||
fillColor = "255 255 225";
|
||||
border = true;
|
||||
borderColor = "0 0 0";
|
||||
fontSize = 14;
|
||||
fontType = "Arial";
|
||||
fontColor = "0 0 0";
|
||||
};
|
||||
|
||||
new GuiControlProfile (GuiWindowProfile)
|
||||
{
|
||||
opaque = true;
|
||||
border = 2;
|
||||
fillColor = "145 154 171";
|
||||
fillColorHL = "221 202 173";
|
||||
fillColorNA = "221 202 173";
|
||||
fontColor = "255 255 255";
|
||||
fontColorHL = "255 255 255";
|
||||
text = "GuiWindowCtrl test";
|
||||
bitmap = "./demoWindow";
|
||||
textOffset = "6 6";
|
||||
hasBitmapArray = true;
|
||||
justify = "center";
|
||||
};
|
||||
|
||||
new GuiControlProfile (GuiScrollProfile)
|
||||
{
|
||||
opaque = true;
|
||||
fillColor = "255 255 255";
|
||||
border = 3;
|
||||
borderThickness = 2;
|
||||
borderColor = "0 0 0";
|
||||
bitmap = "./demoScroll";
|
||||
hasBitmapArray = true;
|
||||
};
|
||||
|
||||
$fontColorHL = "55 64 78";
|
||||
new GuiControlProfile (GuiButtonProfile)
|
||||
{
|
||||
opaque = true;
|
||||
border = true;
|
||||
fontColor = "0 0 0";
|
||||
fontColorHL = $fontColorHL;
|
||||
fixedExtent = true;
|
||||
justify = "center";
|
||||
canKeyFocus = false;
|
||||
};
|
||||
|
||||
new GuiControlProfile (GuiOkayButtonProfile)
|
||||
{
|
||||
opaque = true;
|
||||
border = true;
|
||||
fontColor = "0 0 0";
|
||||
fontColorHL = $fontColorHL;
|
||||
fontSize = 24;
|
||||
fixedExtent = true;
|
||||
justify = "center";
|
||||
canKeyFocus = false;
|
||||
};
|
||||
|
||||
new GuiControlProfile (GuiCheckBoxProfile)
|
||||
{
|
||||
opaque = false;
|
||||
fillColor = "0 0 0";
|
||||
border = false;
|
||||
borderColor = "0 0 0";
|
||||
fontSize = 14;
|
||||
fontColor = "0 0 0";
|
||||
fontColorHL = $fontColorHL;
|
||||
fixedExtent = true;
|
||||
justify = "left";
|
||||
bitmap = "./demoCheck";
|
||||
hasBitmapArray = true;
|
||||
};
|
||||
|
||||
new GuiControlProfile (GuiRadioProfile)
|
||||
{
|
||||
fontSize = 14;
|
||||
fillColor = "0 0 0";
|
||||
fontColorHL = $fontColorHL;
|
||||
fixedExtent = true;
|
||||
bitmap = "./demoRadio";
|
||||
hasBitmapArray = true;
|
||||
};
|
||||
|
||||
new GuiControlProfile (GuiTitleProfile)
|
||||
{
|
||||
opaque = false;
|
||||
fontType = "Arial Bold";
|
||||
fontSize = 32;
|
||||
fontColor = "255 255 255";
|
||||
fontColorHL = "255 255 255";
|
||||
justify = "right";
|
||||
};
|
||||
|
||||
new GuiControlProfile (GuiPopUpTextProfile)
|
||||
{
|
||||
fontType = "Arial";
|
||||
fontSize = 14;
|
||||
fontColor = "255 255 255";
|
||||
fontColorHL = "255 255 255";
|
||||
fontColorLink = "255 96 96";
|
||||
fontColorLinkHL = "0 0 255";
|
||||
};
|
||||
|
||||
new GuiControlProfile (GuiEditorsTextProfile)
|
||||
{
|
||||
fontType = "Arial Bold";
|
||||
fontSize = 19;
|
||||
fontColor = "255 255 255";
|
||||
fontColorHL = "255 255 255";
|
||||
fontColorLink = "255 96 96";
|
||||
fontColorLinkHL = "0 0 255";
|
||||
};
|
||||
|
||||
|
||||
|
137
example/demo/client/ui/defaultGameProfiles.cs
Executable file
@ -0,0 +1,137 @@
|
||||
//-----------------------------------------------------------------------------
|
||||
// Torque Game Engine
|
||||
// Copyright (C) GarageGames.com, Inc.
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Override base controls
|
||||
GuiButtonProfile.soundButtonOver = "AudioButtonOver";
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Chat Hud profiles
|
||||
|
||||
|
||||
new GuiControlProfile (ChatHudEditProfile)
|
||||
{
|
||||
opaque = false;
|
||||
fillColor = "255 255 255";
|
||||
fillColorHL = "128 128 128";
|
||||
border = false;
|
||||
borderThickness = 0;
|
||||
borderColor = "40 231 240";
|
||||
fontColor = "40 231 240";
|
||||
fontColorHL = "40 231 240";
|
||||
fontColorNA = "128 128 128";
|
||||
textOffset = "0 2";
|
||||
autoSizeWidth = false;
|
||||
autoSizeHeight = true;
|
||||
tab = true;
|
||||
canKeyFocus = true;
|
||||
};
|
||||
|
||||
|
||||
new GuiControlProfile( GuiBevelLoweredProfile )
|
||||
{
|
||||
opaque = true;
|
||||
fillColor = "255 255 255 80";
|
||||
border = 3;
|
||||
borderThickness = 2;
|
||||
borderColor = "0 0 0 80";
|
||||
bitmap = "./demoScroll";
|
||||
hasBitmapArray = true;
|
||||
};
|
||||
|
||||
|
||||
new GuiControlProfile (ChatHudTextProfile)
|
||||
{
|
||||
opaque = false;
|
||||
fillColor = "255 255 255";
|
||||
fillColorHL = "128 128 128";
|
||||
border = false;
|
||||
borderThickness = 0;
|
||||
borderColor = "40 231 240";
|
||||
fontColor = "40 231 240";
|
||||
fontColorHL = "40 231 240";
|
||||
fontColorNA = "128 128 128";
|
||||
textOffset = "0 0";
|
||||
autoSizeWidth = true;
|
||||
autoSizeHeight = true;
|
||||
tab = true;
|
||||
canKeyFocus = true;
|
||||
};
|
||||
|
||||
new GuiControlProfile ("ChatHudMessageProfile")
|
||||
{
|
||||
fontType = "Arial";
|
||||
fontSize = 16;
|
||||
fontColor = "44 172 181"; // default color (death msgs, scoring, inventory)
|
||||
fontColors[1] = "4 235 105"; // client join/drop, tournament mode
|
||||
fontColors[2] = "219 200 128"; // gameplay, admin/voting, pack/deployable
|
||||
fontColors[3] = "77 253 95"; // team chat, spam protection message, client tasks
|
||||
fontColors[4] = "40 231 240"; // global chat
|
||||
fontColors[5] = "200 200 50 200"; // used in single player game
|
||||
// WARNING! Colors 6-9 are reserved for name coloring
|
||||
autoSizeWidth = true;
|
||||
autoSizeHeight = true;
|
||||
};
|
||||
|
||||
new GuiControlProfile ("ChatHudScrollProfile")
|
||||
{
|
||||
opaque = false;
|
||||
border = false;
|
||||
borderColor = "0 255 0";
|
||||
bitmap = "common/ui/darkScroll";
|
||||
hasBitmapArray = true;
|
||||
};
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Common Hud profiles
|
||||
|
||||
new GuiControlProfile ("HudScrollProfile")
|
||||
{
|
||||
opaque = false;
|
||||
border = true;
|
||||
borderColor = "0 255 0";
|
||||
bitmap = "common/ui/darkScroll";
|
||||
hasBitmapArray = true;
|
||||
};
|
||||
|
||||
new GuiControlProfile ("HudTextProfile")
|
||||
{
|
||||
opaque = false;
|
||||
fillColor = "128 128 128";
|
||||
fontColor = "0 255 0";
|
||||
border = true;
|
||||
borderColor = "0 255 0";
|
||||
};
|
||||
|
||||
new GuiControlProfile ("ChatHudBorderProfile")
|
||||
{
|
||||
bitmap = "./chatHudBorderArray";
|
||||
hasBitmapArray = true;
|
||||
opaque = false;
|
||||
};
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Center and bottom print
|
||||
|
||||
new GuiControlProfile ("CenterPrintProfile")
|
||||
{
|
||||
opaque = false;
|
||||
fillColor = "128 128 128";
|
||||
fontColor = "0 255 0";
|
||||
border = true;
|
||||
borderColor = "0 255 0";
|
||||
};
|
||||
|
||||
new GuiControlProfile ("CenterPrintTextProfile")
|
||||
{
|
||||
opaque = false;
|
||||
fontType = "Arial";
|
||||
fontSize = 12;
|
||||
fontColor = "0 255 0";
|
||||
};
|
||||
|
||||
|
BIN
example/demo/client/ui/demoCheck.png
Executable file
After Width: | Height: | Size: 509 B |
BIN
example/demo/client/ui/demoMenu.png
Executable file
After Width: | Height: | Size: 1.5 KiB |
BIN
example/demo/client/ui/demoRadio.png
Executable file
After Width: | Height: | Size: 604 B |
BIN
example/demo/client/ui/demoScroll.png
Executable file
After Width: | Height: | Size: 1.9 KiB |
BIN
example/demo/client/ui/demoWindow.png
Executable file
After Width: | Height: | Size: 1.7 KiB |
BIN
example/demo/client/ui/editor.png
Executable file
After Width: | Height: | Size: 119 KiB |
71
example/demo/client/ui/endGameGui.gui
Executable file
@ -0,0 +1,71 @@
|
||||
//--- OBJECT WRITE BEGIN ---
|
||||
new GuiChunkedBitmapCtrl(EndGameGui) {
|
||||
profile = "GuiContentProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "height";
|
||||
position = "0 0";
|
||||
extent = "640 480";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
bitmap = "./background";
|
||||
useVariable = "0";
|
||||
tile = "0";
|
||||
|
||||
new GuiControl() {
|
||||
profile = "GuiWindowProfile";
|
||||
horizSizing = "center";
|
||||
vertSizing = "center";
|
||||
position = "92 86";
|
||||
extent = "455 308";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
|
||||
new GuiTextCtrl() {
|
||||
profile = "GuiMediumTextProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "101 15";
|
||||
extent = "251 28";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
text = "Game Over - Final Scores:";
|
||||
maxLength = "255";
|
||||
};
|
||||
new GuiScrollCtrl() {
|
||||
profile = "GuiScrollProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "height";
|
||||
position = "5 51";
|
||||
extent = "444 251";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
willFirstRespond = "1";
|
||||
hScrollBar = "alwaysOff";
|
||||
vScrollBar = "dynamic";
|
||||
constantThumbHeight = "0";
|
||||
childMargin = "0 0";
|
||||
defaultLineHeight = "15";
|
||||
|
||||
new GuiTextListCtrl(EndGameGuiList) {
|
||||
profile = "GuiTextProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "height";
|
||||
position = "2 2";
|
||||
extent = "440 16";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
enumerate = "0";
|
||||
resizeCell = "1";
|
||||
columns = "0 256";
|
||||
fitParentWidth = "1";
|
||||
clipColumnText = "0";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
118
example/demo/client/ui/features/features_core.txt
Normal file
@ -0,0 +1,118 @@
|
||||
|
||||
<font:Arial Bold:18><lmargin%:2>Below is a more detailed list of Torque Game Engine features grouped by area of interest. This is by no means a complete feature list.
|
||||
<font:Arial:16>
|
||||
<spush><font:Arial Bold:18><lmargin%:2>Torque Core<spop>
|
||||
<lmargin%:5>• Multi-Platform
|
||||
• Windows server & client with OpenGL and DirectX
|
||||
• Mac OS 9/X server & client with OpenGL
|
||||
• Linux server & client with OpenGL
|
||||
• Journaling and Integrated hierarchical profiler
|
||||
• Math library, Vector, Matrix, Quaternion, etc.
|
||||
• Efficient memory manager with extensive debugging features
|
||||
• Resource Manager
|
||||
• File and Stream IO
|
||||
• Keyboard, Mouse and Joystick Input
|
||||
• SFX/Music driver using OpenAL
|
||||
• Spatial Database
|
||||
• Collision Testing
|
||||
• Vehicle Physics
|
||||
|
||||
<spush><font:Arial Bold:18><lmargin%:2>Torque Script<spop>
|
||||
<lmargin%:5>• C++ like syntax
|
||||
• Local and Remote Debugging
|
||||
|
||||
<spush><font:Arial Bold:18><lmargin%:2>Integrated Script Compiler<spop>
|
||||
<lmargin%:5>• Intermediate tokenized object format
|
||||
• On-demand compilation
|
||||
• Large complement of functions including math, object manipulation, fileIO, TCP/IP, etc.
|
||||
• Easily extend with plug-ins
|
||||
|
||||
<spush><font:Arial Bold:18><lmargin%:2>Tools<spop>
|
||||
<lmargin%:5>• Complete source code for all tools
|
||||
• Milkshape and 3DStudio Max plug-ins, including an exporter and helper objects
|
||||
• Quark and WorldCraft converter and lighting
|
||||
• Integrated World Editor, GUI Editor, Terrain Editor, Terrain Generator
|
||||
|
||||
<spush><font:Arial Bold:18><lmargin%:2>World Editor<spop>
|
||||
<lmargin%:5>• Integrated world builder
|
||||
• WYSIWYG
|
||||
• Construct, place, size, scale and rotate objects
|
||||
• Multi-level undo/redo
|
||||
• Edit object properties
|
||||
• Control lighting
|
||||
• Script object behaviors
|
||||
• Built-in terrain editor
|
||||
• Rule based fractal height field generator
|
||||
• Rule based fractal terrain texturing
|
||||
|
||||
<spush><font:Arial Bold:18><lmargin%:2>GUI Editor<spop>
|
||||
<lmargin%:5>• Integrated GUI editor
|
||||
• WYSIWYG
|
||||
• Build fully scriptable interfaces
|
||||
• Includes set of default controls
|
||||
• Write custom controls
|
||||
• Extensive font support
|
||||
|
||||
<spush><font:Arial Bold:18><lmargin%:2>Networking<spop>
|
||||
<lmargin%:5>• Award winning client/server architecture
|
||||
• Uses UDP and TCP
|
||||
• Packet stream manager
|
||||
• Object ghost manager with partial object updates
|
||||
• Bit level stream packing
|
||||
• String and message packing
|
||||
• Uses the optimal Notified Delivery Protocol
|
||||
|
||||
<spush><font:Arial Bold:18><lmargin%:2>Rendering Engine<spop>
|
||||
<lmargin%:5>• Multi-pass texturing
|
||||
• Layered volumetric fog
|
||||
• Decals
|
||||
• Detail texturing
|
||||
• Environment mapping
|
||||
• Vertex and multi-pass lighting
|
||||
• True spherical distance fogging (for terrain, buildings)
|
||||
• Spherical distance clipping (for terrain, buildings)
|
||||
|
||||
<spush><font:Arial Bold:18><lmargin%:2>Terrain Engine<spop>
|
||||
<lmargin%:5>• Continuous, seemless, LOD mesh generation (using screen error metrics)
|
||||
• Aggregated tile mip-mapping
|
||||
• Light mapped for hill and building shadows
|
||||
• Dynamically generated blend tiles
|
||||
• Altitude based fog banks
|
||||
• Seamless integration with the interior engine
|
||||
|
||||
<spush><font:Arial Bold:18><lmargin%:2>Interior/Building Engine<spop>
|
||||
<lmargin%:5>• Portal based interiors
|
||||
• Seamless integration with the terrain engine
|
||||
• Detail brushes
|
||||
• Animated lightmaps
|
||||
• Buildings can be instanced, placed, manipulated and yes, scaled, with the world editor
|
||||
• Quark and Worldcraft converter
|
||||
|
||||
<spush><font:Arial Bold:18><lmargin%:2>Mesh Engine<spop>
|
||||
<lmargin%:5>• Continuous level of detail based on a progressive mesh algorithm
|
||||
• Supports, bone, mesh, texture bitmap, texture coor. and visibilty animation
|
||||
• Mesh vertex deformation animation
|
||||
• Multi-bone mesh skeletal animation
|
||||
• Simple interface to multi-sequence animation manager
|
||||
• Damage detail level
|
||||
• Collision detail level
|
||||
• Projected object shadows (clipped against the environment)
|
||||
• 3DStudio Max & MilkShape exporters
|
||||
|
||||
<spush><font:Arial Bold:18><lmargin%:2>Water Engine<spop>
|
||||
<lmargin%:5>• Continuous, seemless, LOD mesh generation (using screen error metrics) for large bodies of water
|
||||
• Dynamic waves
|
||||
• Multi-pass wave crest and shoreline textures
|
||||
• Integration with terrain and interior engines
|
||||
|
||||
<spush><font:Arial Bold:18><lmargin%:2>Particle Engine<spop>
|
||||
<lmargin%:5>• Integrated with scripting engine
|
||||
• Animate texture and scale
|
||||
• Specify particle mass, drag, starting velocity, etc.
|
||||
• Sophisticated particle generators which can emit multiple particle types at once
|
||||
|
||||
<spush><font:Arial Bold:18><lmargin%:2>Sound<spop>
|
||||
<lmargin%:5>• Multi-channel prioritized SFX manager
|
||||
• 3D sound support; panning, volume, doppler, cones
|
||||
• OpenAL
|
||||
|
46
example/demo/client/ui/features/features_gui.gui
Normal file
@ -0,0 +1,46 @@
|
||||
//--- OBJECT WRITE BEGIN ---
|
||||
new GuiControl(features_gui) {
|
||||
profile = "GuiModelessDialogProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "0 0";
|
||||
extent = "640 480";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
title = "GUI System & Editor";
|
||||
|
||||
new GuiScrollCtrl() {
|
||||
profile = "GuiBevelLoweredProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "height";
|
||||
position = "30 106";
|
||||
extent = "580 270";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
willFirstRespond = "1";
|
||||
hScrollBar = "alwaysOff";
|
||||
vScrollBar = "alwaysOn";
|
||||
constantThumbHeight = "0";
|
||||
childMargin = "0 0";
|
||||
|
||||
new GuiMLTextCtrl() {
|
||||
profile = "GuiMLTextProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "height";
|
||||
position = "14 12";
|
||||
extent = "553 14";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
lineSpacing = "2";
|
||||
allowColorChars = "0";
|
||||
maxChars = "-1";
|
||||
text = "main";
|
||||
fileName = "demo/client/ui/features/features_gui.txt";
|
||||
};
|
||||
};
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
||||
|
24
example/demo/client/ui/features/features_gui.txt
Normal file
@ -0,0 +1,24 @@
|
||||
<lmargin%:2><just:right><bitmap:demo/client/ui/features/gui_editor>
|
||||
<just:left><font:Arial Bold:18>GUI System and WYSIWYG Editor
|
||||
<font:Arial:16><lmargin%:5>If you have ever built a GUI system from scratch, you know how time consuming it is to implement all the features today's users are accustomed to: Copy, cut paste, tabbing, text selection, window focus, modal and non-modal dialogs, etc. The Torque Game Engine comes with a complete GUI implementation (Torque Script enabled of course) as well as a full-featured, in-engine, WYSIWYG editor for rapid prototyping and development. You can use the built in controls or easily create your own.
|
||||
|
||||
<lmargin%:2><font:Arial Bold:18>GUI System Features<font:Arial:16><lmargin%:5>
|
||||
• Build fully scriptable interfaces
|
||||
• Includes a complete set of default controls
|
||||
• Write custom controls
|
||||
• Fully Unicode compliant
|
||||
• Extensive font support
|
||||
• Integrates with OS clipboard
|
||||
• Includes complex text-flow controls (like this one) supporting hyperlinks, images, text formatting and more
|
||||
• Automatically adjust and scale to resolution changes
|
||||
|
||||
<lmargin%:2><font:Arial Bold:18>GUI Editor Features<font:Arial:16><lmargin%:5>
|
||||
• Integrated WYSIWYG GUI editor
|
||||
• Edit and test without exiting.
|
||||
• Hierarchal control view
|
||||
• Property editor
|
||||
• Drag and drop interface
|
||||
• Supports copy, cut paste of controls
|
||||
• Align selected controls
|
||||
• Auto space selected controls
|
||||
• Bring forward/back assign parent controls
|
46
example/demo/client/ui/features/features_interior.gui
Normal file
@ -0,0 +1,46 @@
|
||||
//--- OBJECT WRITE BEGIN ---
|
||||
new GuiControl(features_interior) {
|
||||
profile = "GuiModelessDialogProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "0 0";
|
||||
extent = "640 480";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
title = "Interior Rendering";
|
||||
|
||||
new GuiScrollCtrl() {
|
||||
profile = "GuiBevelLoweredProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "height";
|
||||
position = "30 106";
|
||||
extent = "580 270";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
willFirstRespond = "1";
|
||||
hScrollBar = "alwaysOff";
|
||||
vScrollBar = "alwaysOn";
|
||||
constantThumbHeight = "0";
|
||||
childMargin = "0 0";
|
||||
|
||||
new GuiMLTextCtrl() {
|
||||
profile = "GuiMLTextProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "height";
|
||||
position = "14 12";
|
||||
extent = "553 14";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
lineSpacing = "2";
|
||||
allowColorChars = "0";
|
||||
maxChars = "-1";
|
||||
text = "main";
|
||||
fileName = "demo/client/ui/features/features_interior.txt";
|
||||
};
|
||||
};
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
||||
|
18
example/demo/client/ui/features/features_interior.txt
Normal file
@ -0,0 +1,18 @@
|
||||
<lmargin%:2><just:right><bitmap:demo/client/ui/features/ss_ie>
|
||||
<just:left><font:Arial Bold:18>Interior Rendering Engine<font:Arial:16>
|
||||
<lmargin%:5>The portal based interior engine is capable of rendering enormous enclosed spaces. External light sources filter through windows and properly illuminate interior surfaces.
|
||||
|
||||
<lmargin%:2><font:Arial Bold:18>Feature Highlights:<font:Arial:16><lmargin%:5>
|
||||
• Portal based visibility
|
||||
• Level-of-Detail support
|
||||
• Detail brushes
|
||||
• Per pixel, colored light maps
|
||||
• Animated lightmaps
|
||||
• Buildings can be instanced, placed, manipulated and scaled
|
||||
• Seamless integration with the terrain engine
|
||||
|
||||
<lmargin%:2><font:Arial Bold:18>Editors:<font:Arial:16><lmargin%:5>
|
||||
• Constructor .map editor
|
||||
• Quark .map editor
|
||||
• 3D World Studio editor
|
||||
• Hammer .map editor
|
46
example/demo/client/ui/features/features_main.gui
Executable file
@ -0,0 +1,46 @@
|
||||
//--- OBJECT WRITE BEGIN ---
|
||||
new GuiControl(features_main) {
|
||||
profile = "GuiModelessDialogProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "0 0";
|
||||
extent = "640 480";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
title = "Torque in a Nutshell";
|
||||
|
||||
new GuiScrollCtrl() {
|
||||
profile = "GuiBevelLoweredProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "height";
|
||||
position = "30 106";
|
||||
extent = "580 270";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
willFirstRespond = "1";
|
||||
hScrollBar = "alwaysOff";
|
||||
vScrollBar = "alwaysOn";
|
||||
constantThumbHeight = "0";
|
||||
childMargin = "0 0";
|
||||
|
||||
new GuiMLTextCtrl() {
|
||||
profile = "GuiMLTextProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "height";
|
||||
position = "2 2";
|
||||
extent = "553 514";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
lineSpacing = "2";
|
||||
allowColorChars = "0";
|
||||
maxChars = "-1";
|
||||
text = "main";
|
||||
fileName = "demo/client/ui/features/features_main.txt";
|
||||
};
|
||||
};
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
||||
|
8
example/demo/client/ui/features/features_main.txt
Executable file
@ -0,0 +1,8 @@
|
||||
<lmargin%:2><just:right><bitmap:demo/client/ui/features/tge>
|
||||
<just:left><font:Arial Bold:18>The Torque Game Engine<font:Arial:16>
|
||||
<lmargin%:5>The Torque Game Engine (TGE) is a full featured AAA game engine with award winning multiplayer network code, seamless indoor/outdoor rendering engines, state of the art skeletal animation, drag and drop GUI creation, a built in world editor, and a C-like scripting language. Unlike most commercial game engines, as part of the low cost license, you receive all C++ source code to the engine and built in tools, so you can customize the engine and make your game perform exactly to your own specifications.
|
||||
|
||||
Don't spend your limited time reinventing the technology wheel. Instead, use an industry proven game development engine that can enhance your creativity, productivity and get your game done faster.
|
||||
|
||||
<lmargin%:2><font:Arial Bold:18>Features<font:Arial:16>
|
||||
<lmargin%:5>The next several pages provide an overview of the major engine features. Click the right arrow below to learn more about Scripting, the GUI System, Networking, Audio, Rendering, Interiors, Terrains, Water and much more....
|
46
example/demo/client/ui/features/features_mesh.gui
Normal file
@ -0,0 +1,46 @@
|
||||
//--- OBJECT WRITE BEGIN ---
|
||||
new GuiControl(features_mesh) {
|
||||
profile = "GuiModelessDialogProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "0 0";
|
||||
extent = "640 480";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
title = "Mesh Rendering";
|
||||
|
||||
new GuiScrollCtrl() {
|
||||
profile = "GuiBevelLoweredProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "height";
|
||||
position = "30 106";
|
||||
extent = "580 270";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
willFirstRespond = "1";
|
||||
hScrollBar = "alwaysOff";
|
||||
vScrollBar = "alwaysOn";
|
||||
constantThumbHeight = "0";
|
||||
childMargin = "0 0";
|
||||
|
||||
new GuiMLTextCtrl() {
|
||||
profile = "GuiMLTextProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "height";
|
||||
position = "14 12";
|
||||
extent = "553 14";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
lineSpacing = "2";
|
||||
allowColorChars = "0";
|
||||
maxChars = "-1";
|
||||
text = "main";
|
||||
fileName = "demo/client/ui/features/features_mesh.txt";
|
||||
};
|
||||
};
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
||||
|
17
example/demo/client/ui/features/features_mesh.txt
Normal file
@ -0,0 +1,17 @@
|
||||
<lmargin%:2><just:right><bitmap:demo/client/ui/features/ss_me>
|
||||
<just:left><font:Arial Bold:18>Mesh Rendering Engine<font:Arial:16>
|
||||
<lmargin%:5>The work-horse of the Torque Game Engine, the mesh rendering engine does it all. Use single mesh and hierarchal mesh part shapes for players, vehicles, guns, projectiles, trees, rocks, you name it. Add multiple complex animation sequences and even blend between multiple active animations!
|
||||
|
||||
<lmargin%:2><font:Arial Bold:18>Feature Highlights:<font:Arial:16><lmargin%:5>
|
||||
• Continuous Level-of-Detail based on a progressive mesh algorithm
|
||||
• Supports bone, mesh, texture bitmap, texture coordinate and visibility animations
|
||||
• Supports both discrete LOD meshes as well as progressive LOD
|
||||
• Blend between multiple simultaneous animations
|
||||
• Mesh vertex deformation animation
|
||||
• Multi-bone mesh skeletal animation
|
||||
• Simple interface to multi-sequence animation manager
|
||||
• Damage detail level
|
||||
• Full collision implementation
|
||||
• Projected object shadows (clipped against the environment)
|
||||
• 3D Studio Max, Maya, Blender, Lightwave and MilkShape exporters
|
||||
• Robust animation SDK you can use and extend in your own objects
|
46
example/demo/client/ui/features/features_net.gui
Normal file
@ -0,0 +1,46 @@
|
||||
//--- OBJECT WRITE BEGIN ---
|
||||
new GuiControl(features_net) {
|
||||
profile = "GuiModelessDialogProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "0 0";
|
||||
extent = "640 480";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
title = "Torque Networking";
|
||||
|
||||
new GuiScrollCtrl() {
|
||||
profile = "GuiBevelLoweredProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "height";
|
||||
position = "30 106";
|
||||
extent = "580 270";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
willFirstRespond = "1";
|
||||
hScrollBar = "alwaysOff";
|
||||
vScrollBar = "alwaysOn";
|
||||
constantThumbHeight = "0";
|
||||
childMargin = "0 0";
|
||||
|
||||
new GuiMLTextCtrl() {
|
||||
profile = "GuiMLTextProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "height";
|
||||
position = "14 12";
|
||||
extent = "553 14";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
lineSpacing = "2";
|
||||
allowColorChars = "0";
|
||||
maxChars = "-1";
|
||||
text = "main";
|
||||
fileName = "demo/client/ui/features/features_net.txt";
|
||||
};
|
||||
};
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
||||
|
23
example/demo/client/ui/features/features_net.txt
Normal file
@ -0,0 +1,23 @@
|
||||
<lmargin%:2><just:right><bitmap:demo/client/ui/features/torquenetworking>
|
||||
<just:left><font:Arial Bold:18>Torque Networking<font:Arial:16><lmargin%:5>
|
||||
The Torque Game Engine has a strong foundation built into the code for multiplayer games. This award winning network code has been recognized by press and developers alike as being one of the most efficient and responsive multiplayer codebases available. Easily support dozens of players, with support for hundreds of players attainable with close attention to detailing and bandwidth usage (Tribes2 used this code to support 128 player servers). Key features of Torque networking code are: support for multiple data delivery requirements, partial object state updates and an efficient packet delivery notification protocol.
|
||||
|
||||
<font:Arial Bold:18><lmargin%:2>Feature Highlights<font:Arial:16><lmargin%:5>
|
||||
• Award winning client/server architecture
|
||||
• Uses UDP and TCP
|
||||
• Packet stream manager
|
||||
• Object ghost manager
|
||||
• Partial object updates
|
||||
• Metric based partial updates
|
||||
• Bit level stream packing
|
||||
• String and message packing
|
||||
• Uses the optimal Notified Delivery Protocol
|
||||
|
||||
<font:Arial Bold:18><lmargin%:2>Torque Network Library (API)<font:Arial:16><lmargin%:5>
|
||||
Torque Network Library allows developers to take the Torque Game Engine's networking code to the next level. The Torque Network Library (TNL) is a robust, secure, easy to use cross-platform C++ networking API designed for high performance simulations and games. TNL is designed to be easy to integrate into existing products. In less than an hour, you can have a minimal TNL implementation up and running in your game or network product. Within weeks you can take advantage of all the advanced features of the TNL, allowing your game to support more players while using less bandwidth per client than any other solution on the market.
|
||||
|
||||
More information about TNL can be found at <a:www.garagegames.com/pg/product/view.php?id=37>GarageGames</a> and <a:www.opentnl.org>OpenTNL.org</a>.
|
||||
|
||||
<font:Arial Bold:18><lmargin%:2>References<font:Arial:16><lmargin%:5>
|
||||
Session Presentation Notes from Game Developers Conference 2000
|
||||
<a:www.garagegames.com/articles/networking1/>The TRIBES Engine Networking Model or How to Make the Internet Rock for Multi-player Games</a>
|
46
example/demo/client/ui/features/features_particles.gui
Normal file
@ -0,0 +1,46 @@
|
||||
//--- OBJECT WRITE BEGIN ---
|
||||
new GuiControl(features_particles) {
|
||||
profile = "GuiModelessDialogProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "0 0";
|
||||
extent = "640 480";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
title = "Features...";
|
||||
|
||||
new GuiScrollCtrl() {
|
||||
profile = "GuiBevelLoweredProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "height";
|
||||
position = "30 106";
|
||||
extent = "580 270";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
willFirstRespond = "1";
|
||||
hScrollBar = "alwaysOff";
|
||||
vScrollBar = "alwaysOn";
|
||||
constantThumbHeight = "0";
|
||||
childMargin = "0 0";
|
||||
|
||||
new GuiMLTextCtrl() {
|
||||
profile = "GuiMLTextProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "height";
|
||||
position = "14 12";
|
||||
extent = "553 14";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
lineSpacing = "2";
|
||||
allowColorChars = "0";
|
||||
maxChars = "-1";
|
||||
text = "main";
|
||||
fileName = "demo/client/ui/features/features_particles.txt";
|
||||
};
|
||||
};
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
||||
|
5
example/demo/client/ui/features/features_particles.txt
Normal file
@ -0,0 +1,5 @@
|
||||
<spush><font:Arial Bold:18><lmargin%:2>Particle Engine<spop>
|
||||
<lmargin%:5>• Integrated with scripting engine
|
||||
- Animate texture and scale
|
||||
- Specify particle mass, drag, starting velocity, etc.
|
||||
- Sophisticated particle generators which can emit multiple particle types at once
|
46
example/demo/client/ui/features/features_render.gui
Normal file
@ -0,0 +1,46 @@
|
||||
//--- OBJECT WRITE BEGIN ---
|
||||
new GuiControl(features_render) {
|
||||
profile = "GuiModelessDialogProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "0 0";
|
||||
extent = "640 480";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
title = "Rendering Engine Overview";
|
||||
|
||||
new GuiScrollCtrl() {
|
||||
profile = "GuiBevelLoweredProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "height";
|
||||
position = "30 106";
|
||||
extent = "580 270";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
willFirstRespond = "1";
|
||||
hScrollBar = "alwaysOff";
|
||||
vScrollBar = "alwaysOn";
|
||||
constantThumbHeight = "0";
|
||||
childMargin = "0 0";
|
||||
|
||||
new GuiMLTextCtrl() {
|
||||
profile = "GuiMLTextProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "height";
|
||||
position = "14 12";
|
||||
extent = "553 14";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
lineSpacing = "2";
|
||||
allowColorChars = "0";
|
||||
maxChars = "-1";
|
||||
text = "main";
|
||||
fileName = "demo/client/ui/features/features_render.txt";
|
||||
};
|
||||
};
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
||||
|
17
example/demo/client/ui/features/features_render.txt
Normal file
@ -0,0 +1,17 @@
|
||||
<lmargin%:2><just:right><bitmap:demo/client/ui/features/ss_re>
|
||||
<just:left><font:Arial Bold:18>Rendering Engine Overview<font:Arial:16>
|
||||
<lmargin%:5>The scenegraph based rendering system in the Torque Game Engine supports a wide array of rendering tasks: from vast terrains to detailed interior spaces, animated meshes and clouded skys all seamlessly integrate together producing stunning scenery. The next couple pages provide an overview of the major rendering sub-systems.
|
||||
|
||||
<lmargin%:2><font:Arial Bold:18>Feature Highlights:<font:Arial:16><lmargin%:5>
|
||||
• Terrain rendering
|
||||
• Interior rendering
|
||||
• Sky and environmental effects
|
||||
• Complex animated meshes
|
||||
• Multi-pass texturing
|
||||
• Layered volumetric fog
|
||||
• Decals
|
||||
• Detail texturing
|
||||
• Environment mapping
|
||||
• Vertex and multi-pass lighting
|
||||
• True spherical distance fogging (for terrain, buildings)
|
||||
• Spherical distance clipping (for terrain, buildings)
|
46
example/demo/client/ui/features/features_script.gui
Normal file
@ -0,0 +1,46 @@
|
||||
//--- OBJECT WRITE BEGIN ---
|
||||
new GuiControl(features_script) {
|
||||
profile = "GuiModelessDialogProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "0 0";
|
||||
extent = "640 480";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
title = "TorqueScript";
|
||||
|
||||
new GuiScrollCtrl() {
|
||||
profile = "GuiBevelLoweredProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "height";
|
||||
position = "30 106";
|
||||
extent = "580 270";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
willFirstRespond = "1";
|
||||
hScrollBar = "alwaysOff";
|
||||
vScrollBar = "alwaysOn";
|
||||
constantThumbHeight = "0";
|
||||
childMargin = "0 0";
|
||||
|
||||
new GuiMLTextCtrl() {
|
||||
profile = "GuiMLTextProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "height";
|
||||
position = "14 12";
|
||||
extent = "553 14";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
lineSpacing = "2";
|
||||
allowColorChars = "0";
|
||||
maxChars = "-1";
|
||||
text = "main";
|
||||
fileName = "demo/client/ui/features/features_script.txt";
|
||||
};
|
||||
};
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
||||
|
32
example/demo/client/ui/features/features_script.txt
Normal file
@ -0,0 +1,32 @@
|
||||
<lmargin%:2><just:right><bitmap:demo/client/ui/features/torquescript>
|
||||
<just:left><font:Arial Bold:18>TorqueScript<font:Arial:16><lmargin%:5>
|
||||
TorqueScript is the powerful C-like scripting language built into the core of the Torque Game Engine. TorqueScript reduces your development time by allowing you to quickly associate scripted logic and data to engine objects at runtime without exiting the engine. Take a look at any of the numerous .cs and .gui files that come with this demo and you will see just how extensively TorqueScript can be leveraged to get your project done quickly.
|
||||
|
||||
<font:Arial Bold:18><lmargin%:2>Feature Highlights<font:Arial:16><lmargin%:5>
|
||||
• C-like syntax
|
||||
• Large complement of functions including math, object manipulation, fileIO, TCP/IP, etc.
|
||||
• Easily extend with plug-ins
|
||||
• Integrated script compiler
|
||||
• Intermediate tokenized object format
|
||||
• On-demand compilation
|
||||
• Local and remote debugging using built in debugger
|
||||
• Overlay package support
|
||||
• Easily extended from C++ or script
|
||||
|
||||
<font:Arial Bold:18><lmargin%:2>Script Example: AI Player Task Control
|
||||
<lmargin%:5><font:Courier New:14>
|
||||
function AIPlayer::test()
|
||||
{
|
||||
%player = AIPlayer::spawnOnPath("xasd","MissionGroup/Paths/Path2");
|
||||
%player.mountImage(CrossbowImage,0);
|
||||
%player.setInventory(CrossbowAmmo,1000);
|
||||
|
||||
%player.pushTask("followPath(\"MissionGroup/Paths/Path2\")");
|
||||
%player.pushTask("aimAt(\"MissionGroup/Room6/target\")");
|
||||
%player.pushTask("wait(1)");
|
||||
%player.pushTask("fire(true)");
|
||||
%player.pushTask("wait(10)");
|
||||
%player.pushTask("fire(false)");
|
||||
%player.pushTask("playThread(0,\"celwave\")");
|
||||
%player.pushTask("done()");
|
||||
}
|
46
example/demo/client/ui/features/features_sound.gui
Normal file
@ -0,0 +1,46 @@
|
||||
//--- OBJECT WRITE BEGIN ---
|
||||
new GuiControl(features_sound) {
|
||||
profile = "GuiModelessDialogProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "0 0";
|
||||
extent = "640 480";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
title = "Sound System";
|
||||
|
||||
new GuiScrollCtrl() {
|
||||
profile = "GuiBevelLoweredProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "height";
|
||||
position = "30 106";
|
||||
extent = "580 270";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
willFirstRespond = "1";
|
||||
hScrollBar = "alwaysOff";
|
||||
vScrollBar = "alwaysOn";
|
||||
constantThumbHeight = "0";
|
||||
childMargin = "0 0";
|
||||
|
||||
new GuiMLTextCtrl() {
|
||||
profile = "GuiMLTextProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "height";
|
||||
position = "14 12";
|
||||
extent = "553 14";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
lineSpacing = "2";
|
||||
allowColorChars = "0";
|
||||
maxChars = "-1";
|
||||
text = "main";
|
||||
fileName = "demo/client/ui/features/features_sound.txt";
|
||||
};
|
||||
};
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
||||
|
11
example/demo/client/ui/features/features_sound.txt
Normal file
@ -0,0 +1,11 @@
|
||||
<lmargin%:2><just:right><bitmap:demo/client/ui/features/ss_ae>
|
||||
<just:left><font:Arial Bold:18>OpenAL Audio<font:Arial:16>
|
||||
<lmargin%:5>The Torque Game Engine uses OpenAL as its cross-platform 3D audio API. OpenAL is an industry standard audio API used in many popular games as well as other types of audio applications. Torque adds extensions to simplify many common gaming audio tasks.
|
||||
|
||||
<lmargin%:2><font:Arial Bold:18>Feature Highlights:<font:Arial:16><lmargin%:5>
|
||||
• Uses OpenAL: an industry standard multi-platform audio API
|
||||
• Multi-channel prioritized audio manager
|
||||
• 3D Positional sound support with Doppler and cone emitters
|
||||
• 2D sound support with panning, pitch and volume
|
||||
• Looping controls
|
||||
• Audio resource management
|
46
example/demo/client/ui/features/features_terrain.gui
Normal file
@ -0,0 +1,46 @@
|
||||
//--- OBJECT WRITE BEGIN ---
|
||||
new GuiControl(features_terrain) {
|
||||
profile = "GuiModelessDialogProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "0 0";
|
||||
extent = "640 480";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
title = "Terrain Rendering";
|
||||
|
||||
new GuiScrollCtrl() {
|
||||
profile = "GuiBevelLoweredProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "height";
|
||||
position = "30 106";
|
||||
extent = "580 270";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
willFirstRespond = "1";
|
||||
hScrollBar = "alwaysOff";
|
||||
vScrollBar = "alwaysOn";
|
||||
constantThumbHeight = "0";
|
||||
childMargin = "0 0";
|
||||
|
||||
new GuiMLTextCtrl() {
|
||||
profile = "GuiMLTextProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "height";
|
||||
position = "14 12";
|
||||
extent = "553 14";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
lineSpacing = "2";
|
||||
allowColorChars = "0";
|
||||
maxChars = "-1";
|
||||
text = "main";
|
||||
fileName = "demo/client/ui/features/features_terrain.txt";
|
||||
};
|
||||
};
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
||||
|
18
example/demo/client/ui/features/features_terrain.txt
Normal file
@ -0,0 +1,18 @@
|
||||
<lmargin%:2><just:right><bitmap:demo/client/ui/features/ss_te>
|
||||
<just:left><font:Arial Bold:18>Terrain Rendering Engine<font:Arial:16>
|
||||
<lmargin%:5>The Terrain system can render truly spectacular vistas with impressive visual distance. Using the in-game editors you can quickly generate realistic heightfields and cover with textures many kilometers of terrain with a few mouse clicks. The screen error based and continuous LOD mesh reduction keeps the poly count low, the mesh rock solid and the distance visibility high.
|
||||
|
||||
<lmargin%:2><font:Arial Bold:18>Integrated Editors:<font:Arial:16><lmargin%:5>
|
||||
• Integrated Heightfield Generator
|
||||
• Import/export grayscale heightfield bitmaps
|
||||
• Integrated rule-based texture tile placement
|
||||
• Integrated texture tile "painting"
|
||||
|
||||
<lmargin%:2><font:Arial Bold:18>Feature Highlights:<font:Arial:16><lmargin%:5>
|
||||
• Continuous, seamless, Level-of-Detail (LOD) mesh
|
||||
• LOD reduction uses adjustable screen error metrics
|
||||
• Light mapped self shadowing and building shadows
|
||||
• Dynamically generated blend tiles
|
||||
• Aggregated tile mip-mapping
|
||||
• Altitude based fog banks
|
||||
• Seamless integration with the interior engine
|
46
example/demo/client/ui/features/features_water.gui
Normal file
@ -0,0 +1,46 @@
|
||||
//--- OBJECT WRITE BEGIN ---
|
||||
new GuiControl(features_water) {
|
||||
profile = "GuiModelessDialogProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "0 0";
|
||||
extent = "640 480";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
title = "Water Rendering";
|
||||
|
||||
new GuiScrollCtrl() {
|
||||
profile = "GuiBevelLoweredProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "height";
|
||||
position = "30 106";
|
||||
extent = "580 270";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
willFirstRespond = "1";
|
||||
hScrollBar = "alwaysOff";
|
||||
vScrollBar = "alwaysOn";
|
||||
constantThumbHeight = "0";
|
||||
childMargin = "0 0";
|
||||
|
||||
new GuiMLTextCtrl() {
|
||||
profile = "GuiMLTextProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "height";
|
||||
position = "14 12";
|
||||
extent = "553 14";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
lineSpacing = "2";
|
||||
allowColorChars = "0";
|
||||
maxChars = "-1";
|
||||
text = "main";
|
||||
fileName = "demo/client/ui/features/features_water.txt";
|
||||
};
|
||||
};
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
||||
|
13
example/demo/client/ui/features/features_water.txt
Normal file
@ -0,0 +1,13 @@
|
||||
<lmargin%:2><just:right><bitmap:demo/client/ui/features/ss_we>
|
||||
<just:left><font:Arial Bold:18>Water Rendering Engine<font:Arial:16>
|
||||
<lmargin%:5>Nothing adds to the visual quality of a scene like a huge body of water with twinkling sun reflections. Use the World Editor to place any number of water blocks in your world then adjust the "dials" to perfect your look: everything from churning lava to crystal clear still water. The water integrates seamlessly with player characters and vehicle models.
|
||||
|
||||
<lmargin%:2><font:Arial Bold:18>Feature Highlights:<font:Arial:16><lmargin%:5>
|
||||
• Level-of-Detail (LOD) uses screen error metrics
|
||||
• Continuous, seamless, LOD mesh generation for large bodies of water
|
||||
• Specular sun glare reflection
|
||||
• Water depth based shoreline translucency
|
||||
• Dynamic wave animations
|
||||
• Multi-pass wave crest and shoreline textures
|
||||
• Underwater effects
|
||||
• Integration with terrain and interior engines
|
BIN
example/demo/client/ui/features/gui_editor.png
Normal file
After Width: | Height: | Size: 106 KiB |
BIN
example/demo/client/ui/features/ss_ae.png
Normal file
After Width: | Height: | Size: 29 KiB |
BIN
example/demo/client/ui/features/ss_ie.png
Normal file
After Width: | Height: | Size: 117 KiB |
BIN
example/demo/client/ui/features/ss_me.png
Normal file
After Width: | Height: | Size: 201 KiB |
BIN
example/demo/client/ui/features/ss_re.png
Normal file
After Width: | Height: | Size: 218 KiB |
BIN
example/demo/client/ui/features/ss_te.png
Normal file
After Width: | Height: | Size: 254 KiB |
BIN
example/demo/client/ui/features/ss_we.png
Normal file
After Width: | Height: | Size: 118 KiB |
BIN
example/demo/client/ui/features/tge.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
example/demo/client/ui/features/torquenetworking.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
example/demo/client/ui/features/torquescript.png
Normal file
After Width: | Height: | Size: 8.4 KiB |
15
example/demo/client/ui/garagegames/garagegames.txt
Normal file
@ -0,0 +1,15 @@
|
||||
<lmargin%:2>
|
||||
<just:right><bitmap:demo/client/ui/garagegames/gg_logo>
|
||||
<just:left><font:Arial Bold:24>About GarageGames
|
||||
|
||||
<font:Arial:16>GarageGames is a unique Internet publishing label for independent games and gamemakers. We are a band of professional gamemakers committed to publishing truly original and exciting titles on our own terms. We want to give any and all gamemakers the opportunity to publish their games, find their audiences - and perhaps make their fortunes.
|
||||
|
||||
<font:Arial Bold:24>GarageGames Founder Bios
|
||||
|
||||
<font:Arial Bold:16>Jeff Tunnell: <font:Arial:16>Co-Founder of Dynamix, a game development division of Sierra On-Line and Vivendi Universal. Tunnell has either designed, produced, or directed more than 70 original titles at Dynamix including the best-selling and award-winning Red Baron, Rise of the Dragon, The Incredible Machine, Starsiege, and TRIBES.
|
||||
|
||||
<font:Arial Bold:16>Tim Gift: <font:Arial:16>Senior engineer and manager of numerous R&D projects developing core 3D technology for Dynamix. Technology produced on these projects was used in a number of Dynamix and Sierra On-Line products including submarine, sports, robot, and flight simulations as well as games in the education, adventure and action categories. Tim managed the product development and directed the multi-player online game "Starsiege TRIBES"
|
||||
|
||||
<font:Arial Bold:16>Rick Overman: <font:Arial:16>Director on Starsiege and Sr. Engineer on TRIBES2. A key member of the R&D team for Dynamix, his technology was used in a number of Dynamix and Sierra On-Line products including the best-selling and award-winning Kings Quest, Red Baron II, Trophy Bass, Starsiege, and TRIBES.
|
||||
|
||||
<font:Arial Bold:16>Mark Frohnmayer: <font:Arial:16>As a Sr. Engineer at Dynamix, Mark was responsible for core graphics technology for the flight simulations A10-2 and Red Baron, and then assumed the role of Lead Engineer on the Starsiege: TRIBES and TRIBES 2 projects.
|
46
example/demo/client/ui/garagegames/garagegames_main.gui
Normal file
@ -0,0 +1,46 @@
|
||||
//--- OBJECT WRITE BEGIN ---
|
||||
new GuiControl(garagegames_main) {
|
||||
profile = "GuiModelessDialogProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "0 0";
|
||||
extent = "640 480";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
title = "About GarageGames";
|
||||
|
||||
new GuiScrollCtrl() {
|
||||
profile = "GuiBevelLoweredProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "height";
|
||||
position = "30 106";
|
||||
extent = "580 270";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
willFirstRespond = "1";
|
||||
hScrollBar = "alwaysOff";
|
||||
vScrollBar = "alwaysOn";
|
||||
constantThumbHeight = "0";
|
||||
childMargin = "0 0";
|
||||
|
||||
new GuiMLTextCtrl() {
|
||||
profile = "GuiMLTextProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "height";
|
||||
position = "2 2";
|
||||
extent = "553 514";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
lineSpacing = "2";
|
||||
allowColorChars = "0";
|
||||
maxChars = "-1";
|
||||
text = "main";
|
||||
fileName = "demo/client/ui/garagegames/garagegames.txt";
|
||||
};
|
||||
};
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
||||
|
BIN
example/demo/client/ui/garagegames/gg_logo.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
example/demo/client/ui/gglogo150.png
Executable file
After Width: | Height: | Size: 12 KiB |
BIN
example/demo/client/ui/ggweb.png
Executable file
After Width: | Height: | Size: 15 KiB |
BIN
example/demo/client/ui/healthBar.png
Executable file
After Width: | Height: | Size: 14 KiB |
BIN
example/demo/client/ui/hudfill.png
Executable file
After Width: | Height: | Size: 510 B |
185
example/demo/client/ui/joinServerGui.gui
Executable file
@ -0,0 +1,185 @@
|
||||
//--- OBJECT WRITE BEGIN ---
|
||||
new GuiChunkedBitmapCtrl(JoinServerGui) {
|
||||
profile = "GuiModelessDialogProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "0 0";
|
||||
extent = "800 600";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
useVariable = "0";
|
||||
tile = "0";
|
||||
helpTag = "0";
|
||||
title = "Join Game Server";
|
||||
|
||||
new GuiControl() {
|
||||
profile = "GuiBevelLoweredProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "height";
|
||||
position = "30 105";
|
||||
extent = "740 390";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
|
||||
new GuiTextCtrl() {
|
||||
profile = "GuiTextProfile";
|
||||
horizSizing = "left";
|
||||
vertSizing = "bottom";
|
||||
position = "595 23";
|
||||
extent = "20 18";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
text = "Ping";
|
||||
maxLength = "255";
|
||||
helpTag = "0";
|
||||
};
|
||||
new GuiScrollCtrl() {
|
||||
profile = "GuiScrollProfile";
|
||||
horizSizing = "left";
|
||||
vertSizing = "bottom";
|
||||
position = "449 56";
|
||||
extent = "266 186";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
willFirstRespond = "1";
|
||||
hScrollBar = "dynamic";
|
||||
vScrollBar = "alwaysOn";
|
||||
constantThumbHeight = "0";
|
||||
childMargin = "0 0";
|
||||
helpTag = "0";
|
||||
defaultLineHeight = "15";
|
||||
|
||||
new GuiTextListCtrl(JS_serverList) {
|
||||
profile = "GuiTextArrayProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "2 2";
|
||||
extent = "244 16";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
enumerate = "0";
|
||||
resizeCell = "1";
|
||||
columns = "0 145 205 260 325 385";
|
||||
fitParentWidth = "1";
|
||||
clipColumnText = "0";
|
||||
noDuplicates = "false";
|
||||
helpTag = "0";
|
||||
};
|
||||
};
|
||||
new GuiTextCtrl() {
|
||||
profile = "GuiTextProfile";
|
||||
horizSizing = "left";
|
||||
vertSizing = "bottom";
|
||||
position = "455 23";
|
||||
extent = "63 18";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
text = "Server Name";
|
||||
maxLength = "255";
|
||||
helpTag = "0";
|
||||
};
|
||||
new GuiTextCtrl() {
|
||||
profile = "GuiTextProfile";
|
||||
horizSizing = "left";
|
||||
vertSizing = "bottom";
|
||||
position = "652 23";
|
||||
extent = "36 18";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
text = "Players";
|
||||
maxLength = "255";
|
||||
helpTag = "0";
|
||||
};
|
||||
new GuiMLTextCtrl() {
|
||||
profile = "GuiMLTextProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "bottom";
|
||||
position = "2 2";
|
||||
extent = "427 258";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
lineSpacing = "2";
|
||||
allowColorChars = "0";
|
||||
maxChars = "-1";
|
||||
fileName = "demo/client/ui/missions/join_server.txt";
|
||||
};
|
||||
new GuiButtonCtrl(JS_queryLan) {
|
||||
profile = "GuiButtonProfile";
|
||||
horizSizing = "left";
|
||||
vertSizing = "bottom";
|
||||
position = "594 257";
|
||||
extent = "100 23";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
command = "JoinServerGui.queryLan();";
|
||||
text = "Query LAN";
|
||||
groupNum = "-1";
|
||||
buttonType = "PushButton";
|
||||
helpTag = "0";
|
||||
};
|
||||
new GuiButtonCtrl(JS_queryMaster) {
|
||||
profile = "GuiButtonProfile";
|
||||
horizSizing = "left";
|
||||
vertSizing = "bottom";
|
||||
position = "454 257";
|
||||
extent = "100 23";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
command = "JoinServerGui.query();";
|
||||
text = "Query Master";
|
||||
groupNum = "-1";
|
||||
buttonType = "PushButton";
|
||||
helpTag = "0";
|
||||
};
|
||||
new GuiControl(JS_queryStatus) {
|
||||
profile = "GuiWindowProfile";
|
||||
horizSizing = "center";
|
||||
vertSizing = "center";
|
||||
position = "215 170";
|
||||
extent = "310 50";
|
||||
minExtent = "8 8";
|
||||
visible = "0";
|
||||
helpTag = "0";
|
||||
|
||||
new GuiButtonCtrl(JS_cancelQuery) {
|
||||
profile = "GuiButtonProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "9 15";
|
||||
extent = "64 20";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
command = "JoinServerGui.cancel();";
|
||||
text = "Cancel";
|
||||
groupNum = "-1";
|
||||
buttonType = "PushButton";
|
||||
helpTag = "0";
|
||||
};
|
||||
new GuiProgressCtrl(JS_statusBar) {
|
||||
profile = "GuiProgressProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "84 15";
|
||||
extent = "207 20";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
};
|
||||
new GuiTextCtrl(JS_statusText) {
|
||||
profile = "GuiProgressTextProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "85 14";
|
||||
extent = "205 20";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
maxLength = "255";
|
||||
helpTag = "0";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
||||
|
||||
|
BIN
example/demo/client/ui/lagIcon.png
Executable file
After Width: | Height: | Size: 2.9 KiB |
BIN
example/demo/client/ui/license/commercial.png
Normal file
After Width: | Height: | Size: 443 KiB |
41
example/demo/client/ui/license/license_corp.gui
Normal file
@ -0,0 +1,41 @@
|
||||
//--- OBJECT WRITE BEGIN ---
|
||||
new GuiControl(license_corp) {
|
||||
profile = "GuiModelessDialogProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "0 0";
|
||||
extent = "640 480";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
title = "Commercial License";
|
||||
|
||||
new GuiControl() {
|
||||
profile = "GuiBevelLoweredProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "height";
|
||||
position = "30 106";
|
||||
extent = "580 270";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
|
||||
new GuiMLTextCtrl() {
|
||||
profile = "GuiMLTextProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "height";
|
||||
position = "14 12";
|
||||
extent = "553 14";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
lineSpacing = "2";
|
||||
allowColorChars = "0";
|
||||
maxChars = "-1";
|
||||
text = "main";
|
||||
fileName = "demo/client/ui/license/license_corp.txt";
|
||||
};
|
||||
};
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
||||
|
11
example/demo/client/ui/license/license_corp.txt
Normal file
@ -0,0 +1,11 @@
|
||||
<color:000000><font:Arial Bold:24>Torque Commercial License
|
||||
<lmargin%:5><rmargin%:95><font:Arial:16>The Torque Commercial Licence is for individuals, companies and government entities looking to develop any type of product and for individuals who no longer qualify for the Indie License. The Torque Game Engine is well suited for architecture, game, medical and military simulations as well as a variety of other creative applications.
|
||||
|
||||
<font:Arial Bold:16>Commercial License Summary:
|
||||
<lmargin%:8><rmargin%:95><font:Arial:16>• Only $495 per seat, includes complete source code to the engine and all built-in tools.
|
||||
• No royalties.
|
||||
• No publisher restrictions.
|
||||
• No limit to the number of products you can publish per license.
|
||||
• Can be used for non-game applications.
|
||||
|
||||
For more information about the Torque Game Engine and to review the complete End User License Agreement (EULA) please visit our <a:www.garagegames.com/products/31>website product page</a> or <a:www.garagegames.com/company/contact/>contact us</a> directly.
|
41
example/demo/client/ui/license/license_indie.gui
Normal file
@ -0,0 +1,41 @@
|
||||
//--- OBJECT WRITE BEGIN ---
|
||||
new GuiControl(license_indie) {
|
||||
profile = "GuiModelessDialogProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "0 0";
|
||||
extent = "640 480";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
title = "Indie License";
|
||||
|
||||
new GuiControl() {
|
||||
profile = "GuiBevelLoweredProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "height";
|
||||
position = "30 106";
|
||||
extent = "580 270";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
|
||||
new GuiMLTextCtrl() {
|
||||
profile = "GuiMLTextProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "height";
|
||||
position = "14 12";
|
||||
extent = "553 14";
|
||||
minExtent = "8 2";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
lineSpacing = "2";
|
||||
allowColorChars = "0";
|
||||
maxChars = "-1";
|
||||
text = "main";
|
||||
fileName = "demo/client/ui/license/license_indie.txt";
|
||||
};
|
||||
};
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
||||
|
14
example/demo/client/ui/license/license_indie.txt
Normal file
@ -0,0 +1,14 @@
|
||||
<rmargin%:98><color:000000><font:Arial Bold:24>Torque Independent Game License
|
||||
<font:Arial:16><lmargin%:5>The goal of the Torque Game Engine Indie License is to provide a AAA quality game engine to independent developers with a user friendly, liberal license agreement. The Indie license is intended to be used for <font:Arial Bold:16>games only<font:Arial:16>, by small independent companies or individuals making less than $250,000 annually.
|
||||
|
||||
<lmargin%:5><font:Arial Bold:16>Indie License Summary:
|
||||
<lmargin%:8><rmargin%:95><font:Arial:16>• Only $100 per programmer, includes complete source code to the engine and all built-in tools.
|
||||
• Game products only
|
||||
• No royalties.
|
||||
• No publisher restrictions.
|
||||
• No limit to the number of games you can publish per license.
|
||||
• Indie Licensees agree to display the GarageGames Torque logo on startup screen.
|
||||
|
||||
Other uses welcomed under our Commercial License, proceed to next page for details.
|
||||
|
||||
For more information about the Torque Game Engine and to review the complete End User License Agreement (EULA) please visit our <a:www.garagegames.com/products/1>website product page</a>.
|