godot-build-scenes
Build Godot scene and resource lifecycles with explicit node ownership, navigation integration, and versioned state.
- License 许可
- MIT
- 最近更新
- 2026-11-13
- Stars
- ★ 4
- Forks
- 3
01 前言 Front Matter
- name
- godot-build-scenes
- engines
- [ "GODOT" ]
- description
- Build Godot scene and resource lifecycles with explicit node ownership, navigation integration, and versioned state.
02 资源文件 2
- 参考文档agents/openai.yaml273 B
- 参考文档references/blender-asset-handoff.md3.1 KB
03 SKILL.md 正文
Godot Build Scenes
When to use
Build Godot scene and resource lifecycles with explicit node ownership, navigation integration, and versioned state. 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-scenes 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 project.godot, exact Godot version, renderer, target platforms, enabled plugins and the project's GDScript or C# choice. C# requires the matching .NET-enabled Editor and compatible SDK; do not translate the project to another language.
Workflow
- Map SceneTree, Node ownership, PackedScene instances, autoload services and scene transitions. Define _enter_tree, _ready and _exit_tree responsibilities, using the equivalent C# methods when selected.
- Keep reusable authored configuration in Resources and mutable instance state separate. Shared resources are shared intentionally; duplicate or make scene-local only when per-instance mutation is required.
- Instantiate PackedScene content and set ownership deliberately for anything intended to serialize into a scene. Preserve resource UIDs, import metadata and references instead of inventing identifiers or editing imported cache outputs.
- Coordinate ResourceLoader loading, activation and cancellation without retaining freed nodes. Use call_deferred and queue_free where tree mutation timing requires it, and disconnect owned signals or cancel pending callbacks on teardown.
- Integrate NavigationRegion and NavigationAgent nodes in the correct 2D/3D world. Wait for map synchronization, update path following during physics ticks and stop updates when finished; navigation suggests motion rather than moving the parent automatically.
- Keep AI intent, avoidance safe velocity and CharacterBody movement under one authority. Define unreachable targets, map changes and cancellation; a stale path callback must not move a replacement actor.
- Store save data with stable domain IDs, explicit schema versions and validated resource references. Use approved user-data storage, preserve failed saves/migrations and restore dependencies before signals notify HUD or gameplay consumers.
Verification
For Blender source/export delivery, read Blender asset handoff for explicit import prerequisites, editable scene ownership, reimport and target evidence.
- Load and reload a representative scene in actual Godot; check imported resources, autoload duplication, signal lifetime and queued deletion.
- Exercise successful, unreachable and cancelled navigation plus scene removal during asynchronous loading.
- Round-trip versioned state, reject malformed or missing-content records and measure load/allocation budgets on the target surface.
Output
Scene/resource/scripts changes, node and resource ownership map, loading/navigation/save contracts and native lifecycle fixtures. Record environment, scope, expected and observed results, evidence paths, and blocked or not-run checks separately from passes.
Boundaries
Do not install plugins, alter language selection or treat imported cache artifacts as editable source. Text scene validity alone does not prove gameplay correctness. Independent services and tools retain their architecture contracts.
References
- Godot scene organization. Select the documentation matching the project release.
- Using NavigationAgents. 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.