Open joeyshi12 opened 2 years ago
The app currently has a naive implementation of multiplayer.
There are some minor issues concerning gameplay, but this is not crucial to address at the moment since the app doesn't play around with any important data rn.
Emitting on every draw update is heavily affecting performance. Emit only on keypress inputs when moving update logic
Reference: https://www.gabrielgambetta.com/client-side-prediction-server-reconciliation.html
The app currently has a naive implementation of multiplayer.
There are some minor issues concerning gameplay, but this is not crucial to address at the moment since the app doesn't play around with any important data rn.