LÖVE-hangok és erőforrások
Rendezi az újrahasználható képek és hangok betöltését, lejátszási felelősségét. Külön kezeli a folyamatosan olvasott zenét és rövid effekteket, korlátozva az egyszerre szóló hangokat szünetkor és váltáskor is.
love-audio-assets
Nézd meg, miben segítMikor hasznos?
Akkor használd, ha hanghatások megszakítják egymást vagy jelenetváltáskor média marad.
Miben segít neked?
- Tartalom és párhuzamosság alapján választ streamelt vagy statikus hangot.
- Korlátozza az átfedő hangokat, tisztázza a szünet, leállítás és újraindítás gazdáját.
- Készenlét jelzése előtt ellenőrzi a szükséges erőforrásokat.
Például ezt kérheted
Az ügyességi játék zenét és sok robbanáshangot játszik. Korlátozd az átfedő hangokat fontos visszajelzés elvesztése nélkül, szünetelj a zene közepén, majd indíts új kört. Hiányzó hangfájlnál érthető hibát mutass, ne jelentsd teljesen késznek a jelenetet.
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
LÖVE — audio assets
Use when implementing LÖVE audio, streamed music, sprite sheets, loading or asset reuse.
Version and project gate
Inspect conf.lua and main.lua, LÖVE and Lua/LuaJIT versions, callback definitions, modules, filesystem identity, graphics/audio APIs, .love packaging and native extension dependencies. Distinguish color/API conventions across major releases. 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
Choose static versus streamed Sources from the actual content and concurrency. Track playing-instance ownership and pause/stop rules. Reuse decoded images/quads/audio resources deliberately and bound overlapping voices. Publish readiness only after required assets exist and give missing assets a visible outcome.
Deliver
An asset/audio ownership contract and predictable play/pause/restart behavior. Keep the change in the existing project structure; separate actual observations from the proposed acceptance scenario below.
Failure to prevent
Loading images or audio on every draw can churn memory; restarting a shared Source can interrupt another effect.
Acceptance scenario
Play overlapping effects, pause music, remove an owning scene and attempt a missing packaged sound without a silent success. 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 Lilt. 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.
- https://www.love2d.org/wiki/love
- https://love2d.org/wiki/love.update
- https://www.love2d.org/wiki/love.filesystem
Task-specific official references
Csomagban lévő fájlok 1
SKILL.md
