Game Development Community

Ben R Vesco's Forum Posts

Thread Post Date Posted
Is this if statement right? Isaac, there are a few flaws with your comparisons. %var $= true %var $= false Will likely bo... read more 01/01/2007 (2:20 pm)
TGB export for Xbox360 I think some of you may be missing the point Stephen Zepp was making. There is a Xbox360 Torque engi... read more 12/31/2006 (9:50 pm)
Gui Scene Not Updating? One of your controls probably has no background. Make sure you're main fullscreen container control ... read more 12/31/2006 (9:36 pm)
Binary save game files? Save them as compiled dso files.... read more 12/31/2006 (9:34 pm)
The difference between XNA GSE and TX [quote] 2D collision is a piece of cake [/quote] ...is the statement of a person who has never ... read more 12/31/2006 (1:50 am)
SrcObj vs %dstObj and mounting an explosion effect. %srcObj and %dstObj are not pairs of points on the screen. They are actual objects. If you just want... read more 12/31/2006 (1:13 am)
Tankbuster code questions on movement Cool. Also, if you look at the binding of the stick you'll see an int being passed in as the last pa... read more 12/27/2006 (1:40 pm)
Tankbuster code questions on movement There are a few wrong assumptions you have. 1. The move object doesn't contain only buttons and s... read more 12/27/2006 (11:51 am)
Grid align a sprite Ah yes, nice catch Matthew. Also, I would like to point out that you don't really have to mess with ... read more 12/27/2006 (10:04 am)
Tankbuster code questions on movement That line of code will always execute no matter what the state of the game is (as long as the object... read more 12/27/2006 (9:54 am)
Can we? As Stephen said, it's a matter of feature set that you prefer. If you prefer working in TorqueScript... read more 12/23/2006 (2:53 pm)
Tankbuster bug This is a very "gamey" take on [url=http://en.wikipedia.org/wiki/Dive_bomber]dive bombing[/url].... read more 12/22/2006 (1:22 am)
Packaging Critical error... I hate to say but this is a common occurrence. I always reach a point in my own projects where the b... read more 12/18/2006 (8:40 am)
Using arrays?? You're getting a parse error because there's a missing semicolon at the end of the previous line.... read more 12/18/2006 (8:29 am)
Shooting the Tank? Check the domain and range of the mAtan function. You may be getting results that are constrained to... read more 12/17/2006 (12:10 pm)
Returning a value from a dynamic field. You should be using either the name of the object or the id of the object, not the class. Your examp... read more 12/14/2006 (2:50 pm)
TDN acces Did you log in at TDN? Use the same user/pass combo you use for your main GG account.... read more 12/13/2006 (3:31 pm)
Hiding or encrypting the scripts Also when you do your build be sure you don't mess with the check boxes after analyzing the project.... read more 12/11/2006 (12:37 pm)
Schedule problem But the timer will always fire within the 32ms window of when its time is up and won't accumulate er... read more 12/10/2006 (3:51 pm)
Game running SLOW after build Yes, someone has had the exact same problem recently. I think it turned out they had an onUpdateScen... read more 12/09/2006 (11:56 am)
Schedule problem Yeah, that's where I learned to use the timer ;) Forgot all about that!... read more 12/08/2006 (11:08 pm)
Schedule problem This code is very confusing about what it is doing. For the most part I would say "schedule" is not ... read more 12/08/2006 (1:27 pm)
Cursor problem How many different ways of doing it do you require to get your game to work? Did you try it? You cou... read more 12/08/2006 (7:52 am)
Spawning an object Richard, did you try the suggestions in my last post before your thread got hi-jacked? I noticed a n... read more 12/08/2006 (1:21 am)
Cursor problem How about detecting when the cursor is at the last pixel on the edge of the screen and hide it?... read more 12/07/2006 (6:23 pm)
Spawning an object You don't have a %this, your spawn scripts in the above examples (even Tom's) still contain a %this.... read more 12/04/2006 (12:38 pm)
Mount sprite to camera Can you make the object move when the mouse is at the edge of the screen? Then the mounted camera wi... read more 12/02/2006 (2:35 am)
Utilizing vectors It should be noted that a vector in TGB is only two elements while your example shows four. That's b... read more 12/01/2006 (9:20 pm)
Simulating Classes It can be a leap from thinking straight, abstract OO principals to thinking in terms of namespaces. ... read more 12/01/2006 (12:11 am)
Importing animations Also you can create the animation sequence "by hand" if you know the frame numbers, just generate it... read more 11/30/2006 (4:46 pm)
Problems with TGB compiled with VC++ 2005 Express Is there a main.cs in the same directory as the executable you're running? Open the directory and ve... read more 11/30/2006 (4:44 pm)
Simulating Classes Actually, TS supports just about every aspect of OO design, including what you're trying to do. You'... read more 11/30/2006 (8:11 am)
Simulating Classes ScriptObject is not going to be able to use a config datablock no matter what type of datablock you ... read more 11/29/2006 (8:10 pm)
Simulating Classes I don't think ScriptObject types have a config datablock. At least not a t2dSceneObjectDatablock whi... read more 11/29/2006 (5:21 pm)
Simulating Classes That code snippet you posted has no default values. To use default values you'll have to specify a c... read more 11/29/2006 (8:10 am)
TGB and destructable terrain? Have you ever seen Pocket Tanks? The very pixel where your shell hits is the pixel that is blown up ... read more 11/29/2006 (12:08 am)
TGB and destructable terrain? Yes, that is a good way to do it if you want predefined damage states. Using that method you can't h... read more 11/28/2006 (8:19 pm)
Referencing the objects A SimSet is a [url=http://en.wikipedia.org/wiki/Set]set[/url] of simulation objects. They work very ... read more 11/28/2006 (1:06 pm)
TGB and destructable terrain? Yes, but you're going to have to be very creative or modify some source code.... read more 11/28/2006 (1:01 pm)
Gravity The bottom line is you'll have to start out with doing N-squared calculations at first. Once you get... read more 11/28/2006 (8:16 am)
Error, cannot unlink namespace parent linkage... I'm not sure if this is true for object names, but for variable names, %shell0 is the same as %shell... read more 11/28/2006 (8:09 am)
GUI control to display text Check out the gui ML control. It allows you to do multiline in one control. The ML stands for markup... read more 11/27/2006 (10:46 pm)
Reloading an edited file Yeah, main.cs is a good place to exec your scripts once you're done prototyping. I consider main.cs ... read more 11/27/2006 (6:16 pm)
Spawning an object Sounds like one of your variables is not initialized like you think it should be. Try throwing in so... read more 11/27/2006 (6:10 pm)
Reloading an edited file This has been covered a few times lately. Most recently [url=http://www.garagegames.com/mg/forums/re... read more 11/26/2006 (11:10 pm)
Referencing the objects In that solution you would want if (isObject(array[i])) because uninitialized vars are "" not 0. Als... read more 11/26/2006 (1:54 am)
And Yet It Moves Fell through the world in a number of places but I had a heck of a good time doing it!... read more 11/24/2006 (8:42 am)
Create sprites in GUI screens (not inside the game level) Have you tried building two guis, and push the one with the scenewindow to a higher gui layer?... read more 11/24/2006 (8:27 am)
Reference for object oriented scriptobjects and such? The syntax is the same as for other TS objects. I'm not sure if the colon operator works like the co... read more 11/24/2006 (8:21 am)