Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More fine-grained replay versioning #505

Open
olofson opened this issue Oct 18, 2017 · 0 comments
Open

More fine-grained replay versioning #505

olofson opened this issue Oct 18, 2017 · 0 comments

Comments

@olofson
Copy link
Owner

olofson commented Oct 18, 2017

As all enemies and levels will be remade/redesigned for 0.8.0, and there will most likely be a series of updates (at least one per region), so it's going to be a bit annoying if every updates completely breaks all replays. There's no technical reason to invalidate replays that don't depend on anything that's changed.

Maybe we should just add an 8 bit revision field for each player weapon, enemy, game core feature, map, etc, and automate the process of versioning and checking the replays per level? While playing a level, just log/mark all objects that are actually used, and then record their versions in the replay. That way, there's no need to manually check what's used where after updating stuff. Just bump the revision field of a object when modifying it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant