Skip to content
This repository has been archived by the owner on Jan 26, 2022. It is now read-only.

Proposal: Exported file containing just dialogue and Raw file containing all information. #14

Open
yochrisbolton opened this issue Feb 24, 2019 · 2 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@yochrisbolton
Copy link
Member

As whiskers gets more complex, it makes less sense to have the graph information ( like location, data associated with it, etc ) inside the exported dialogue asset. I propose this:

When working on a project, there is a raw file that contains:

  • The dialogue information
  • The current graph information ( location, data, etc )
  • And the history object ( used for Undo and Redo functions )

Going to Save will save this raw file. There would be a new option Export to save just the dialogue information, with none of the graph related data.

I believe this would a QOL improvement when working on loaded graphs, as you'd have the full history to scrub through, as well as make the exported asset leaner and easier to read. It would also solve #9 as we'd be storing the full ( or perhaps truncated ) history object.

This would be a 2.x project.

Any thoughts or suggestions on this idea @Awkor @luizcarlos1405? Cheers!

@yochrisbolton yochrisbolton added enhancement New feature or request question Further information is requested labels Feb 24, 2019
@Awkor
Copy link
Contributor

Awkor commented Feb 24, 2019

Sounds reasonable to me. Regarding having the full history saved, wouldn't that become a lot of data really quickly?

@yochrisbolton
Copy link
Member Author

The history does get overwritten when you go back and make a change, but yeah it would definitely produce a lot of data. It's probably best to cap the object to a set number, overwriting earlier entries as it goes.

a 3 capped example:
1 - 2 - 3
2 - 3 - 4
3 - 4 - 5

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants