MonoGame-Audio und Animation
Hält Animation und Audio an der vorgesehenen Spieluhr. Definiert Unterbrechung und Pause, während Schaden und Belohnungen in Spielregeln statt in Darstellungs-Callbacks bleiben.
monogame-audio-animation
Entdecke, wie der Skill hilftWann ist der Skill hilfreich?
Nutze diesen Skill für Ton, Musik oder Animation einer MonoGame-Funktion.
Wobei hilft er dir?
- Wählt einheitliche Zeitquellen und Pausenregeln.
- Trennt Darstellungsrückrufe von maßgeblichen Belohnungen und Spielregeln.
- Verwaltet Toninstanzen und gleichzeitige Stimmen.
Das könntest du fragen
Animiere im Action-RPG eine Schwertkombination mit Treffertönen. Pausiere zwischen Schlägen, unterbrich durch einen Treffer und spiele erneut ab. Klanginstanzen bleiben begrenzt; wiederholte visuelle Ereignisse verursachen weder zusätzlichen Schaden noch doppelte Gegnerbelohnungen.
Ausführliche Dokumentation
Hier findest du die ursprüngliche Anleitung, Beispiele und Prüfschritte des Skills in ihrer Originalsprache.
Weniger anzeigen
MonoGame — audio animation
Use when implementing MonoGame sound, music, sprite/skeletal animation or timed presentation.
Version and project gate
Inspect Project and .NET target, MonoGame package/backend, Game loop settings, MGCB files/tool versions, content root, GraphicsProfile, platform libraries and existing screen/state architecture. 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 the project’s playback/animation ownership and time source. Separate animation events from authoritative rules and prevent replayed frames from awarding effects twice. Track disposable sound instances and define pause/resume and voice limits.
Deliver
A timed presentation contract and implementation that follows the simulation state predictably. Keep the change in the existing project structure; separate actual observations from the proposed acceptance scenario below.
Failure to prevent
An audio/animation completion callback is not necessarily reliable authoritative gameplay state after cancellation.
Acceptance scenario
Pause mid-animation, restart an effect, interrupt music and remove the owning entity while playback is active. 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 Mox. 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.
Enthaltene Dateien 1
SKILL.md
