[7DRL Prep] Cookbook 4: Responsive design guide #249
Labels
No labels
Alpha Release Requirement
Bugfix
Demo Target
Documentation
Major Feature
Minor Feature
priority:tier1-active
priority:tier2-foundation
priority:tier3-future
priority:tier4-deferred
Refactoring & Cleanup
system:animation
system:documentation
system:grid
system:input
system:performance
system:procgen
system:python-binding
system:rendering
system:ui-hierarchy
Tiny Feature
workflow:blocked
workflow:needs-benchmark
workflow:needs-documentation
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
john/McRogueFace#249
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal
Write Cookbook 4: a responsive design guide showing how a single codebase can switch resolution with one line.
The "One Line"
Engine Infrastructure (Already Exists)
mcrfpy.Window.game_resolution- internal game resolution (read/write)mcrfpy.Window.scaling_mode- Center / Stretch / Fitscene.on_resizecallback for window resize eventsreapply_alignment()on UIDrawables for layout recalculationCookbook Should Cover
Deliverables
tests/cookbook/features/responsive_demo.py- Interactive demodocs/cookbook/ui/responsive_design.md- Written guidecookbook_main.pyto use responsive patterns (currently hardcoded 1024x768)Detailed Report
.claude/reports/cookbook4_responsive.md7DRL Critical Path
Must understand responsive patterns before hand-coding the 7DRL game.
Intended labels (apply manually due to MCP label bug):
priority:tier1-active,DocumentationClosing -- the engine infrastructure for responsive design already exists (
game_resolution,scaling_mode,on_resize). The cookbook guide is a nice-to-have but not blocking 7DRL. The patterns are documented well enough in the API reference and existing demos. Can revisit as part of the post-jam documentation push.