A bi-directional WebSocket protocol makes possible more interaction between a browser and a web site, facilitating creation of real-time games.

learn more… | top users | synonyms

0
votes
1answer
702 views

How to use Cocos2dJS to connect to a Socket.IO server?

How can I connect to a nodejs socket.io server from a cocos2djs game? I've google all the way to no avail. I tried this but it does not work: socket = io.connect('http://192.168.254.102:7714'); if ( ...
0
votes
0answers
54 views

Unity websocketsharp is closing the connection directly

I got a working code, which I want to change a bit for better readability but afterwards my web socket is just closing instantly. First off, I got this code working : using UnityEngine; using ...
0
votes
0answers
25 views

Movement prediction on client

Im pretty new to game development. Currently I try to predict the movement of the player on the client. But my client and my server are calculating different values. Im using a delta time for the ...
0
votes
0answers
20 views

Changing game variables through network in run time for debugging

I want to implement a system in my game that will allow me to change in game parameters on runtime through the network. Lets say my game is running on a ps4 or xbox one, I want to be able to register ...