Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Websocket/C# Server
#1
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.
Reply
#2
Not bad, it works Tongue
Reply
#3
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
Reply
#4
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.
Reply
#5
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.
Reply
#6
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.
Reply
#7
Ah I see! Procedural generation is amazing.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)