07th-mod / 07th-mod/higurashi-assembly

Handle or Fix Text Overflow across all arcs

未關閉
#102 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
C#
星號
12
分支
12
PR 合併指標
30 天內沒有已合併 PR

描述

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

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

在程式碼庫中尋找文字渲染和佈局邏輯,很可能在 UI 或文字方塊元件中。檢查日誌中提到的現有文字屬性計算。透過建立一個使文字方塊溢出的腳本來測試目前行為。修復可能涉及字型縮放或跨遊戲章節的腳本分析。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
csharp
領域
game-dev
Issue 類型
缺陷
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。