Animations played on a player's client are delayed on other players screens

I’m working on a fighting game, and whenever I play an animation on a client, it plays instantly on the client’s screen, but there’s a slight delay for other players, whereas when I do it on the server, it plays relatively quickly for both sides. So I’m wondering if I’m doing something wrong on the client for it to be delayed, because a lot of people recommend playing animations on the client, and a lot of fighting games don’t seem to have this issue.

2 Likes

this has an inevitable delay from lag because the client has to send the message to the server and then the server sends the message to the other clients

2 Likes

So, which one is the better option? (Nevermind, it turned out that the delay wasn’t that big when played on the client, and it was just because one of the devices I was testing it on was slow.)

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.