Game Development Community

Ben R Vesco's Forum Posts

Thread Post Date Posted
MiniTutorials-SimpleBoatPhysics Ahhhh, that explains a lot. With the high quality of the code in the tutorials I was pretty surprise... read more 07/07/2006 (6:42 pm)
MiniTutorials-SimpleBoatPhysics Check out step 5 of the simple car tut.... read more 07/07/2006 (8:42 am)
How do you read how many folders are in a path and other tricks? You could always tokenize the filepath on the separator to count the directory depth.... read more 07/07/2006 (8:34 am)
Make a change then restart TGB? Surely not @James: It doesn't matter if you use the level editor or not. The main thing to take away from this... read more 07/07/2006 (1:44 am)
Baffling issues with building an exe Your screen resolution is a preference. When you do a "build project" your preferences are cleared. ... read more 07/07/2006 (1:41 am)
T2dSceneGraph Try sceneWindow2D.getSceneGraph().setDebugOn();... read more 07/06/2006 (7:46 pm)
Tetris, creating pieces and detecting collisions Just to pipe in for the sake of anyone coming back to this thread who is new with the engine. Boundi... read more 07/06/2006 (7:39 pm)
Source vs. Scrtipting Very far.... read more 07/06/2006 (7:30 pm)
Group/Layer Managers for Level Builder What exactly is in that zip file? I figured I would drop it into my TGB directory as some sort of ad... read more 07/06/2006 (8:39 am)
Make a change then restart TGB? Surely not @Greg: If you are doing the exec in main.cs then you won't see the changes until you restart TGB. A... read more 07/06/2006 (8:31 am)
Datablock inheritance not working Here's the sample from my completely working code: [code] new t2dAnimationDatablock(selectBase) ... read more 07/05/2006 (12:50 am)
Datablock inheritance not working I'm doing something close to exactly like that. The main difference I see in my working code and you... read more 07/04/2006 (11:52 pm)
Can't change animation's names Not sure about through the interface, but you can always open up the datablocks.cs file in the manag... read more 07/04/2006 (5:26 pm)
Environment/workspace setup I use a similar process to Doug, except I get really annoyed when adding new projects that I have to... read more 07/04/2006 (9:56 am)
White Terrain "Holes" Problem Your screenshots are gone. You didn't by any chance change the terrain squaresize? I've had these ho... read more 07/04/2006 (9:21 am)
Object Creation DOH! :P... read more 07/03/2006 (11:25 pm)
Possible to fill an "array" with one line? A SimSet works like a queue where newly inserted items go in at the back. The order of items in the ... read more 07/03/2006 (7:42 pm)
Object Creation Not that it matters, but addToScene works both ways. It's defined for both objects. You can do %s... read more 07/03/2006 (7:33 pm)
Torque script difference -> win/mac TorqueScript is the same on win/mac/linux. If you haven't made any engine mods, the scripts will wor... read more 07/03/2006 (7:29 pm)
Object Creation You have to add the object to the scenegraph. Use the addToScene method or whatever it's called. Als... read more 07/03/2006 (8:35 am)
Re-editing a GUI Once you create the gui, save it, and exec it as part of your project, it will appear on the gui dro... read more 07/02/2006 (12:16 pm)
Physics Based Acceleration You may be misusing constant force. Try using impulse forces instead. Simplistically with fudged ... read more 07/02/2006 (12:15 pm)
Keyboard Mapping Try cleaning your .dso files completely and then running. That may fix the problem. One issue is if ... read more 07/01/2006 (11:23 am)
Guitexteditctrl Unless some other action map is capturing your enter keypress, you should be able to just assign an ... read more 06/29/2006 (9:23 pm)
Scripting question Try it and see if it works. What exactly are you trying to accomplish? Does a single player objec... read more 06/29/2006 (8:27 am)
Can we save the object created directly to *.dso? Does torque let you delete files? What you could do is save the object to .cs, immediately exec it (... read more 06/29/2006 (8:14 am)
Scripting question The error in that last bit of syntax is that you can't use the pointer to an array location as the n... read more 06/29/2006 (12:35 am)
Dealing with undeclared variables and vague compile errors Experienced programmers are just used to those things. "Oh I must've missed a semicolon" is probably... read more 06/26/2006 (10:50 pm)
Mount frustrations (solved) Are you sure your x and y are populated the way you think you are? For example, you may think x = 52... read more 06/26/2006 (10:37 pm)
Wheres the GUI info?? Plenty of GUI info here http://tdn.garagegames.com/wiki/GUI... read more 06/25/2006 (9:47 am)
Problems With The Strategy Article on TDN Well, something is up because that code doesn't match the output from the console. At any rate, if i... read more 06/25/2006 (1:15 am)
Problems With The Strategy Article on TDN Looks like you are trying to pass an invalid number of parameters to the pickLine function on line 1... read more 06/24/2006 (8:47 am)
Do I have to restart T2D level builder everytime I edit a script Hi there fellow Ben ;) You don't have to restart the engine unless you make certain types of chan... read more 06/24/2006 (8:38 am)
Camera? This is NOT a scripting solution I'm about to provide. Check out the advanced camera resource. Yo... read more 06/24/2006 (8:31 am)
Ifdefs in scripts I think using packages may be a little more appropriate in this case. [code] package MyPackage()... read more 06/24/2006 (8:29 am)
RC3: Big precision error when saving levels Thank goodness, this has been bugging me for quite some time. I just figured it was supposed to be s... read more 06/20/2006 (8:40 am)
Exec'ing a script outside your game directory? Try exec("/common/gamescripts/base/myFile.cs"); The beginning slash (/) should mean from your ... read more 06/20/2006 (8:34 am)
Loading bar... how to do it? Nice! Though rather than polling, I bet you could set up an "onLevelLoaded" callback system so th... read more 06/19/2006 (8:48 am)
Loading bar... how to do it? Just use your main.cs file in your TGB.exe root directory to load a gui that displays a picture. Exe... read more 06/18/2006 (3:34 pm)
Datablocks, Global Variables, and clean code You can't change the values in the datablock itself at runtime, but when you use a "config" databloc... read more 06/18/2006 (3:30 pm)
RC3: Errors with changing namespaces When I was getting that error, it was followed by a second error stating that the new namespace did ... read more 06/18/2006 (10:12 am)
RC3: Infinite recursion kills TGB with out warning Actually, it's currently accepted to be a problem which is impossible to solve. There may be better ... read more 06/18/2006 (10:09 am)
RC3: Build Project- inserts Level Control widget It's not visible when you're editing because none of the gui elements are viewable in the level edit... read more 06/17/2006 (11:42 pm)
RC3: Infinite recursion kills TGB with out warning But at what point do you consider it to be an infinite loop? A hundred iterations? A thousand? A mil... read more 06/17/2006 (11:30 pm)
RC3: Build Project- inserts Level Control widget That button has always been there for me since I started using TGB. It is meant to toggle the editor... read more 06/17/2006 (7:58 am)
RC3: SceneGraph.setLayerDrawOrder Things don't necessarily move back one step every time you do BACKWARD. If there is only one thing o... read more 06/15/2006 (6:53 pm)
RC3 (not a bug after all) TGBReference.pdf T2dSceneGraph.pick The dumpConsoleClasses() prints out the text that is associated with each console function in the c ... read more 06/15/2006 (6:50 pm)
RC3 (not a bug after all) TGBReference.pdf T2dSceneGraph.pick Actually, if you look into the source t2dSceneGraph.cc you will see that pickRect can take the (x, y... read more 06/15/2006 (9:24 am)
RC3: Infinite recursion kills TGB with out warning Halting problem?... read more 06/15/2006 (9:13 am)
Symbols and syntax help Check out the TDN home page for TGB. It has some incredible references.... read more 06/14/2006 (12:30 am)