Closed algorithmax closed 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 .
The reason is that the player updates are too fast and the client does not have time to animate.
Is there a simple solution for that?
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.
@cklasacrcez we use a sane default for now
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.
k thanks.
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?