Friday, March 28, 2008

XNA Randy and Lindgren Networking lib

Inspired from two articles I found on ZiggyWare I wrote this short Network sample.
It uses a tile map of Randy and he Lidgren Network library.



Download it from here (link updated on March 29th)

You find the initial articles here:
Moving A Sprite In A Tile Map:
http://www.kersson.com/articles/article.aspx?ar=42
Lidgren, A Safe alternative to using XNA's Networking:
http://www.ziggyware.com/readarticle.php?article_id=168

You should start the application 2 times.

Press H or S to be the Host
Press C to act as a client

Move Randy around by using the cursor keys.

Depending on which application has focus you will move Randy around and in the other application you will see the Network Randy moving around.

No comments:

CSharpCodeFormatter