godot-nodes-scenes
Skill9 starsChanged 3 months agoMITView on GitHub
设计和编辑 Godot 场景树:节点组合、PackedScene、实例化、autoload、生命周期与场景所有权。搭场景或重构层级时使用。
1 other project uses a version of this.
Adopted by
Most recently taken up by
- gamedev-skills/awesome-gamedev-agent-skillstheir own version, first seen Nov 11, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- gamedev-skills/awesome-gamedev-agent-skills★ 9ksame name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository15 other files it gives its agents.
- godot-2d-movementSkill
- godot-3d-essentialsSkill
- godot-ai-orchestrationSkill
- godot-animationSkill
- godot-audioSkill
- godot-csharpSkill
- godot-exportSkill
- godot-gdscriptSkill
- godot-multiplayerSkill
- godot-physicsSkill
- godot-resourcesSkill
- godot-shadersSkill
- godot-signals-groupsSkill
- godot-tilemapSkill
- godot-ui-controlSkill
The file
Files
Godot 节点与场景
设计原则
- 场景是可复用组件,不只是关卡文件。根节点类型表达场景契约。
- 组合优先于深继承:行为、碰撞、视觉、音频和 UI 按职责拆成子节点或子场景。
- 父节点调用子节点,子节点用 signal 向上通知;跨树广播要谨慎使用 autoload。
- 运行时频繁复用的对象保存为
PackedScene;数据保存为Resource,不要把数据模型藏在节点树里。 - 明确 owner/可编辑子节点和资源路径,避免保存后子节点消失、重复命名或悬空 NodePath。
编辑流程
scene_get_hierarchy读取目标分支,node_get_properties读取关键节点。- 用
node_find确认名称和类型不存在冲突,再创建、移动、重挂载或删除。 - 紧密相关的节点操作可放入
batch_execute;保存后重新读取层级。 - 涉及场景切换、pause 或 deferred tree mutation 时运行验证生命周期,不只检查文件。
使用 scene_open / scene_save 和 scene_manage 管理场景;使用 autoload_manage 管理单例,不手改未知的项目配置块。
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

