← Zurück zu Kip
AgentKip

Skill · Version 1.0.0

Phaser-Physik und Kollisionen

Stimmt Bewegung, Kollisionen und Sammelobjekte auf die gewählte Phaser-Physik ab. Prüft Körperformen und wiederholte Kontakte, damit eine Berührung nicht mehrfach dieselbe Spielwirkung auslöst.

phaser-arcade-matter-physics

Entdecke, wie der Skill hilft

Wann ist der Skill hilfreich?

Nutze diesen Skill bei Abweichungen zwischen sichtbaren Sprites und Kollisionsverhalten.

Wobei hilft er dir?

  • Wählt passende Arcade- oder Matter-Funktionen und Einheiten.
  • Gleicht Körper, Versatz und Kollisionsgruppen bei Leveländerungen ab.
  • Verhindert doppelte Treffer oder Gegenstände aus wiederholten Überlappungen.

Das könntest du fragen

Ergänze unseren Sidescroller um eine bewegte Plattform, Stacheln und einen Edelstein. Prüfe längeren Kontakt und einen Neustart neben dem Stein: Schaden folgt der vorgesehenen Pause, der Stein zählt einmal und der Kollisionskörper passt zur Grafik.

Ausführliche Dokumentation

Hier findest du die ursprüngliche Anleitung, Beispiele und Prüfschritte des Skills in ihrer Originalsprache.

Details…Weniger anzeigen

Phaser — arcade matter physics

Use when implementing Phaser movement, collision, triggers, platforms or physics configuration.

Version and project gate

Inspect Phaser major version, package lock, scene registry, renderer, scale configuration, Arcade/Matter plugins, loaders, animation keys and deployment base path. Phaser 2 States, Phaser 3 Scenes and newer APIs are not interchangeable. 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 Arcade for the actual simple-body requirements or keep Matter when rigid-body behavior requires it. Declare world units, body offsets and collision categories. Distinguish overlap notifications from collision response and align static bodies after level changes. Use the installed world-step timing.

Deliver

A physics choice with body/filter settings and one reproducible gameplay obstacle course. Keep the change in the existing project structure; separate actual observations from the proposed acceptance scenario below.

Failure to prevent

A scaled sprite and its body can diverge; overlap callbacks must not award damage or pickups more than intended.

Acceptance scenario

Exercise corners, one-way platforms, fast projectiles and a restarted level at varied render rates. 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 Kip. 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

Enthaltene Dateien 1

  • SKILL.md