godot-build-ui
Build Godot Control-based game interfaces with responsive layout, reliable focus, and lifecycle-safe HUD binding.
- License 许可
- MIT
- 最近更新
- 2026-11-13
- Stars
- ★ 4
- Forks
- 3
01 前言 Front Matter
- name
- godot-build-ui
- engines
- [ "GODOT" ]
- description
- Build Godot Control-based game interfaces with responsive layout, reliable focus, and lifecycle-safe HUD binding.
02 资源文件 11
- 参考文档agents/openai.yaml261 B
- 参考文档evals/eval_queries.json679 B
- 参考文档evals/evals.json1.4 KB
- 其他evals/files/resync/last-synced.toml347 B
- 参考文档evals/files/resync/prior-rfc-frozen.md216 B
- 参考文档evals/files/resync/prior-rfc-open.md212 B
- 参考文档references/re-sync.md2.0 KB
- 参考文档references/survey-and-ledger.md2.0 KB
- 脚本scripts/ledger.py7.4 KB
- 脚本scripts/ssrf_check.py4.6 KB
- 脚本scripts/write_jail.py1.8 KB
03 SKILL.md 正文
Godot Build UI
When to use
Build Godot Control-based game interfaces with responsive layout, reliable focus, and lifecycle-safe HUD binding. Apply this feature only to Godot-owned code and content.
Activation and prerequisites
Run commands/resolve-engine.sh and commands/resolve-skill.sh godot-build-ui before edits or tool launches. Continue only when the effective engine is GODOT and the skill is eligible. Skill selection never selects the engine. Honor validated task override evidence and its permitted isolated output scope.
Read Godot version, GDScript/C# choice, target surfaces, local input ownership, theme/typography, safe areas, localization and accessibility requirements. Identify existing screen stack and signal/state architecture.
Workflow
- Compose Control nodes with Containers, anchors, offsets, size flags and minimum sizes deliberately. Container-managed children should not fight manual positioning; theme overrides need clear local versus shared ownership.
- Define screens, overlays and modals as a lifecycle with one input owner. Handle show/hide, pause, dismissal and return focus; a hidden screen must not keep processing gameplay-facing actions.
- Set keyboard/controller focus neighbors and valid initial/fallback focus. Use grab_focus only at the correct activation point, recover when nodes are removed/disabled and preserve pointer interaction without losing controller navigation.
- Separate _gui_input event consumption from global Input polling. Gate gameplay actions explicitly while UI owns input, and prevent accept/cancel from activating both the screen and the world.
- Initialize HUD from an authoritative snapshot and connect signals once. Disconnect on teardown, handle respawn/player changes and avoid retaining freed Nodes through callbacks or awaited operations.
- Generate prompts from active bindings/device ownership and support text expansion, scale, safe areas and localization. Keep settings such as reduced motion and haptic intensity independent.
- Use version-supported accessibility properties and target assistive-technology behavior. Godot web exports can use browser QA, while native Control accessibility requires native evidence.
Verification
- Test nested modals, accept/cancel leakage, focus restoration, dynamic lists and pointer/controller switching.
- Exercise aspect ratios, safe areas, long/localized text, text scale and loading/empty/error states.
- Repeat HUD open/close, scene reload and respawn to catch duplicate signals or stale state; record native interaction and accessibility results.
Output
Control scenes/themes and adapters, screen/focus/input contract, HUD signal lifecycle, layout matrix and target UI evidence. Record environment, scope, expected and observed results, evidence paths, and blocked or not-run checks separately from passes.
Boundaries
Do not infer accessibility support from appearance or web evidence alone. Missing native/device checks stay blocked or not run, and selected language remains unchanged. Independent services and tools retain their architecture contracts.
References
- Godot Control UI nodes. Select the documentation matching the project release.
- Keyboard and controller navigation. Select the documentation matching the project release.
04 同仓库更多 Skills
verify-web3-game-lifecycle
Verify a game's selected Web3 asset, wallet, ownership and trading lifecycle with contract properties, canonical recovery, actual target evidence and separate release readiness.
verify-onchain-game-assets
Verify exact on-chain game collection ownership and quantities at canonical blocks, reconcile inventory events, and design honest match admission. Use for ERC721/ERC1155 inventory, reorg recovery, reservations, or transfer-during-match rules.
plan-web3-game-assets
Define an opt-in Ethereum, Base or Immutable game-asset lifecycle, including token identity, supply, rights, custody, game eligibility and chain-specific dependencies.
integrate-game-wallets
Integrate explicit player-wallet connection, scoped SIWE authentication, authority invalidation and reviewed target-specific handoff without application-held player keys.
integrate-game-asset-trading
Integrate explicitly selected game asset settlement with exact unsigned intents, scoped approvals, idempotent operations and canonical receipt reconciliation. Use for NFT listing, buying, cancellation, retries or marketplace integration.
build-evm-game-contracts
Author and verify host-owned EVM game collections and explicit mint, burn, craft or admin rules with pinned Solidity tooling. Use for contract source and deployment candidates; deployment and player signing require separate authorization.