Send less Server Data with "AFK"
- by Oliver Schöning
I am working on a 2D (Realtime) MultiPlayer Game.
With Construct2 and a Socket.IO JavaScript Server.
Right now the code does not include the Array for each Player.
var io = require("socket.io").listen(80);
var x = 10;
io.sockets.on("connection", function (socket)
{
socket.on("message", function(data)
{
x = x+1;
});
}); …