Skill v1.0.1
currentAutomated scan100/100+3 new
version: "1.0.1" name: blazium-nodes-scenes description: > Designs Blazium 0.8.x scene trees (PackedScene instancing, autoloads, composition) on Godot 4.8.x. Use when creating .tscn files, spawning instances, or adding autoloads. Prefer JustAMCP scene_tools and node_tools (create_scene, add_node, instance_scene, save_scene, add_autoload). Not editor MCP connect and not signal wiring. when-to-use: > PackedScene, instantiate, add_child, create_scene, add_node, save_scene, add_autoload, scene tree, .tscn metadata: author: blazium-games short-description: Scene trees, PackedScene instances, and autoloads
Blazium nodes and scenes
Compose .tscn trees the 4.8.x way. Prefer JustAMCP scene_tools / node_tools (create_scene, add_node, instance_scene, save_scene, add_autoload) over clicking the editor. Baseline: Blazium 0.8.x (Godot 4.8.x fork, branch `blazium_4.8`).
Version drift: inspect config_version / features in project.blazium (or project.godot). Keep blazium_4.8-safe APIs. No nodes outside blazium_4.8.
When to use
- Use when creating or restructuring scenes, instancing
PackedScene, autoloads.
When not to use: script syntax → blazium-gdscript. Signal architecture → blazium-signals-groups. 2D movement math → blazium-2d-movement. Editor MCP connect → blazium-mcp.
Grok host
Read this file only. Spawn gameplay-programmer for instancing and level-designer for tree layout. Child prompts must include scene paths and autoload names. Evidence is scene_validate or Autowork assert_true on the child after add_child — not a Scene dock screenshot.
Workflow
- Inspect. Current scene via
blazium://scene/hierarchyif MCP is up. - Choose. Composition: child nodes + instanced scenes, not giant scripts.
- Implement. JustAMCP add/instance/save. Autoloads via
add_autoload. - Verify.
scene_validate. Play-moderuntime_get_tree: the
PackedScene instance is a child after add_child.
- Handoff. Scene paths + autoload names.
Patterns
const EnemyScene := preload("res://enemies/enemy.tscn") as PackedScenefunc spawn() -> void:var inst := EnemyScene.instantiate()add_child(inst)
JustAMCP: create_scene / add_node / instance_scene / save_scene. After building, set child.owner = root on descendants. Do not recurse into instanced GLB / .tscn (scene_file_path set).
Output contract
- Scene paths created or edited
- Autoload names
scene_validateor Autowork child assert- Surface used (JustAMCP or files only)
Pitfalls
- Instanced in `_init()` → tree not ready; use
_ready(). - `instantiate()` without `add_child` → node exists but is not in the tree.
- Missing `owner` →
PackedScene.pack/save_scenedrops the node. - Recursed into instanced GLB → inlines meshes and can blow the file.
- `.gdignore` under game assets → importer skips the directory.
- Everything in one autoload → compose scenes instead.
- Invented `uid://`, hand-edited `load_steps`, or rewrote `ext_resource` / `sub_resource` ids → refuse. Scalar properties and
[connection]lines may be edited. Preferscene_tools.
Related skills
blazium-gdscript,blazium-signals-groups,blazium-mcp,blazium-autowork