Phaser-assetek és animáció
Rendezi a több jelenet által használt textúrákat és animációkat. Segít elkerülni a hiányzó képkockákat, névütközést és korai törlést, a sikertelen letöltést pedig láthatóvá és javíthatóvá teszi.
phaser-assets-animation
Nézd meg, miben segítMikor hasznos?
Akkor használd, ha atlaszbetöltés vagy jelenetújraindítás után hiányzik, ismétlődik az animáció.
Miben segít neked?
- Leltározza a globális neveket és ellenőrzi a képkockahivatkozást.
- Megőrzi a más jelenetnek vagy fedőrétegnek szükséges textúrát.
- Javítható betöltési hibát mutat hiányos kész állapot helyett.
Például ezt kérheted
A főellenfél és a felszerelés-előnézet ugyanazt a textúraatlaszt használja. Készíts támadásanimációt, harc közben zárd be az előnézetet, majd próbálj hibás atlaszletöltést. A főellenfél textúrája maradjon meg, a betöltőképernyő pedig hibás harc helyett kínáljon helyreállítást.
Részletes dokumentáció
Itt a skill eredeti útmutatóját, példáit és ellenőrzési szempontjait olvashatod az eredeti nyelven.
Összecsukás
Phaser — assets animation
Use when changing Phaser preload, atlases, tilemaps, sprite animations or streaming.
Version and project gate
Inspect Phaser major version, package lock, scene registry, renderer, scale configuration, Arcade/Matter plugins, loaders, animation keys and deployment base path. Phaser 2 States, Phaser 3 Scenes and newer APIs are not interchangeable. 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
Inventory global texture, cache and animation keys. Define ownership before evicting an asset used by another scene. Validate frame names, atlas dimensions and tilemap references. Publish readiness only after required content loads; keep a recoverable error for missing files.
Deliver
An asset-key inventory and a loading/animation patch with deterministic fallback behavior. Keep the change in the existing project structure; separate actual observations from the proposed acceptance scenario below.
Failure to prevent
Repeated animation creation can collide with global keys; a scene restart does not imply cache eviction.
Acceptance scenario
Load a missing atlas, restart a scene sharing textures with an overlay and replay an animation after returning from a menu. 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 Kip. 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
