Two Questions
by Chase Webb · in Torsion · 04/23/2013 (4:46 am) · 3 replies
Hi! I'm using Torsion for T2D MIT, and I have two problems:
1- I was using Notepad++ for a while, and the one feature that it has that I haven't found in Torsion is the ability to select a word (variable, function, whatever) and it automatically highlights that word anywhere else in the file. Is this feature available in Torsion at all?
2- Do Debug and the other features only work if you are within a Torsion project? If so, how do I convert an existing T2D MIT program and its scripts and modules to a project? I never used Torsion with TGB so I never really got into figuring out how it all works.
1- I was using Notepad++ for a while, and the one feature that it has that I haven't found in Torsion is the ability to select a word (variable, function, whatever) and it automatically highlights that word anywhere else in the file. Is this feature available in Torsion at all?
2- Do Debug and the other features only work if you are within a Torsion project? If so, how do I convert an existing T2D MIT program and its scripts and modules to a project? I never used Torsion with TGB so I never really got into figuring out how it all works.
#2
1) That's too bad, it really speeds me up when I'm trying to find how things are connected together.
2)My main problem (other than a complete lack of understanding of all the settings when trying to start a new project) is that as far as I can tell Torsion only supports the legacy engines, and it doesn't appear to be getting updates anymore. I can throw together a random New Project with settings I don't really understand and try to combine it with a copy of what I am working on in T2D MIT, but if I try to run the debugger or anything it just says Precompiling forever without doing anything.
Are you using Torsion with the new T2D MIT successfully? If so, can you tell me what you did? The forum here seems pretty dead as far as Torsion goes, and as far as I can tell the last time I checked the author of Torsion hadn't been on since last year sometime.
05/20/2013 (5:58 am)
Hello Charlie! Thanks for the response!1) That's too bad, it really speeds me up when I'm trying to find how things are connected together.
2)My main problem (other than a complete lack of understanding of all the settings when trying to start a new project) is that as far as I can tell Torsion only supports the legacy engines, and it doesn't appear to be getting updates anymore. I can throw together a random New Project with settings I don't really understand and try to combine it with a copy of what I am working on in T2D MIT, but if I try to run the debugger or anything it just says Precompiling forever without doing anything.
Are you using Torsion with the new T2D MIT successfully? If so, can you tell me what you did? The forum here seems pretty dead as far as Torsion goes, and as far as I can tell the last time I checked the author of Torsion hadn't been on since last year sometime.
#3
I am using Torsion with T2D MIT! I just checked the repo and there is a "sandbox.torsion" file in the main repo. In the case of the sandbox, you should be able to click on it to start Torsion. Try that and see what happens. And see if you can run T2D in the debugger.
I don't recall having to set anything. Over time I have touched just a few options (but again I don't think you should have to).
Under project settings > Under Project Tab
* Base Directory should be the project dir
* Entry Script should be main.cs
Under project settings > Under Configuration Tab > under debug edit
* Executable should be a full path to Torque2D_DEBUG.exe
P.S. If I have main.cs open in Torsion when I start the debugger, I can see this added to the top of that file:
05/20/2013 (7:54 pm)
Hi Chase,I am using Torsion with T2D MIT! I just checked the repo and there is a "sandbox.torsion" file in the main repo. In the case of the sandbox, you should be able to click on it to start Torsion. Try that and see what happens. And see if you can run T2D in the debugger.
I don't recall having to set anything. Over time I have touched just a few options (but again I don't think you should have to).
Under project settings > Under Project Tab
* Base Directory should be the project dir
* Entry Script should be main.cs
Under project settings > Under Configuration Tab > under debug edit
* Executable should be a full path to Torque2D_DEBUG.exe
P.S. If I have main.cs open in Torsion when I start the debugger, I can see this added to the top of that file:
// BEGIN TORSION dbgSetParameters( 6060, "password", true ); // END TORSION
Associate Charlie Patterson
Default Studio Name
1) This is not a feature of Torsion. Or I have not found it in 1.5 years. :)
2) Debug works with torsion projects. It's irreplaceable! I would guess it is necessary to have a torsion project file so as to keep debugging settings, although it works for me without any settings changes. I believe I have, in the past, copied a torsion file from anywhere into the top-level directory of a project. The next time I double-clicked that torsion file it did a little house cleaning and worked. If you don't see one to copy, you might be able to, AFTER COPYING YOUR FILES!, create a "new project" right into your game folder. If not, you could create a dummy project just to have a torsion project file to copy.