Game Development Community

How to Start Developing in C++ .Net 2003

by Faisal Shah · in Technical Issues · 03/09/2006 (1:24 pm) · 16 replies

Hi:
I just bought Torque SDK , installed it and then ran the demo project for .net 2003, which compiled successfully. Now I am out of ideas where to start from . I would like to develop games in C++ .Net 2003. Any tips or tutorials will be appreciated. Thank you in advance.
Faisal
Microsoft Canada

About the author

Recent Threads


#1
03/09/2006 (1:25 pm)
And also The book 3D programming all in one uses Ultraedit -32. I am so fond of developing in .net 2003 environment. any good resources or tutorial will be much appreciated to get my first step into this zone.
Thankyou in advance.
Faisal
Microsoft Canada
#2
03/09/2006 (1:41 pm)
The main problem that you will have with scripting in .NET 2kX is that it automatically assocaites .cs files with C#. I would actually recommend Torsion or CodeWeaver for TorqueScript editing. Both have a strong VC++ IDE mentality and great functionality.
#3
03/09/2006 (1:42 pm)
I will help with what I can.

IDE of Choice
http://www.torquedev.com/

As far as Dev in .net I am not sure if that is possible the engine has scripting language so I wouldnt understand why you would want to go in the .net route. I will let someone else address that though.
#4
03/09/2006 (1:43 pm)
TorqueDev is codeweaver!
#5
03/09/2006 (2:43 pm)
@Faisal, you cant write Torque in .NET... (well you can write TGB, but only if you get the wrapper i wrote)

what you *could* do, if you are not only a .NET dev, but a masterful c++ dev, is write c++/CLI, and then integrate back into native .NET... but this is a pretty specialized skill, and all my cries for help on the msdn forums asking questions on C++ CLI marsheling/interop went on deaf ears... so it'll be some work :)
#6
03/09/2006 (2:53 pm)
I was wondering about .NET as well. Codeweaver sounds like the way to go, thanks!
#7
03/09/2006 (3:21 pm)
First of all, I would like to Thank All of you who took time to help me out. I will take each consideration , try them out and will take on from there. Again , I really appreciate your help and guidance.
Thank You,
Faisal
Microsoft Canada
#8
03/09/2006 (3:22 pm)
Thank you , David, Donald, Christopher and Jason . I really appreciate your guidance in this matter:)
Faisal
Microsoft Canada
#9
03/09/2006 (3:24 pm)
Donald: I agree on this point about Scripting and Programming. Why program in .NET when scripting Editors are available , yet how well debugging can be in scripting editor. To me thats a vague area to explore, but I have to start from somewhere :) . Thank you for the response:)
Faisal
Microsoft Canada
#10
03/09/2006 (3:25 pm)
If you have questions on c++/CLI marsheling, I got it working with Torque, so i might be able to answer questions, but I have all my code archived, so it is not available for me to look at right now.

(and btw, pinvoke wont work properly, I kept getting random crashes and stack corruption, you will have to manually write the variable conversions yourself, which is a pain)
#11
03/09/2006 (3:28 pm)
David: Thank you for the recommendations I am exploring CodeWeaver right now and I will update the results and my comments here. Thank you
Faisal
Microsoft Canada
#12
03/09/2006 (3:33 pm)
All of you: Lets say I write a script of HelloWorld.cs in CodeWeaver.

function main()
{
print("Hello World");
}

Now how would I execute this file? in Fennys book, he executes from the cmd DOS by invoking tge command. but when I try to run this then I get error message "TGE" is invalid command.

I have windows XP Pro
.Net 2003 Pro
TGE 1.4 SDK installed

Any help will be appreciated. If this question is not posted in the right area, Please ignore it and my apologies in advance.
Thank you,
Faisal
Microsoft Canada
#13
03/09/2006 (3:34 pm)
Jason: I agree with you on this subject about CLI, it really is a long and painfull route to take. I really appreciate your guidance in this matter. Thank you.
#14
03/09/2006 (3:39 pm)
Jason: I agree with you on this subject about CLI, it really is a long and painfull route to take. I really appreciate your guidance in this matter. Thank you.
#15
03/09/2006 (3:40 pm)
Jason: I agree with you on this subject about CLI, it really is a long and painfull route to take. I really appreciate your guidance in this matter. Thank you.
#16
03/09/2006 (3:54 pm)
Jason: I agree with you on this subject about CLI, it really is a long and painfull route to take. I really appreciate your guidance in this matter. Thank you.