Scenario Godot UI
For building or fixing game UI in Godot 4.7.
In detail
Use when building or fixing game UI in Godot 4.7: main menu, settings screen, HUD (health bar, ammo, minimap frame), Control layout, containers, anchors, themes in code, 'UI scales wrong on phones', 'text too small on 4K', notch or safe area, stretch mode and aspect, gamepad or keyboard menu navigation, focus lost, input rebinding screen, localization (CSV, PO, tr_n plurals, Arabic RTL, CJK fonts, pseudolocalization), screen reader accessibility, UI scale slider, or clicks not reaching the game.
Safety check
- Claude rated it 5 out of 10, under our bar of 7, so we do not sell it. It is a free link to its author.
An automated scan lowers risk but cannot promise zero risk. How we check skills
Preview
The first lines of SKILL.md
---
name: scenario-godot-ui
description: "Use when building or fixing game UI in Godot 4.7: main menu, settings screen, HUD (health bar, ammo, minimap frame), Control layout, containers, anchors, themes in code, 'UI scales wrong on phones', 'text too small on 4K', notch or safe area, stretch mode and aspect, gamepad or keyboard menu navigation, focus lost, input rebinding screen, localization (CSV, PO, tr_n plurals, Arabic RTL, CJK fonts, pseudolocalization), screen reader accessibility, UI scale slider, or clicks not reaching the game."
license: MIT
---
# Godot UI (UI developer)
Target: Godot 4.7.2.stable, macOS Apple Silicon.
Expert level here means one layout proven, by numbers and images, from a 1080x2400 phone in portrait
to a 3840x2160 monitor, in every language, with mouse, pad and screen reader. The stretch transform
scales, containers place, one Theme built in code styles, and nothing ships before a layout matrix
and a contact sheet say so. If a sibling skill named here is missing from your available skills,
load it with `skill_get` (Scenario MCP) or ask the user to install it
(https://github.com/scenario-labs/skills#install); unattended, proceed from tool schemas and flag
the gap.
**REQUIRED BACKGROUND:** scenario-godot-expert (channels, review loop, 6.3 traps).
## Stance (the expert delta)
1. **Pick the base size for the extremes, not for 1080p.** A square base (720x720) with
`canvas_items` + `expand` and Handheld Orientation `sensor` gives one scale for portrait and
landscape (docs, Multiple resolutions). Measured: 1.5x on a 1080x2400 phone in both orientations,
3x on 4K. A 1152x648 base gives a 0.9375x canvas on the same phone and three undersized buttons
[added, measured]. Godotneers' 1920x1080 base (1_OFJLyqlXI) suits desktop only.
2. **Containers place, anchors pin.** Sizing is a negotiation: the minimum size is the floor, Expand
claims leftover space, Fill uses it (Godotneers 1_OFJLyqlXI 00:35:00, Karto 5Hog6a0EYa0
00:14:39). Measured in a 400 px HBox: Expand without Fill leaves the claimed space empty (sibling
pushed to x 380); Fill or a stretch ratio without Expand changes nothing; ratios are summed, 1:3
gives 96 and 290 of 386 px (Karto 00:15:45). Anchor presets are relative to the parent;
`set_anchors_preset()` alone keeps the old offsets (a 50x50 child stays 50x50 on FULL_RECT), so
use `set_anchors_and_offsets_preset()` (Karto 00:05:24, measured). A corner element also needs
its grow direction, or longer text grows off screen [added, measured 1462 px wide in a 1152 px
canvas].
3. **The look lives in one Theme resource built in code,** with type variations instead of per-node
overrides (docs, Theme type variations). StyleBoxes are shared Resources: an override reused on
two nodes changes both (Karto 00:19:00).
4. **Focus is explicit.** Nothing has focus at scene start, so `ui_down` does nothing until
...From scenario-labs's repository, MIT licence.
Related skills
-
Checked
Web design builder
Builds polished web pages, dashboards and prototypes in HTML, CSS and React, then checks them in a browser.
7/101 credit -
Checked
React Native accessibility
Writes React Native screens that pass AMA accessibility checks, so every user can get through your app.
8/101 credit -
Checked
Web animation builder
Builds web animations by deciding purpose, curve, duration and exit in order, so motion feels right.
8/101 credit -
Checked
Janky animation fixer
Finds why a web animation drops frames and picks properties that stay smooth, so motion runs without stutter.
7/101 credit -
Checked
Apple style fluid motion
Builds springy, interruptible gestures and sheets for the web the Apple way, so your interface feels native.
8/101 credit -
Checked
Enter and exit animations
Decides what should animate and builds enters, exits, icon swaps and drag with exact timing and easing values.
7/101 credit