Kirilllive / tuesday-js

simple web-based, free and open-source visual novel editor that can be used in a web browser. It is written in JavaScript without using any third party libraries and thus does not require additional software installation. The engine uses standard HTML document elements such as div and img. This allows the use of any media format supported by browsers including vector graphics svg, gif animations and css styles.
https://kirilllive.github.io/tuesday-js/
Apache License 2.0
513 stars 62 forks source link

Text Add behaves unpredictable when going back. #12

Closed goldenxp closed 3 years ago

goldenxp commented 3 years ago

If you click the story back button, text-add adds to the current window before going to the previous scene. See the following novel. new_novel.json.txt

goldenxp commented 3 years ago

I'm also encountering a repeating bug with Text Adds. If you go back and forth multiple times, you append the same string over and over.

Kirilllive commented 3 years ago

Hello! thanks for testing, unfortunately I am aware of this problem and at the moment do not know how to properly solve it.

the problem is that it is not known which replica was originally before the additions. flipping through all the dialogues and forming a replica is a very big operation.

for now, I would recommend avoiding text add at the end of the scene.