Picoseconds / sanctuary

A working (in 2021) MooMoo.io private server that is constantly getting updates!
Do What The F*ck You Want To Public License
16 stars 22 forks source link

Lags while moving the mouse around the player. #19

Closed algorithmax closed 3 years ago

algorithmax commented 3 years ago

When moving the mouse around a player, in the second client the animation of the first player (client) rotation is not smooth. Player sometimes shaking without any reason. And why does the arrow not show on the canvas when shooting? Why is that? Can this be improved somehow?

algorithmax commented 3 years ago

Okay, but what is the reason of lags on the frontend when moving the mouse cursor around the player?

pon., 14 wrz 2020 o 16:00 Project-Magenta notifications@github.com napisał(a):

Try shooting slowly, the arrow should appear

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Picoseconds/sanctuary/issues/19#issuecomment-692072052, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOHU6GTFT4GCSGCFXJFD6P3SFYOY7ANCNFSM4RLO3NKA .

Picoseconds commented 3 years ago

The reason is that the player updates are too fast and the client does not have time to animate.

algorithmax commented 3 years ago

Is there a simple solution for that?

cklasacrcez commented 3 years ago

There is no .env file included in the repository with the basic ticks configuration, you can define your own file or maybe author will update the repository.

Picoseconds commented 3 years ago

@cklasacrcez we use a sane default for now

Picoseconds commented 3 years ago

If you assign TICK_INTERVAL in .env, you must set it to a value above 33 as it will not take effect if you don't.

algorithmax commented 3 years ago

k thanks.