Dialogue text is too small for its box: scale it with the game screen #68

Closed
opened 2026-10-04 18:11:19 +02:00 by PestoRosso · 1 comment
Collaborator

Reported by QA (PestoRosso)

Steps
Start a new game and read any dialogue, for example Mom's lines in the opening.

Actual
The dialogue text is about 14 px, the same size as the buttons. Each line (18 characters, from the game's own line breaks) fills only about a quarter of the wide dialogue box, so the box looks far too big for the text.

Expected
The box keeps its size. The text is much larger, so it fills the box the way the original's text fills its box.

Plan (first step)

  • Dialogue text size follows the width of the game screen (about 2.2%, between 15 and 40 px) instead of a fixed size. The text-size setting from #38 still multiplies it.
  • Raise the 120 px height cap on the text area so larger text does not scroll.
  • Slightly looser line spacing; the box size does not change.

Later (separate ticket if wanted)

  • Draw the text with the game's own font from the ROM, scaled in whole-number steps, for a closer match to the original.

Not changed here

  • The line breaks (they come from the ROM).
  • The "n / N" page counter and the Continue button, which are not in the original (it shows a blinking arrow).
**Reported by QA (PestoRosso)** **Steps** Start a new game and read any dialogue, for example Mom's lines in the opening. **Actual** The dialogue text is about 14 px, the same size as the buttons. Each line (18 characters, from the game's own line breaks) fills only about a quarter of the wide dialogue box, so the box looks far too big for the text. **Expected** The box keeps its size. The text is much larger, so it fills the box the way the original's text fills its box. **Plan (first step)** - Dialogue text size follows the width of the game screen (about 2.2%, between 15 and 40 px) instead of a fixed size. The text-size setting from #38 still multiplies it. - Raise the 120 px height cap on the text area so larger text does not scroll. - Slightly looser line spacing; the box size does not change. **Later (separate ticket if wanted)** - Draw the text with the game's own font from the ROM, scaled in whole-number steps, for a closer match to the original. **Not changed here** - The line breaks (they come from the ROM). - The "n / N" page counter and the Continue button, which are not in the original (it shows a blinking arrow).
PestoRosso added the P1 - nextparity labels 2026-10-04 18:11:19 +02:00
PestoRosso self-assigned this 2026-10-04 18:11:20 +02:00
Author
Collaborator

Fixed in 3da669a, pushed to main: dialogue text scales with the game screen. Closed by PestoRosso after testing.

Fixed in 3da669a, pushed to main: dialogue text scales with the game screen. Closed by PestoRosso after testing.
PestoRosso added this to the Pokemon Crystal - Web project 2026-10-04 18:30:07 +02:00
PestoRosso moved this to Fait in Pokemon Crystal - Web on 2026-10-04 18:30:07 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: kawa/Crystal#68