Game Development Community

Dan Maruschak's Forum Posts

Thread Post Date Posted
Declaring global variables Torquescript doesn't have variable declaration. You "declare" them whenever you use them for the fir... read more 02/01/2008 (5:55 pm)
TGB 1.7 Released We just posted 1.7.1 to fix the problems pointed out by Jussi early in the thread. We also added an ... read more 02/01/2008 (12:45 pm)
TGB 1.7 Released Huh. I fixed a problem like that, but apparently it got re-introduced. I'll need to debug that. In t... read more 01/30/2008 (7:17 pm)
TGB 1.7 Released @Jussi - On your edit2 point, try changing the color of your polygon. White ones (the default color)... read more 01/30/2008 (6:55 pm)
TGB 1.7 Released Ouch, sorry about that. I'll file that as a bug. In the mean time, a workaround: Use CTRL-~ to open... read more 01/30/2008 (6:39 pm)
Using my key on other computers The TGB indie license is per-person, not per computer, so yes, you can use it on any machines that y... read more 01/26/2008 (10:01 am)
Novice scripting advice needed for layers and camera Can you just change the size of the player object, instead of trying to do it with the camera?... read more 01/24/2008 (7:23 pm)
Query about making an event occur Check out the onPositionTarget callback, and the setPositionTarget and MoveTo methods of T2DSceneObj... read more 01/22/2008 (12:17 pm)
Simple Pathfinding @Alexander - I would think that the threshold you want would be the distance you would travel in one... read more 01/20/2008 (9:13 pm)
1.5 Strategy Master Tutorial Problem I'll try. [code](SomeType)Name[/code]casts the variable Name as type SomeType. So [code](T2DSceneGr... read more 01/20/2008 (7:06 pm)
1.5 Strategy Master Tutorial Problem OK, try: [code] ((T2DSceneGraph)SceneObject.SceneGraph).FindObjects(location, 1.0f, unitType, 0xFF... read more 01/20/2008 (5:54 pm)
1.5 Strategy Master Tutorial Problem Try: [code] SceneObject.SceneGraph.FindObjects(location, 1.0f, unitType, 0xFFFFFFFF, foundObjects)... read more 01/20/2008 (5:34 pm)
1.5 Strategy Master Tutorial Problem No, you're not doing anything wrong. We didn't update the tutorials to match all of the changes in 1... read more 01/20/2008 (5:10 pm)
Secret color picker for behaviors Well, they aren't [i]intended[/i] to be Easter Eggs, so it's hard for me to guess about what feature... read more 01/20/2008 (4:42 pm)
Secret color picker for behaviors @Joe - I'm not seeing it behave like that. For me, the alpha value is only modified by the alpha sli... read more 01/20/2008 (8:58 am)
Sparse TXB documentation, or am I missing something? The reference documentation is in the "Torque X API.chm" file that gets installed along with Torque ... read more 01/20/2008 (8:37 am)
Secret color picker for behaviors @Joe - You can assign your own defaults in a behavior field, e.g.: [code] if (!isObject(ColorBehav... read more 01/19/2008 (11:16 am)
Making a Struct array that corresponds to an array of objects A scenegraph is a data structure that contains the objects that get rendered to the screen, so basic... read more 01/15/2008 (6:41 pm)
Making a Struct array that corresponds to an array of objects Is the scenegraph that $player is in named "t2dscene"? Is pie_ImageLink the right name for your i... read more 01/15/2008 (5:42 pm)
Making a Struct array that corresponds to an array of objects You access the elements of a SimSet with the .getObject(index) method. I don't understand the second... read more 01/15/2008 (4:40 pm)
Making a Struct array that corresponds to an array of objects A ScriptObject is an object that is frequently used when writing scripts. What does it do? It holds ... read more 01/15/2008 (10:45 am)
Harpooned - Japanese Cetacean Research Simulator Very cool.... read more 01/15/2008 (9:50 am)
Making a Struct array that corresponds to an array of objects Try something like: [code] for (%i=0; %i<10; %i++) { %pies[%i] = new ScriptObject() { ... read more 01/15/2008 (9:28 am)
Some questions about RenderMaterial I can't think of a way to generate a list of all materials.... read more 01/09/2008 (8:29 pm)
About scheduling Yes, there's a way to do schedules, similar to TGB. There's an examples in the [url=http://www.garag... read more 01/09/2008 (7:44 pm)
About sprite movements There's no built-in functionality analagous to "moveTo" from TGB. You can try to implement it yourse... read more 01/09/2008 (7:42 pm)
Some questions about RenderMaterial Components can have properties of type RenderMaterial, and you can then assign them via TXB. Will th... read more 01/09/2008 (7:40 pm)
Multiple animations for a single sprite Have you tried the Hello World tutorial? That switches animations.... read more 01/08/2008 (10:33 pm)
TGB 1.6 Multiple link point issue. By "tabbed buttons", I'm assuming you mean the "Dismount this object from what it's mounted to" butt... read more 01/08/2008 (9:24 am)
About detecting mouse click Your onMouseClick method has a parameter. That parameter tells you whether the button is being press... read more 01/08/2008 (8:05 am)
Does it the 3D? You may want to check out these [url=http://www.garagegames.com/mg/snapshot/view.php?qid=1528]Torque... read more 01/08/2008 (8:04 am)
Advanced lighting If you're not using the beta, you may want to check out these [url=http://www.garagegames.com/mg/sna... read more 01/08/2008 (8:04 am)
Z-ordering sprites based on y position There is indeed a way to do this in TGB. With no objects selected, go to the edit pane so you can ge... read more 01/04/2008 (10:12 am)
Simple Pathfinding @Viktor - I'm not 100% sure, but I suspect that it's because you're trying to test for equality on t... read more 12/26/2007 (9:22 am)
Simple Pathfinding @Viktor - Objects can have multiple object types. For example, in addition to whatever object types ... read more 12/25/2007 (2:18 am)
System.StackOverflowException On Set In the "set" method, it's assigning to Range. If it interprets that as the Range property, it will n... read more 12/21/2007 (11:16 am)
Accessing a method from another component Yes, 1.5 added the ability to have multiple scenegraphs (which is cool) but we didn't update the doc... read more 12/21/2007 (9:40 am)
Demos Yes, we decided to ship them as separate projects instead of templates for this release. Hmmm, no... read more 12/21/2007 (9:33 am)
Scene keeps clearing You can get the Airplane tutorial either [url=http://www.garagegames.com/mg/snapshot/view.php?qid=15... read more 12/20/2007 (1:07 pm)
Scene keeps clearing I'm not sure why some objects would be eliminated and not others. Yes, you can definitely have mu... read more 12/20/2007 (12:13 pm)
Scene keeps clearing So cards 3 through Jack in each suit are disappearing? Are they in the level_data XML file?... read more 12/19/2007 (1:55 pm)
Scene keeps clearing Can you explain in a little more depth what problem you're seeing? It's not obvious to me from the s... read more 12/19/2007 (11:59 am)
Scene keeps clearing Let's try to narrow down the problem between the things not being saved out properly, or not being l... read more 12/19/2007 (9:33 am)
Random with out repeats @Jacob - I'm not following exactly what kind of help you're asking for on the user input stuff. Are ... read more 12/18/2007 (8:55 pm)
Selecting an object according to a varaible @Jacob - Yes, if you know the name of your object, using the TorqueObjectDatabase to look it up as a... read more 12/18/2007 (8:51 pm)
Demos What kind of error are you seeing when you try to run the FPS demo?... read more 12/17/2007 (9:46 pm)
Hello World Tutorial I don't have any ideas on that one. Sorry.... read more 12/16/2007 (8:33 am)
T2dShapeVector The only documentation for it right now (that I'm aware of) is the stuff in the TGB reference sectio... read more 12/15/2007 (11:18 am)
Incorrect loading scene. Template object with mounted templates. @LM - What are you asking us to fix? Is John's solution not working? The workflow for creating ins... read more 12/15/2007 (8:15 am)
Torque X 1.5 and XNA 2.0 Guys, XNA 2.0 support is something that we definitely want to happen, but, as Chip Lambert said, we ... read more 12/15/2007 (8:06 am)