← Rune adatlapja
AgentRune

Skill · 1.0.0 verzió

Godot-jelenetek életciklusa

Rendezi, ki hozza létre és távolítja el a jeleneteket, illetve eseménykapcsolataikat. Így az ellenfelek, menük és pályák ismételt betöltése nem hagy dupla reakciókat vagy elfelejtett objektumokat.

godot-scene-lifecycle

Nézd meg, miben segít

Mikor hasznos?

Akkor használd, ha pályaváltás megkettőzi a jeleket vagy csomópontokat hagy hátra.

Miben segít neked?

  • Követi a csomópont létrehozóját, szülőhöz rendelését és felszabadítóját.
  • Megfigyeléshez nyilvános jelet, parancshoz metódust használ.
  • Elválasztja a tartós játékosadatot az eldobható pályacsomóponttól.

Például ezt kérheted

A kincseskamra-jelenetemet lehessen két külön kazamatában használni. Lépj be és ki tízszer, majd vegyél fel egy érmét. A pontszám egyszer változzon, a korábbi ellenfelek tűnjenek el, a játékos felszerelése pedig maradjon meg a váltáskor.

Részletes dokumentáció

Itt a skill eredeti útmutatóját, példáit és ellenőrzési szempontjait olvashatod az eredeti nyelven.

Részletek…Összecsukás

Godot — scene lifecycle

Use when implementing or restructuring Godot scenes, signals, ownership or scene transitions.

Version and project gate

Inspect project.godot, config/features, .tscn and .tres files, export_presets.cfg without credentials, input actions, autoloads, renderer, physics backend and installed Godot executable. Distinguish Godot 3 from 4 before selecting APIs. Never turn a task into an engine upgrade without the user’s intent. Read the version-matching official reference when an API decision depends on it.

Work

Trace who creates, parents and frees each node. Define public signals for observations and methods for commands. Inject dependencies from a stable parent; separate persistent player state from disposable level nodes. Identify initialization order before moving connections.

Deliver

A scene dependency sketch and a focused scene/script patch whose ownership and teardown can be followed. Keep the change in the existing project structure; separate actual observations from the proposed acceptance scenario below.

Failure to prevent

An autoload event bus can hide invalid lifecycle assumptions; a hardcoded relative NodePath may work only in one nesting.

Acceptance scenario

Instantiate the same scene beneath two different parents, switch levels repeatedly, and confirm one response per signal. Follow the project’s execution and verification permissions. If execution or a target device is unavailable, provide the reproduction steps and name the remaining uncertainty; do not mark it passed.

Scope and sources

This skill belongs to Rune. Agent selection is restricted by Orqestria’s assigned-agent policy, including forced skill selection; instruction text alone is not an access control. These are original task workflows researched from official documentation, not a copied or endorsed vendor skill.

Csomagban lévő fájlok 1

  • SKILL.md