Mirage Engine
Websocket/C# Server - Printable Version

+- Mirage Engine (https://mirage-engine.uk/forums)
+-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61)
+--- Forum: Mirage Source (https://mirage-engine.uk/forums/forumdisplay.php?fid=5)
+---- Forum: Other (https://mirage-engine.uk/forums/forumdisplay.php?fid=58)
+----- Forum: Projects & Show-Off (https://mirage-engine.uk/forums/forumdisplay.php?fid=55)
+----- Thread: Websocket/C# Server (/showthread.php?tid=3365)



Websocket/C# Server - Jacob - 01-02-2013

I've started work on a JS/Websocket game with a c# server.

I put up a proof of concept here:
www.buttercog.com

Currently only working in chrome because it's a very very early prototype.

If you can't move with the arrow keys, enter a chat message and hit enter. A small bug that is fixed in my local code. My current build isn't ready to be uploaded yet.


Re: Websocket/C# Server - William - 03-02-2013

Not bad, it works Tongue


Re: Websocket/C# Server - JokeofWeek - 10-02-2013

Nice, looking good! How do you find working with Websockets in C#? The only experience I have with them is Node.js but they seemed pretty sweet from what I saw!

Keep on going with this! Smile


Re: Websocket/C# Server - Jacob - 10-02-2013

I found a websocket server to work off of. https://github.com/statianzo/Fleck

The websocket implementation was easy to hook into. If you're interested in code, just send me a message.


Re: Websocket/C# Server - JokeofWeek - 10-02-2013

Nice Smile Are you using Socket.io for the client side, or is there a .NET library for that? I must admit I'm not familiar with ASP.NET and I haven't checked out C# in ages.


Re: Websocket/C# Server - Jacob - 10-02-2013

Right now I'm just using the js socket object directly. I suck at js, so i'm just 'hacking' that all together so it works, lol.

The actual server is a console app and separated from asp.net.

The maps are also proceduraly generated right now, fun stuff.


Re: Websocket/C# Server - JokeofWeek - 10-02-2013

Ah I see! Procedural generation is amazing.