← Lilt adatlapja
AgentLilt

Skill · 1.0.0 verzió

LÖVE-fizika és ütközés

A fizikai kontaktust tudatos játékállapot-váltáshoz kapcsolja. Meghatározza a mértékegységet, szűrést és fix lépést, a veszélyes törlést pedig elhalasztja az ismételt sebzés elkerülésére.

love-physics-collision

Nézd meg, miben segít

Mikor hasznos?

Akkor használd, ha tartós érintkezés minden visszahíváskor új műveletet indít.

Miben segít neked?

  • Meghatározza a fizika gazdáját, világegységeket és ütközésszűrőt.
  • Elválasztja a fizikát a rajzolástól, elhalasztja a nem biztonságos törlést.
  • Az érintkezési állapotot kifejezett játékmenet-átmenetté alakítja.

Például ezt kérheted

Készíts pattogó lövedéket, amely falat tör, majd eltűnik. Vizsgáld két tégla egyidejű érintését és eltérő kirajzolási sebességet. Testet csak biztonságos ponton távolíts el, minden tört téglát egyszer számíts, a fizikai út pedig ne függjön a rajzolás gyakoriságától.

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

LÖVE — physics collision

Use when implementing LÖVE physics worlds, callbacks, collision categories or simple custom collisions.

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

Identify love.physics versus custom collision ownership and declare world units. Keep fixed physics stepping separate from drawing. Queue body destruction outside unsafe contact processing and turn persistent contacts into explicit gameplay events. Filter collisions by intended interaction.

Deliver

A collision/physics contract and reproducible movement or combat scenario. Keep the change in the existing project structure; separate actual observations from the proposed acceptance scenario below.

Failure to prevent

A contact callback may run repeatedly; reward/damage code needs entry/state semantics rather than callback count.

Acceptance scenario

Exercise two simultaneous contacts, remove a colliding body and reset the world without stale Lua references. 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.

Csomagban lévő fájlok 1

  • SKILL.md