Sign in to follow this  
ogreind

Unreal style networking for .Net?

Recommended Posts

ogreind    175
The Unreal engine (through UnrealScript) has an excellent networking model where normal game objects have small annotations added to them to say how they are to be replicated over the network. The lower level Unreal engine then handles the rest leaving the game or mod developer to focus on what is important to them, and allows the underlying network model to change with little to no changes being made to the logic classes. This is an elegant system and has served Unreal well... what if it could be adapted to the .Net framework? I'm currently working on a system which uses dynamic code generation based on custom attributes in the game logic classes to automatically generate efficient networking wrappers for the logic classes. With this, you can write your game code normally in C#, add a few attribute to say how things are replicated, and the engine handles the rest. This is all based on Tim Sweeney's amazing Unreal Networking Architecture doc, and it just struck me that a similar system for C# is both possible and would make networked game creation a cinch. I've got the system up and running with the code-gen and basic networking, but it still has far to go (a preliminary doc on how this was done can be found here, with an example of creating a chatting system using two simple functions). If anyone has any thoughts on this (or would even like to help) I'd love to hear it as I'm fairly new to network programming (my background is mostly in graphics). Thanks for your thoughts, -Lewey Geselowitz - leweyg.com

Share this post


Link to post
Share on other sites
hplus0603    11356
I had the same thought a while back, but didn't really have any time to look into it in any depth. I'm glad somebody is, because I don't know of any C# game-specific networking libraries to speak of.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this