Game Development Community

James Ford's Forum Posts

Thread Post Date Posted
Convert mouse world position to object position [code] %worldPos = sceneObject.getPosition(); %windowPos = sceneWindow2D.getWindowPoint( %worldPos... read more 08/16/2008 (3:03 pm)
Convert mouse world position to object position Check these out! t2dSceneWindow::getWindowPoint t2dSceneWindow::getWorldPoint... read more 08/16/2008 (1:12 pm)
Errr can't insert namespace in simset call seq. Using name should work. SimSet does not support class/superclass without a minor C++ change, howeve... read more 08/16/2008 (1:08 pm)
1.7.4 Collision Groups/Layers I cannot diagnose engine errors but just to double check this isn't somehow user error, do you have ... read more 08/16/2008 (12:28 am)
How easily can I control the physics? TGE physics are deterministic and it already has demo recording!... read more 08/15/2008 (9:40 pm)
Making sure HUD elements aren't scaled by camera zoom If your gui elements are GuiControls then you can affect how they resize with the vertSizing and hor... read more 08/15/2008 (2:02 pm)
Beginner question about TGB - mounting a t2dSceneObject to a... Do you want to mount them in the editor or in script? If in script you would use one of the methods ... read more 08/15/2008 (1:31 pm)
GuiBitmapCtrl If you are trying to actually rotate the ctrl you can't do that. If you need the bitmap image to be... read more 08/15/2008 (11:36 am)
Question on shooting This same topic just popped up in another thread. [url]http://www.garagegames.com/mg/forums/result.... read more 08/15/2008 (10:59 am)
TX3D Builder Crash after adding boxes to scene. I made no changes, so its a brand new and unmodified (3d) project. By the way, the 2D project start... read more 08/14/2008 (10:56 pm)
TX3D Builder Crash after adding boxes to scene. I installed C# 2005 express, SP1, XNA 2.0, and TorqueX 2.0 for CC just to try it again (but with exp... read more 08/14/2008 (10:19 pm)
A different idea for a space sim 1. Sounds like an idea with potential. I personally like RTS(s) and this seems to me like a space c... read more 08/14/2008 (10:58 am)
Creating and Managing User Profiles Doesn't matter. As long as you exec(...) it with the same extension.... read more 08/14/2008 (10:34 am)
How to enable and disable the maximize, min , and close button I could be wrong, but that sounds like something that would require writing some of you own win32 co... read more 08/14/2008 (1:02 am)
Forcing a value to be an unsigned long in script In script you only have S32, F32, and string.... read more 08/13/2008 (9:23 pm)
Indies question Actually I just made that up... The real answer is, they don't know and you can screw them if you w... read more 08/13/2008 (1:10 pm)
Bitmap Buttons, Image Maps and Behaviors 1. Nope. 2. Nope. GuiControl is not derived from BehaviorComponent like t2dSceneObect is.... read more 08/13/2008 (1:07 pm)
Help, play level wont work You mean a t2dSceneObjectDatablock? Did you put it in project/game/gamescripts/datablocks.cs? Wh... read more 08/13/2008 (1:02 pm)
Keyboard bindings with modifier key Your bindCmd is not calling NetwonianControlsBehavior::pressLeft/etc because only bindObj will call ... read more 08/13/2008 (12:56 pm)
Keyboard bindings with modifier key I do not believe that you can bind a modifier key by itself. You can do something like this.. [cod... read more 08/13/2008 (12:53 pm)
GuiControl field to allow mouse passthrough? Sounds like you've already tried modal = true, which is the only thing I know of.... read more 08/13/2008 (12:48 pm)
Indies question If you are in the US, GG can query the IRS databases to find your yearly income. For those overseas... read more 08/13/2008 (12:46 pm)
Creating Breakpoints and watch Just try both and make your own decision!... read more 08/12/2008 (7:53 pm)
Contra style shooting "and for some reason my character moves backwards like an inch every time I shoot." Sounds like y... read more 08/12/2008 (4:33 pm)
GuiBitmapCtrl To quote myself, "If the editor is working for you then after you set its horizSizing to center if y... read more 08/12/2008 (4:32 pm)
Help Needed: how to scroll camera when player reach borders? You should not use a camera area that large, the default settings of 100x75 will perform the best. ... read more 08/12/2008 (11:37 am)
TX3D Builder Crash after adding boxes to scene. I think the bigger issue for me right now is the 3D starter project not working properly. Could the... read more 08/12/2008 (11:34 am)
Definition of long in writeLongString Actually here's an idea that just struck me, which might allow you to have just one object send it a... read more 08/12/2008 (2:44 am)
Different button shapes Without modifying the GuiButton class(es) a button will always be defined by a rectangular shape. ... read more 08/12/2008 (12:06 am)
Definition of long in writeLongString @If I understood correctly, NetObjects can be used to send objects over the wire from the Torque ser... read more 08/11/2008 (11:53 pm)
TX3D Builder Crash after adding boxes to scene. Umm, is this suppose to work on windows vista 64bit? For me a newly created 3D starter game project... read more 08/11/2008 (11:05 pm)
Updating scores during multiplayer and showing on GUI [quote] Looking at this code still confuses me. Is it only the host who is dolling out the points? ... read more 08/11/2008 (4:12 pm)
TDN Platformer Collsions, please advise There are a TON of posts around the forums concerning problems and fixes with that tutorial. I don'... read more 08/11/2008 (3:20 pm)
Help, play level wont work Do you have a main.cs in the game folder and does it have an "initializeProject" function? Did this... read more 08/11/2008 (3:17 pm)
Help with Behavior Nice call Phillip '-)... read more 08/11/2008 (1:07 pm)
Help with Behavior When you delete the owner of the behavior you are also causing the behavior to be destroyed. You ca... read more 08/11/2008 (11:46 am)
Shaping Water This will require engine changes to the code that determines if you are underwater. If you can get ... read more 08/11/2008 (11:27 am)
Sword not colliding with static shapes Well the way it works for dealing damage to players, you should NOT call applyDamage directly. You ... read more 08/11/2008 (11:19 am)
Help Needed: how to scroll camera when player reach borders? Look at methods t2dSceneWindow has. You will see several for controlling the camera. As for detect... read more 08/11/2008 (11:16 am)
Gui script parent-child relationship semantics From the member function listing of GuiControl in the reference documentation: getParent() Retur... read more 08/10/2008 (11:36 pm)
Updating scores during multiplayer and showing on GUI Hm, i didn't notice the color changing (maybe it was) but I did notice the number after color changi... read more 08/10/2008 (11:33 pm)
Updating scores during multiplayer and showing on GUI 1. %client is a serverside object and your code will not work in a multiplayer situation the way it ... read more 08/10/2008 (7:44 pm)
Updating scores during multiplayer and showing on GUI I will take a look at it. You should really really take down that link though. This is a public fo... read more 08/10/2008 (6:43 pm)
GuiBitmapCtrl Well if this control exists in a gui file you should be able to load that gui in the gui editor, dra... read more 08/10/2008 (4:29 pm)
GuiBitmapCtrl I'm not familiar with the specific gui/tutorial you are working off of, but heres a description of w... read more 08/10/2008 (1:20 pm)
Weird pickLine result or coding error? I just posted a bug report [url=http://www.garagegames.com/mg/forums/result.thread.php?qt=78006]Here... read more 08/10/2008 (1:12 pm)
1.7.3 pickRect returning no results The problem seems to be that although the initial container query is returning the object it is not ... read more 08/10/2008 (1:09 pm)
Unable to save my own mission to my own Projects folder @Foster Have you tried typing the ".ter" at the end before clicking save? As Steve suggested, this... read more 08/10/2008 (11:18 am)
TDN Highscore tutorial - save and load list All simObjects have a save method, which writes the object and its fields to file in normal torqueSc... read more 08/10/2008 (9:50 am)