A bi-directional WebSocket protocol makes possible more interaction between a browser and a web site, facilitating creation of real-time games.
2
votes
1answer
88 views
Particle systems on multiplayer games
I'm working on a 2D javascript/Three.js multiplayer game, using web sockets and an authoritative server currently written in Python.
The combat mechanic will be similar to Geometry Wars however i'm ...
1
vote
1answer
72 views
Architectural advice - websockets javascript/php integration
Myself and a friend have started making a game, he's likely to be using impact.js for the user interaction etc, but we need multiplayer functionality so some form of websockets for TCP connections ...
3
votes
4answers
395 views
Turn based game - HTTP or WebSocket?
My game will be a turn based game which will need a server gateway in order to send requests. What would be better for the server: using REST HTTP GET for making the requests? Or using WebSocket which ...
2
votes
2answers
398 views
How to build a turn-based multiplayer “real time” server
I want to build a TCG for mobile devices that is multiplayer over the web (not local wifi or bluetooth). As a player plays cards I want the second player to see what is being played in "real time" ...
0
votes
2answers
159 views
How to handle multiple game sessions where players turn can timeout, using Python and Socket.IO?
I want to make a multi player card game, allowing several people to play with each other (each game session should be able to have between 5 - 10 players).
I'm doing this in Python (Django and ...
1
vote
2answers
479 views
In Socket.IO, should I use JSON for communication between server and client?
I'm building an MMO with Socket.IO and Node.js. It works quite fast (though I don't have 1000 players yet) but my feeling is that it's not very optimized. JSON is super cool and easy to use within ...
3
votes
5answers
338 views
How to keep track of players nearby other players in an MMO
I'm confused how to handle the players in my MMO server (using Socket.IO but I think this should apply to any MMO).
Suppose there are 2 players in my server that are far away from eachother. I will ...
3
votes
1answer
127 views
What is the best method to serve a real time game on websockets?
The game consists of a world with just one force, gravity. All the players can do is jump and set their velocities with arrow keys. Physical AABBs and sphere's are used for collision.
What is the ...
3
votes
1answer
1k views
Latency benchmarks for WebSocket games?
I'm trying to find some actual latency benchmarks for using WebSockets in HTML5 games. If I were to go down this route, I'd probably end up using (as you might expect) Node.js and Socket.IO.
However, ...
7
votes
3answers
472 views
How often to update a Game Client about the World?
Using socket.io, I have a communication similar to that of other MMORPGs, a steady connection with messages.
In my design so far, the client sends the player's position and animation frame with every ...
0
votes
0answers
158 views
Online Game Considerations [closed]
I want to make a kind of online game, completely in JavaScript, using the <canvas> and socket.io. The general How is covered, there are just some minor problems with the design and architecture ...
8
votes
2answers
6k views
Multiplayer HTML5, Node.js, Socket.IO
I trying create simple Multi-player with HTML5 Canvas, JavaScript(too using John Resig simple Inheritance library) and Node.js with Socket.IO.
My client code:
var canvas = ...
9
votes
2answers
2k views
Online multiplayer game basics
I'm currently working on a c# online multiplayer game in real-time. The aim is to have client/server based connection using the UDP protocol. So far I've used UDP for players' movements and TCP for ...
3
votes
3answers
601 views
Required Security Precautions for Flash / AS3 Multiplayer Game
I have created a couple of games in Flash/AS3 and am playing with programming a flash-based multiplayer (possibly mmo?) game where the application will communicate with a server over a socket ...
1
vote
1answer
1k views
Multiplayer game with Cocos2d-Javascript and Node.js
It is possible to make a multiplayer browser based game using cocos2d-javascript + node.js? If so, is there any tutorial about that?