Wednesday, 1 July 2020

Dealing with latency

I am (more appropriately was) making a 2d MMORPG, however, I had a few realisations recently:(1) My movement (on the server side) and animation (on the client side) depended on frames instead of time.(2) My authoritative server was just that - a basic authoritative server, i.e it doesn't deal with latency.I can fix (1) pretty easily (I think...) using delta time but having read all the things regarding handling latency, fixing (2) seems highly unlikely for me to be able to do. So I figured I would post some questions here in the hopes of receiving some help.How bad would my game experience be if I didn't handle latency? I am assuming it would be pretty bad for high ping players.What are the steps to handle latency? I have read about Interpolation/Extrapolation (Client-side prediction) But I just can't seem to follow what I have read an implement something that functions.Any help would be greatly appreciated. I am not sure whether it will influence answers but in the case it might I am using socket.io.EDIT: After posting this I realise how stupid it sounds since I am asking for things I have already read but I guess I am just out of options and figured I may as well try one last time before abandoning the project since this is one of the last things I would need to implement in order to have a 'playable' bare-bones 2d MMORPG

Submitted July 01, 2020 at 03:38PM by Yralind

No comments:

Post a Comment