-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
State deltas for game updates of players and projectiles (#888)
* WIP state diffs * Commented out logic for game state diff * Formatting * Adapt broadcast code for the possibility of missing fields * Fix broadcast_game_update/2 * Wait for the match to be running to actually keep track of diffs * Bring back category when serializing entity * Commented code to only send part of diff * Add optional to protobuf fields * Diff for projectiles * Only optional protobuf fields for player and projectiles * Send delta for obstacles, remove delta for players and projectiles * Send delta for bushes * Make vertices diffable * Send delta for crates * Cleanup for PR and formatting * Generate all protobufs * Fix warning * Restore bots when disconnected * Add 1 number to arena's version * Reduce comments in diff functions and create its issue --------- Co-authored-by: agustinesco <[email protected]> Co-authored-by: Nicolas Sanchez <[email protected]>
- Loading branch information
1 parent
8e3bb97
commit e18a904
Showing
9 changed files
with
1,596 additions
and
647 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.