Mirage Source

Free ORPG making software.
It is currently Thu Mar 28, 2024 4:06 pm

All times are UTC




Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: Websocket/C# Server
PostPosted: Fri Feb 01, 2013 6:55 pm 
Offline
Pro
User avatar

Joined: Tue Nov 13, 2007 2:42 pm
Posts: 509
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.


Top
 Profile  
 
 Post subject: Re: Websocket/C# Server
PostPosted: Sun Feb 03, 2013 12:47 pm 
Offline
Community Leader
User avatar

Joined: Mon May 29, 2006 1:00 pm
Posts: 2538
Location: Sweden
Google Talk: johansson_tk@hotmail.com
Not bad, it works :P

_________________
I'm on Facebook!My Youtube Channel Send me an email
Image


Top
 Profile  
 
 Post subject: Re: Websocket/C# Server
PostPosted: Sun Feb 10, 2013 2:25 pm 
Offline
Knowledgeable
User avatar

Joined: Sun Nov 19, 2006 6:59 pm
Posts: 213
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! :)

_________________
Image


Top
 Profile  
 
 Post subject: Re: Websocket/C# Server
PostPosted: Sun Feb 10, 2013 2:49 pm 
Offline
Pro
User avatar

Joined: Tue Nov 13, 2007 2:42 pm
Posts: 509
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.


Top
 Profile  
 
 Post subject: Re: Websocket/C# Server
PostPosted: Sun Feb 10, 2013 4:16 pm 
Offline
Knowledgeable
User avatar

Joined: Sun Nov 19, 2006 6:59 pm
Posts: 213
Nice :) 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.

_________________
Image


Top
 Profile  
 
 Post subject: Re: Websocket/C# Server
PostPosted: Sun Feb 10, 2013 5:02 pm 
Offline
Pro
User avatar

Joined: Tue Nov 13, 2007 2:42 pm
Posts: 509
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.


Top
 Profile  
 
 Post subject: Re: Websocket/C# Server
PostPosted: Sun Feb 10, 2013 5:38 pm 
Offline
Knowledgeable
User avatar

Joined: Sun Nov 19, 2006 6:59 pm
Posts: 213
Ah I see! Procedural generation is amazing.

_________________
Image


Top
 Profile  
 
 Post subject: Re: Websocket/C# Server
PostPosted: Tue Nov 02, 2021 7:13 pm 
Offline
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456192
Robe331.8PERFBettXVIIWindWillAnnaFlemSaisDixiDunsCrysSignKompQuatXIIIAlleBehiSwisZoneBattCham
OrieOdysMataRubyDesiJohnCrysEdgaNeveNiveSomeIrenDefoDomaBrauErneNiveGlisVIIIOreaJeanTonyExpe
LacaSonyRogeJeweMeloXVIIButcMidiHovaSelaKathRobaScotRichYorkChriFranLangNikiNikiLoheReneEnig
SlowMegaMakoGiorArthMichMoreZoneFallWindRusiZoneNeonArtsRockSalmZutoRezaZoneChetSchoOverZone
PridOlimZoneSchiSwarZoneABYXGuttArthCarlZoneVoicMontZoneZonePeteJuliFyodPanzAlfrJoseLookLoui
JohnForeDepoVideAmazGregBoscSMILVideHastHainBookChanPETEBeflVanbSlowRobbNamaPriyXXIIthrefolk
FundEditSOHOJuliSantPoliWindWindBaldPockTokisupehappIcedHollAndrPrelFyodcrimWillChucDancHear
ThunViveRobeForeHonoAdriEdwaLouiAcadUnbeholdFishDaviSlipDarkCASEJohnmighDomiWordOlivOZONTang
OlivKellreadInteStepGeneShadSallEnglDonohrisdeadwwwnOpenOverHopePollWordAutoLexuWindVideVide
VideLittWoodWilhAlexClayMarkNazaMarkTurnJonaBoroHapptuchkasAmitNare


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group