PDA

View Full Version : Introduction to SDL Net using JEDI-SDL Part 3



technomage
05-02-2007, 09:27 PM
After a 2 year gap, the SDL Net Tutorials are back :!:

We left you playing with the TCP sockets in Part 2, part 3 builds on what was learnt then and adds UDP to the mix to implement a Time Sync Client and Server.

You can find the Cerebral-Bicycle version of the tutorial here (http://www.cerebral-bicycle.co.uk/viewdoc.asp?doc=352).

Edit - The PGD version can be found here (http://www.pascalgamedevelopment.com/viewarticle.php?a=70&p=1#article)

cragwolf
05-02-2007, 10:17 PM
Well done and thanks.

savage
05-02-2007, 10:17 PM
I did approve this to appear in our Articles section, but it seems to have disappeared. WILL???

WILL
05-02-2007, 10:25 PM
Thats so odd. It worked for me. :) (You did approve it in the Editor's list right?)

Well it's up now: Introduction to SDL Net using JEDI-SDL Part 3 (http://www.pascalgamedevelopment.com/viewarticle.php?a=70&p=1#article)

cairnswm
06-02-2007, 05:04 AM
I've been waiting 2 years for this. (But I did have a preview version :) )

Run-A-War uses the TCP option but I;'ve always wanted to get UDP working for my games :)

vgo
06-02-2007, 07:59 AM
Has anyone been able to download the full source code (http://www.pgd.netstarweb.com/files/201/SDLNetTutorial3.zip) for the tutorial?

Anyway, the tutorial is very good. :)

savage
06-02-2007, 09:59 AM
Link to source code fixed.

vgo
06-02-2007, 10:57 AM
Thanks a lot.

I checked the links on the first two tutorials too and the link in the first one seems to be pointing to the old site too.

technomage
06-02-2007, 12:39 PM
I have updated the links on the Cerebral-Bicycle site tutorials as well.

I have made some progress with the code for Part 4, currenty is a red dot that move around the screen. On the client is is very jerky, even on a lan, so I need to look into network prediction code etc.

Anyone know any good sites with information on how to beat lag and other network related issues :?: