This repository has been archived by the owner on Oct 22, 2023. It is now read-only.
Change-rollback working
Pre-release
Pre-release
Days of debugging finally paid of. This release adds full rollback functionality for changes that happened during prediction when input arrives from the past. (Lesson learned: if components were added, they have to be removed when rolling back. Sounds trivial, I know!). The debugging left a little mess behind, so the next updates will be refactorings/cleanup.
Another good thing: A new feature for debugging was added. It is possible to dump the whole gamestate. A full dump consists of a few smaller dumps:
- All active game-entities
- All input-entities
- A serialized log that lets you replicate a whole game with input simulation as it was ingame, see the dump-tests for an example.