James Hancock
asked on
Exactly how did they make agar.io perfectly? (networking)
Hi
My other networking question is abandoned. I think it has become a snail's nest, so I'll simplify it...pithy...
How is agar.io's networking perfectly natural, with no lag? You can turn your circle with a mouse click or finger tap, and the response never ever stalls.
Some dude has a javascript agar.io networking tutorial out there, below , which is v good, if you want to make a LAN game or ONLY localhost game, pure TCP/IP, but it isn't optimized for the big bad world, ..distance.
There is no UDP w a TCP safety net. How exactly did they make agario perfectly? Browsers eliminate UDP. I have a good Websockets link below that I like..
I am completely comfortable making Java game servers, btw
BTW, That javascript tutorial is here
I like this page I found for WebSocket aspects here
Thanks
My other networking question is abandoned. I think it has become a snail's nest, so I'll simplify it...pithy...
How is agar.io's networking perfectly natural, with no lag? You can turn your circle with a mouse click or finger tap, and the response never ever stalls.
Some dude has a javascript agar.io networking tutorial out there, below , which is v good, if you want to make a LAN game or ONLY localhost game, pure TCP/IP, but it isn't optimized for the big bad world, ..distance.
There is no UDP w a TCP safety net. How exactly did they make agario perfectly? Browsers eliminate UDP. I have a good Websockets link below that I like..
I am completely comfortable making Java game servers, btw
BTW, That javascript tutorial is here
I like this page I found for WebSocket aspects here
Thanks
ASKER
Hi
How is that going?
I suspect I'll be more comfortable making the server in Java. - sockets
I saw an article that said UDP speedy packet firing is not crucial anymore? Does that sound plausible?
Thanks
How is that going?
I suspect I'll be more comfortable making the server in Java. - sockets
I saw an article that said UDP speedy packet firing is not crucial anymore? Does that sound plausible?
Thanks
ASKER
How is that going, the server investigation? I have access to a private business server that I intend to use for io games.
I am focusing all my attention on the server aspect, now.
Thanks
I am focusing all my attention on the server aspect, now.
Thanks
Hey Beavoid,
Unfortunately, I've been swarmed with work so I haven't been able to deep dive what their server information says.
Also, just to clarify what I mean when I say server, agar.io-clone/src/server/ is what I mean. I was interested in looking at their Server.js file as that tends to hold all the Express.js configuration and connection management info.
-Robert
Unfortunately, I've been swarmed with work so I haven't been able to deep dive what their server information says.
Also, just to clarify what I mean when I say server, agar.io-clone/src/server/ is what I mean. I was interested in looking at their Server.js file as that tends to hold all the Express.js configuration and connection management info.
-Robert
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks
Seeing your question also made me curious and I stumbled upon this: https://github.com/huytd/agar.io-clone
It seems to have all the needed information for recreating the game along with the server code.
I'll also be reviewing it to see how well the node.js express.js implementation works.
-Robert