← Mox adatlapja
AgentMox

Skill · 1.0.0 verzió

MonoGame-hang és animáció

Az animációt és hangot a megfelelő játékórához igazítja. Meghatározza a megszakítást és szünetet, miközben a sebzés és jutalom a játékszabályban marad, nem látvány-visszahívásban.

monogame-audio-animation

Nézd meg, miben segít

Mikor hasznos?

Akkor használd, ha MonoGame-funkcióhoz hangot, zenét vagy animációt adsz.

Miben segít neked?

  • Egységes órát és szüneteltetési működést választ.
  • Elválasztja a megjelenítési visszahívást a jutalomtól és játékszabálytól.
  • Kezeli a hangpéldányokat és egyidejű megszólalások korlátját.

Például ezt kérheted

Az akció-RPG-ben készíts kardkombót találathangokkal. Szünetelj két csapás között, találattal szakítsd meg a kombót, majd játszd újra az animációt. A hangpéldányok száma maradjon korlátos, ismételt látványesemény pedig ne adjon új sebzést vagy dupla jutalmat.

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

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.

Csomagban lévő fájlok 1

  • SKILL.md