07th-mod / higurashi-assembly

9 stars 8 forks source link

Handle or Fix Text Overflow across all arcs #102

Open drojf opened 1 year ago

drojf commented 1 year ago

We still have some cases when text overflows the textbox, due to accidentally having too much text on the screen at once without clearing the page.

Some ways to fix this:

  1. Try to scan the game script for cases where there is too much text on screen, and fix up the individual cases
  2. Some other VN engines can reduce the font size if there is too much text on the screen, so at least you can read the text.
    • It would also be good to log when this happens (we already have a special log file), so we can fix it properly (but this relies on users reporting that text has overflowed). I guess we could make something to automatically play through the game scripts and detect overflow that way, too.
    • There is already some logic to calculate various text properties used in the text log, so it shouldn't be incredibly difficult to implement.
    • Test by deliberately overflowing the text box to see what happens