Godot scene management

From thedivergentai/GD-Agentic-Skills · View interactive version

Godot scene management is an AI agent skill from the GitHub repository thedivergentai/GD-Agentic-Skills. Expert blueprint for scene loading, transitions, async (background) loading, instance management, and caching. Covers fade transitions, loading screens, dynamic spawning, and scene persistence. Use when implementing level changes OR dynamic content loading. Keywords scene, loading, transition, async

How to use this skill

Skill file

Available Scripts

MANDATORY triggers below — read the matching script; do not paste incomplete Autoload loaders.

NEVER Do in Scene Management


Decision Tree: How to Change Content

| Goal | Prefer | MANDATORY script |

|------|--------|------------------|

| Full level swap with progress UI | Threaded load → swap when THREAD_LOAD_LOADED | async_scene_manager.gd |

| Hide hitch before a door/trigger | Start threaded request early during play | background_resource_loader.gd |

| Fade / wipe around a swap | Transition Autoload wraps the manager | scene_transition_manager.gd |

| Keep world; show pause/map/inventory | Additive UI layer (do not change_scene) | additive_ui_layering.gd |

| Manual root swap / deferred free | Own current_scene lifecycle | Peer docs + safe patterns in godot-autoload-architecture |

| Spawn many identical actors | Pool, never raw instantiate/free storms | scene_pool.gd / scene_instancing_pooling.gd |

| Minimap / split render | SubViewport + update mode + input isolation | subviewport_scene_layering.gd |

| Survive scene purge | Autoload / persist group — not locals | persistent_data_preservation.gd / scene_state_manager.gd |

| Quick respawn | Reset state + teleport — not change_scene | — |

| DLC / hot patch scenes | ProjectSettings.load_resource_pack then load path | (PCK) see Official Docs |

Expert WHY (staging / integrity)

Deep dive (load on demand)

Fade Autoloads, loading screens, spawn tracking, persistence holders, PCK patch — references/scene-patterns-deep.md.

Reference

Progressive disclosure: open Official Documentation links only when researching a specific API; load Related Skills when routing to a peer domain — do not preload the whole lattice.

Official Documentation

Related Skills

Prerequisites
Complements
Downstream / consumers
Master
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.