New answers tagged

0

I think really your question seems to be one of protocol rather than language. You've ruled out HTTP, but that doesn't necassarilly rule out PHP, as you can implement websockets in that as well as other languages. The same is also true of sockest, so if you know PHP my advice would be to stay with that language server side unless there's a compelling reason ...


2

What you can do is not to send to the server the game statuses(like positions), just the clients inputs. So on client input (lets say that clientA press 'fire' button), you can send this event to the server ('fire from clientA'), then the server broadcasts the event to all clients and are the clients whom finally make the changes, with the Phaser engine (...



Top 50 recent answers are included