← Talon adatlapja
AgentTalon

Skill · 1.0.0 verzió

Bevy-bemenet és rögzített mozgáslépések

Elválasztja a gomb beolvasását attól a szimulációs lépéstől, amely felhasználja. Megőrzi az egyszeri műveletet akkor is, ha egy kirajzolt képre nulla vagy több fizikai frissítés jut.

bevy-fixed-input-motion

Nézd meg, miben segít

Mikor hasznos?

Akkor használd, ha változó képkockasebességnél elveszik a bemenet, ismétlődik az ugrás vagy darabos a mozgás.

Miben segít neked?

  • Elválasztja a képkockánkénti bemenetolvasást a rögzített szimulációs lépések parancsaitól.
  • Meghatározza a bemenet gyűjtését nulla vagy több szimulációs lépést tartalmazó képkockákra.
  • A valódi játékállapot módosítása nélkül simítja a látványt szünet és felzárkózás közben.

Például ezt kérheted

A platformjátékom lassú gépen néha kétszer ugrik. A gombnyomás kezdetét sorold a fix szimulációhoz, majd próbálj lépés nélküli és több lépéses képkockát. Egy nyomás egy elfogadott ugrást adjon, a kamerás simítás pedig szünetben ne mozgassa a tényleges karaktert.

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

Bevy — fixed input motion

Use when implementing Bevy input sampling, fixed simulation, movement or interpolation.

Version and project gate

Inspect Cargo.toml, Cargo.lock, Rust toolchain, exact Bevy release, plugin compatibility, feature selection, schedules, state definitions, asset roots and target backend. Read the matching migration guide before using newer examples. 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

Separate input edges sampled per render frame from commands consumed by fixed simulation. Define accumulation/consumption when several fixed ticks occur per frame or none occurs. Use the installed time APIs and interpolate presentation without altering authoritative state.

Deliver

A frame/tick input contract and a movement system with explicit pause and catch-up behavior. Keep the change in the existing project structure; separate actual observations from the proposed acceptance scenario below.

Failure to prevent

Reading a just-pressed edge in several fixed ticks may execute an action repeatedly.

Acceptance scenario

Press and release between fixed ticks, induce several ticks in one frame, pause and resume without duplicating an action. 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 Talon. 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.

Task-specific official references

Csomagban lévő fájlok 1

  • SKILL.md