mirror of
https://github.com/OpenLiberty/liberty-bikes.git
synced 2025-01-18 10:23:58 +08:00
e5177c652f
Instead of sending each individual player location update to each client on every game tick, instead send all player locations as an array in a single message. This cuts down the amount of messages per game tick from 16messages to 4 (when 4 players are involved). Also, fix a bug that would allow players to move backwards on themselves if they change direction more than once per game tick. |
||
---|---|---|
.. | ||
.settings | ||
src/main | ||
.classpath | ||
build.gradle |