Skip to content

Update StoryBook layout#2375

Open
manuq wants to merge 2 commits into
mainfrom
storybook-style
Open

Update StoryBook layout#2375
manuq wants to merge 2 commits into
mainfrom
storybook-style

Conversation

@manuq

@manuq manuq commented Jun 13, 2026

Copy link
Copy Markdown
Collaborator

Make the StoryBook scene a CanvasLayer.

Similar to the pause overlay. Use the same ColorRect for the background
transparency instead of a Panel node.

Replace left/right buttons with input helpers.

Add a bottom row similar to the pause overlay. Use next-tab and previous-tab
input actions for switching pages. Change the _input() function to
_unhandled_input().

Move all inside PanelContainer, which have hardcoded positions, 64 pixels
vertically. To adjust to the new row.

Helps #2339

manuq added 2 commits June 12, 2026 18:45
Similar to the pause overlay. Use the same ColorRect for the background
transparency instead of a Panel node.
Add a bottom row similar to the pause overlay. Use next-tab and previous-tab
input actions for switching pages. Change the _input() function to
_unhandled_input().

Move all inside PanelContainer, which have hardcoded positions, 64 pixels
vertically. To adjust to the new row.
@manuq manuq requested a review from a team as a code owner June 13, 2026 04:15
@manuq

manuq commented Jun 13, 2026

Copy link
Copy Markdown
Collaborator Author

I couldn't make it use a TabContainer yet, but this is a step toward that.

@github-actions

Copy link
Copy Markdown

Play this branch at https://play.threadbare.game/branches/endlessm/storybook-style/.

(This launches the game from the start, not directly at the change(s) in this pull request.)

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