07th-mod / 07th-mod/higurashi-assembly
Handle or Fix Text Overflow across all arcs
- Dominant language
- C#
- Stars
- 12
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
No contributing guide indexed for this repository
Research direction
Look for text rendering and layout logic in the codebase, likely in UI or textbox components. Examine existing text property calculations mentioned for the log. Test by creating a script that overflows a textbox to see current behavior. The fix may involve font scaling or script analysis across game arcs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- game-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100