How-to: Input Action ergänzen
- Action in
src/HolodeckArena.Game3D/project.godotvorzugsweise über Project Settings → Input Map anlegen. - Wenn die Action zur Bootstrap-Grundausstattung gehört,
AppBootstrap.EnsureGameplayInputActionsergänzen. Aktuell werden Movement, interact undattack_primarysichergestellt; Weapon-Slot-Actions werden imPlayerCombatComponenterwartet, aber nicht im Bootstrap angelegt. - Consumer nutzt
Input.IsActionPressed/Input.GetVector statt harter Tasten._UnhandledInputfür diskrete Aktionen,_PhysicsProcessfür kontinuierliche Bewegung. - UI-Fokus und ControlMode prüfen; Chat/LineEdit darf keine Gameplayaktion auslösen.
- Input-Referenz und Szenen/Controller aktualisieren; bei Netzwerkinput Sequenz/Replayevent deterministisch abbilden.
Prüfung: Keyboardbinding, Rebind/fehlende Action, Fokus, zwei ControlModes und Headless-Start ohne Input. project.godot ist die maßgebliche Inputliste; AppBootstrap ist Fallback/Runtime-Ergänzung.
Verwandt: Konfiguration/CLI, Player, UI.