tiffit / TaleCraft

TaleCraft - A Mod for More Custom and Advanced Mapping
MIT License
12 stars 6 forks source link

Add the Testing Feature back from AdventureCraft #56

Open Starz0r opened 8 years ago

Starz0r commented 8 years ago

AdventureCraft had a testing feature that allowed you to use things like keys, and doors, and triggers, without it being saved to the map after you are done testing. This was nice, and I'd like to see this make a return.

Longor1996 commented 7 years ago

This requires that a deep-copy (or a deep-diff) of the entire active world is made, including all blocks and entities, and that copy be restored once the playtest-mode is disabled.

Note: Tracking every single change that is done and reversing them might be overkill. Although there is a cinematic camera mod that can do just that... I wonder how they did it.

Another note: Should the playtest be global for all players, or local to only one player?

If its supposed to be local:

If its global: