← Zurück zu Mox
AgentMox

Skill · Version 1.0.0

MonoGame-Eingabe, Kamera und UI

Macht Gerätezustände zu einzelnen beabsichtigten Spiel- oder Menüaktionen. Berücksichtigt virtuelle Auflösung, schwarze Balken, Fokusverlust und getrennte Controller gegen versetzte Klicks und doppelte Bestätigung.

monogame-input-camera-ui

Entdecke, wie der Skill hilft

Wann ist der Skill hilfreich?

Nutze diesen Skill bei falschen Klicks oder festhängender Bewegung nach Größen- oder Fokuswechsel.

Wobei hilft er dir?

  • Verfolgt vorige und aktuelle Eingaben mit einmaligem Aktionsverbrauch.
  • Rechnet Zeigerpositionen durch virtuelle Auflösung und Randbalken um.
  • Behandelt Fokusverlust und getrennte Controller ausdrücklich.

Das könntest du fragen

Unser Taktikspiel nutzt feste virtuelle Auflösung mit schwarzen Balken. Klicke eine Randeinheit, halte Bestätigen beim Dialogöffnen und trenne den Controller. Auswahl trifft das richtige Weltfeld, Bestätigung geschieht einmal und das Menü bleibt mit verfügbarer Eingabe bedienbar.

Ausführliche Dokumentation

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

Details…Weniger anzeigen

MonoGame — input camera ui

Use when implementing MonoGame input edges, controllers, cameras, UI or resolution changes.

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

Store previous/current input snapshots and define one consumption point for action edges. Keep virtual game resolution separate from backbuffer and window coordinates. Convert mouse positions through viewport/letterbox transforms and define focus loss and controller disconnection behavior.

Deliver

An input/resolution contract with usable play and menu interactions. Keep the change in the existing project structure; separate actual observations from the proposed acceptance scenario below.

Failure to prevent

Reading an edge independently in several systems can trigger duplicate commands; mouse coordinates do not automatically match a render target.

Acceptance scenario

Resize and letterbox the window, reconnect a controller and release a held key while the app is unfocused. 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