Building TGB 1.6 source code with VS 2005
by Tony Abou-Haidar · in Torque Game Builder · 01/15/2008 (8:34 pm) · 1 replies
Hi all,
I am fairly new to TGB and this is my first post. I have been working on my own game for a few weeks using only scripts. Now I need to add/modify C++ source code. I opened the T2D solution file that ships with the TGB 1.6 pro in Visual Studio 2005 (ver 8) and rebuilt the entire solution in debug mode after making some changes of course to the source code. I ended up with two new .exe's:
\program files\GarageGames\TorqueGameBuilder-1.6\tgb\TorqueGameBuilder_DEBUG.exe
and
\program files\GarageGames\ToequeGameBuilder-1.6\tgb\gamedata\T2Dproject\TGBGame.exe
things are looking good so far. when I run the first exe, it prompts to open a main.cs. when i select my game's main.cs, The TGB window shows nothing but black. When i open the main.cs located under \program files\GarageGames\TorqueGameBuilder-1.6\tgb\, TGB runs fine and I am able to load any game I want.
Now the problem is that I don't see the changes I made taking effect. I also tried adding breakpoints in the source code and running the solution in Visual Studio in debug mode but the breakpoints are ignored. I placed a breakpoint in the method setFrame() which I actually call in script but the breakpoint was ignored.
If any of you folks sees what I am doing wrong, please let me know. Thanks in advance.
-Cheers!!
I am fairly new to TGB and this is my first post. I have been working on my own game for a few weeks using only scripts. Now I need to add/modify C++ source code. I opened the T2D solution file that ships with the TGB 1.6 pro in Visual Studio 2005 (ver 8) and rebuilt the entire solution in debug mode after making some changes of course to the source code. I ended up with two new .exe's:
\program files\GarageGames\TorqueGameBuilder-1.6\tgb\TorqueGameBuilder_DEBUG.exe
and
\program files\GarageGames\ToequeGameBuilder-1.6\tgb\gamedata\T2Dproject\TGBGame.exe
things are looking good so far. when I run the first exe, it prompts to open a main.cs. when i select my game's main.cs, The TGB window shows nothing but black. When i open the main.cs located under \program files\GarageGames\TorqueGameBuilder-1.6\tgb\, TGB runs fine and I am able to load any game I want.
Now the problem is that I don't see the changes I made taking effect. I also tried adding breakpoints in the source code and running the solution in Visual Studio in debug mode but the breakpoints are ignored. I placed a breakpoint in the method setFrame() which I actually call in script but the breakpoint was ignored.
If any of you folks sees what I am doing wrong, please let me know. Thanks in advance.
-Cheers!!
Associate David Montgomery-Blake
David MontgomeryBlake
EDIT:
It seems that you don't have a license for TGB 1.6. You should have the team member who purchased it post on the private forums.