More Clear Networking Tutorials
by Le Roi · in Torque Game Builder · 06/12/2006 (6:53 am) · 25 replies
Hi
Can someone post more networking tutorials ? - the checkers was good , but I would like to see a more loosely-coupled tutorial , thus
Step 1 : This the layout (in the form of a picture).
Step 2 : This is the server Code (and all the callbacks etc)
Step 3 : This is the client Code (and all the callback etc.)
Step 4 : This is how the client and server communicate
Step 5 : .....
Thanks
Can someone post more networking tutorials ? - the checkers was good , but I would like to see a more loosely-coupled tutorial , thus
Step 1 : This the layout (in the form of a picture).
Step 2 : This is the server Code (and all the callbacks etc)
Step 3 : This is the client Code (and all the callback etc.)
Step 4 : This is how the client and server communicate
Step 5 : .....
Thanks
About the author
#22
11/03/2006 (3:37 pm)
Matt is dah Man!
#23
When I ran from tgb 1.1.2, I noticed the error which looked something like:
unable to instantiate non-conobject t2dTextObject
I read www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=10136
and concluded that this means the means that
www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=7396
Matthew must have been using that resource, or something like it. I'll test it tonight.
11/06/2006 (8:10 am)
For anyone else who is trying to run Matt's network demo from source code.When I ran from tgb 1.1.2, I noticed the error which looked something like:
unable to instantiate non-conobject t2dTextObject
I read www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=10136
and concluded that this means the means that
Quote:the t2dTextObject class was not compiled into TGB.exeThere is a text resource that must be added to your engine to use the t2dTextObject.
www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=7396
Matthew must have been using that resource, or something like it. I'll test it tonight.
#24
I also had to add the Layer Floater resource:
www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=11125
which for some reason is failing to load for my "Green" project, and succeeding to load for the FishDemo.
Actually it says it is failing to load, but the Layer Floater is there anyway. Any other resources I'm going to need?
11/07/2006 (7:23 am)
After adding the resource, I had to change all things formatted like fxTextObject2D to t2dTextObject, as described in the resource posting.I also had to add the Layer Floater resource:
www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=11125
which for some reason is failing to load for my "Green" project, and succeeding to load for the FishDemo.
Actually it says it is failing to load, but the Layer Floater is there anyway. Any other resources I'm going to need?
#25
www.garagegames.com/mg/forums/result.thread.php?qt=54851
It is the most basic networking example you can get with TGB. It is less than 50 lines of script (without comments).
Hope this helps!
Tom Bentz
digitalblur entertainment
12/06/2006 (10:26 pm)
I just posted a simple hello network example here:www.garagegames.com/mg/forums/result.thread.php?qt=54851
It is the most basic networking example you can get with TGB. It is less than 50 lines of script (without comments).
Hope this helps!
Tom Bentz
digitalblur entertainment
Torque Owner John Klimek