Skip to content

Shorten the 1ST rung label so it fits on a phone screen - #79

Open
hernan0078 wants to merge 1 commit into
DramaticShape:masterfrom
hernan0078:fix-first-person-label
Open

Shorten the 1ST rung label so it fits on a phone screen#79
hernan0078 wants to merge 1 commit into
DramaticShape:masterfrom
hernan0078:fix-first-person-label

Conversation

@hernan0078

Copy link
Copy Markdown

On a phone the VOXEL row appears to stop at 75 — the first-person rung looks like it is missing from the build. It is not: 1ST (EXPERIMENTAL) is 18 characters, and the Game Boy screen is 160px with OptionRows drawing a value at x=24, which leaves room for about 17. The label is drawn past the right edge.

I hit this on iOS and assumed for a while that first person had not shipped. Android has the same 160px screen, so it should be identical there.

1ST is what the mode is called everywhere else in the code — FP_LEVEL, isFirstPerson — and the experimental status is already stated in the mod description and the changelog, which is where a player reads it rather than in a menu cell.

Tests updated. Happy to use a different short label if you prefer one.

At 18 characters '1ST (EXPERIMENTAL)' is wider than the value column, so on a
phone the rung is drawn past the right edge of the 160px screen and reads as
missing -- the row appears to stop at 75 and players conclude first person is
not in the build. It is selectable the whole time.

The Game Boy screen is 160px and OptionRows draws a value at x=24, so a value
has about 17 characters before it runs off. '1ST' is what the mode is called
everywhere else in the code (FP_LEVEL, isFirstPerson), and the experimental
status is already in the mod description and the changelog.

Tests updated for the new label.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant