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

Add snapshots #57

Open
minecrawler opened this issue Nov 3, 2022 · 0 comments
Open

Add snapshots #57

minecrawler opened this issue Nov 3, 2022 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@minecrawler
Copy link
Collaborator

minecrawler commented Nov 3, 2022

Description

Snapshots work like a time-machine. They record every change since a certain point and allow to do or undo them (rewind to the snapshot's creation time). Since they store deltas, they are more space-efficient than saving.

Use-Case

Snapshots should be save-able (world.save()) and can be used for simple game saves (e.g. load world from Prefab and apply snapshot)

Hints

Depends on #9

The implementation should be time-efficient as well, e.g. they should not care about the exact history. If a component was changed several times, the snapshot should only record the initial and most recent value.

@minecrawler minecrawler added the enhancement New feature or request label Nov 3, 2022
@minecrawler minecrawler added this to the 1.0 milestone Nov 3, 2022
@minecrawler minecrawler added this to To do in New Features via automation Nov 3, 2022
@minecrawler minecrawler modified the milestones: 1.0, 0.6.3 Jul 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: To do
Development

No branches or pull requests

1 participant