General help
by A Be · in Torque Game Builder · 10/26/2007 (11:25 am) · 4 replies
I need help with two things:
1. I deleted all the .dso files, now when I test my game the screen is messed up! Nothing is displayed!
2. When I use the following code, the text displaying the counter screws up and shows strange characters. After that it crashes.
function AAClass::onLevelLoaded(%this, %scenegraph)
{
%this.Count = 4;
AADisp.text = "AA:"%this.Count;
moveMap.bindCmd(keyboard, "e", "IncAA(%this, %scenegraph);");
}
function IncAA(%this, %scenegraph)
{
%this.Count = %this.Count + 1 ;
AADisp.text = "AA:"%this.Count;
}
1. I deleted all the .dso files, now when I test my game the screen is messed up! Nothing is displayed!
2. When I use the following code, the text displaying the counter screws up and shows strange characters. After that it crashes.
function AAClass::onLevelLoaded(%this, %scenegraph)
{
%this.Count = 4;
AADisp.text = "AA:"%this.Count;
moveMap.bindCmd(keyboard, "e", "IncAA(%this, %scenegraph);");
}
function IncAA(%this, %scenegraph)
{
%this.Count = %this.Count + 1 ;
AADisp.text = "AA:"%this.Count;
}
#2
10/26/2007 (4:46 pm)
Changes are in boldfunction AAClass::onLevelLoaded(%this, %scenegraph)
{
%this.Count = 4;
AADisp.text = [b]"AA:" @ %this.Count;[/b]
moveMap.bindCmd(keyboard, "e", [b]"IncAA(" @ %this @ ", " @ %scenegraph @ ");"[/b]);
}
function IncAA(%this, %scenegraph)
{
%this.Count = %this.Count + 1 ;
AADisp.text = [b]"AA:" @ %this.Count;[/b]
}
#3
HELP!?!
......please?
12/01/2007 (4:37 pm)
Just a Q about different computers; do I have to buy a different version of TGB for mac? Or is it universal?HELP!?!
......please?
#4
12/01/2007 (7:06 pm)
This question is not really related to the original thread, but you do not need to buy two different versions. You just need to download the correct version for Windows or Mac. Once you purchase the software, you will have the ability to download versions for both OS's. You get the Mac and Windows version for the same one price. Also, both versions can apparently create executables for the other platform. So if you only have a Mac, you can still use that version to make builds for Windows users. Pretty nice.
Torque 3D Owner Jason Ravencroft