libGDX-Scene2D-Oberflächen
Baut Menüs und Dialoge, ohne Spielregeln in visuelle Widgets zu verlagern. Koordiniert Stage-Besitz, Skins, Fokus und modale Eingaben bei Größen- und Bildschirmwechseln.
libgdx-scene2d-ui
Entdecke, wie der Skill hilftWann ist der Skill hilfreich?
Nutze ihn für zuverlässigen Fokus, Modalität oder längere Texte und Größenänderungen in Scene2D-Oberflächen.
Wobei hilft er dir?
- Trennt Stage- und Actor-Darstellung vom Spielzustand.
- Verwendet Skin-Konventionen mit klarer Ressourcenverantwortung.
- Regelt modale Eingaben, Tastaturfokus und Größenänderungen.
Das könntest du fragen
Baue einen RPG-Shop mit scrollbaren Gegenständen und Bestätigungsdialog. Navigiere per Tastatur, ändere die Größe und brich einen Kauf ab. Fokus kehrt zum Gegenstand zurück, das Hintergrundspiel verarbeitet keine Menüeingaben und Schließen entsorgt keine gemeinsam verwendeten Skin-Ressourcen.
Ausführliche Dokumentation
Hier findest du die ursprüngliche Anleitung, Beispiele und Prüfschritte des Skills in ihrer Originalsprache.
Weniger anzeigen
libGDX — scene2d ui
Use when implementing libGDX Scene2D menus, dialogs, layout or UI focus.
Version and project gate
Inspect Gradle wrapper and modules, libGDX/backend versions, Java toolchain, ApplicationListener/Game/Screen structure, AssetManager ownership, viewport policy, native libraries and supported desktop/mobile/web targets. 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 Stage/Actor presentation from durable game state. Reuse the existing Skin and layout conventions. Set input ownership, modal behavior and keyboard focus explicitly. Keep act/draw timing and viewport application consistent and dispose stage-owned resources according to ownership.
Deliver
A complete menu/dialog interaction with long text and resize behavior. Keep the change in the existing project structure; separate actual observations from the proposed acceptance scenario below.
Failure to prevent
A Table layout is not automatic keyboard accessibility; sharing a Skin does not transfer disposal ownership to every screen.
Acceptance scenario
Open a modal over gameplay, navigate with keyboard, resize and dismiss it without a click falling through. 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 Keiko. 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
