Joé Donzallaz

Results 6 comments of Joé Donzallaz

Yes, at the moment the position is only changing by server data. But setting up movement prediction on client side shouldn't be a big problem.

You're welcome. I'm also working on a similar game, but I would suggest you not to start from this project because there are a lot of things that aren't "production...

Socket.io isn't really appropriate for this kind of game. Websockets packets are too big. Too much nested for loops. Movement prediction is missing. The quadtree is recreated for each player...

I'm using einaros ws. This websockets library is one of the fastest that I know. I don't think there is a maximum packet size. The smaller the better.

The ping-pong functions can't be named "ping" and "pong" in socket io because those namespaces are already used somewhere else in socket io. Renaming the sockets to "drip" and "drop"...

I'm not 100% sure if adding a dummy point is the right way to go. What do you think? I will think about it when I got some more time....