HTML5 multiplayer tips

I hope it’s normal to ask here, how about his more advice than about a technical problem.

I am developing a game using html5 + js, and my goal was to make it multi-user. This is a dungeon game, and I intend to have a main village where all the players online and in the village can see each other, talk and form parties, but when a player enters the dungeon, there is a separate copy for them and their party. The maximum batch size is 4.

My intention was to use websockets and write a server in C #. The problem is that I just found out that IE does not support web ports and still holds about 25% of the browser market share.

My options, it seems, should still use the web sites and cut out the IE crowd or possibly abandon the support of the multiplayer game. Someone else suggested that I just write the world data to the database and force the players to read every frame from it and update this path .. it sounds awful.

I found this socket.io thing that seems like it can use websockets or do the same transaction in other ways, but how does this affect the way I write the server? If I use the C # implementation for websockets and socket.io, can IE users talk to my server?

Or there may be other ways to communicate with clients and servers that I don’t even know about.

To be completely honest, I am tempted to abandon the idea of ​​a multiplayer game! But before I do this, I look at you guys for advice and experienced suggestions on how I can handle this. Thanks for your time, and I hope this question is ok :)

+3
source share
2 answers

Do not drop the multiplayer idea! It's a lot cooler with multiplayer. :)

Socket.io - JavaScript. , Node JS. IE Socket.io, , WebSockets . : FlashSocket XHR . , XHR, .

socket.io . (, WebSockets), , . , WebSockets ( , -) - , , IE Opera Safari. , .

# ( #), , ( ). , , HTTP-, , , .

, nginx, Apache WebSockets ( - ) ( Node JS !). .

+2

- , . , . , , .

Orbitited/Orbited2 TCPSocket. TCP . , .

0

All Articles