Working on a Silverlight Multi-Player Library

by Cameron Albert 12. March 2009 12:58

I have been porting out the multi-player aspects of Perenthia into a separate library I hope to get up on CodePlex before too long. What the library will provide is some interfaces and classes related to handling multi-player environments. A central static class will manage connected clients and three protocol classes for HTTP, Polling Duplex and Sockets will use the static class to retrieve connected clients and push information down to them. A simple set of "tags" are used to send information back and forth and some providers allow for defining your own implementation of handling commands and encrypting data.

The library will be focused on providing an easy way to get setup and implement a multi-player structure. You will still need our own game engine and associated components.

As soon as I get it cleaned up a little and tested out I will put it up on CodePlex and provide a tutorial and sample application showing how to implement and use the component.

Tags:

Game Development | Perenthia PBBG | Silverlight 2 Development | Silverlight Games

Comments

3/16/2009 11:06:09 PM #

Chad Lung

Sounds very cool Cameron.  I eagerly await to see this on Codeplex!
Blogged: http://giantflyingsaucer.com/blog/?p=407

Chad

Chad Lung United States

3/23/2009 3:22:12 PM #

007b2b

Sounds very cool Cameron. I eagerly await to see this on Codeplex!

007b2b People's Republic of China

4/22/2009 8:51:16 PM #

Tiago

Hello Albert.

I'm starting a multiplayer game in Silverlight and I'm thinking about using WCF Duplex Polling since it seems to me like the easier way to do it. The perfect solution would be to use Sockets, of course, but I think it would be harder.

I can't wait to see your framework. When will it be available in CodePlex?

Thank you.

Tiago Portugal

4/28/2009 4:41:17 PM #

Woshiernog

I am also interested in what you come up with.

Woshiernog United States

Powered by BlogEngine.NET 1.5.0.7
Modified Theme by Mads Kristensen

About the Author

CameronAlbert.com I am Senior Software Development Consultant specializing in Silverlight, WPF and the Microsoft .NET Framework. 

My current project Perenthia is a Silverlight multi-player game based in a fantasy world that combines text adventure games with some moderate graphics

View Cameron Albert's profile on LinkedIn
See how we're connected

Follow cameronalbert on Twitter

 

Recommended Books

Silverlight 4 Business Application Development - Beginner's Guide:

http://www.packtpub.com/microsoft-silverlight-4-business-application-development-beginners-guide/book

Microsoft Silverlight 4 Business Application Development: Beginner’s Guide