4 ms·
That's cool, keep up the effort.. I've been working on multiplayer game for the last 6 months. I use HTML5/JS, WebSockets, WebGL and node.js (I rewrote my serve
by crucio 14y ago
That's cool, keep up the effort.. I've been working on multiplayer game for the last 6 months. I use HTML5/JS, WebSockets, WebGL and node.js (I rewrote my server 6 times while flicking between node and Java, but eventually stuck with node.js as it was frustrating swapping between languages when developing the client and server at the same time)
My game has real time twitch-based combat, meaning you use the controls to directly move your player around and shoot at 30fps+. This was a real pain to build with TCP as I have to have a lot of client side prediction and lag correction to handle packet resends. I can't wait until UDP is more widely available with HTML5's DataChannel: http://www.thrupoint.com/2012/11/webrtc-data-channel/ http://www.thrupoint.com/2012/11/webrtc-data-channel/
I've gone with my own VPS (around £5 a month) but will probably move over to AWS if I get further with the game.