space-game/src/levels
Michael Mainguy 1422c5b926
All checks were successful
Build / build (push) Successful in 1m31s
Add centralized input control management and mission brief improvements
- Create InputControlManager singleton for centralized ship controls and pointer selection management
  - Last-wins behavior for state changes
  - Mutually exclusive ship controls and VR pointer selection
  - Observable events for state changes with requester tracking
  - Enables debugging and prevents conflicts between UI components

- Refactor Ship class to use InputControlManager
  - Remove disableControls() and enableControls() methods
  - Register input systems with InputControlManager on initialization
  - Simplify control state management throughout ship lifecycle

- Update StatusScreen to use InputControlManager
  - Remove manual pointer selection enable/disable methods
  - Delegate control management to InputControlManager
  - Automatic laser pointer enabling when screen shows

- Update Level1 mission brief to use InputControlManager
  - Consistent control management for mission brief display
  - Proper pointer selection during mission brief interaction

- Fix controller input trigger blocking bug
  - Triggers now properly blocked when controls disabled
  - Prevents shooting when status screen or mission brief is visible
  - Only X-button (status screen toggle) allowed when disabled

- Add START MISSION button to mission brief
  - Replace "Pull trigger to start" text with clickable button
  - Green styled button matching StatusScreen design
  - Works with VR laser pointer interaction
  - Trigger pull still works as fallback

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-21 17:25:11 -06:00
..
config Implement hybrid level storage system with JSON-based defaults and configurable orbit constraints 2025-11-11 18:40:01 -06:00
generation Restructure codebase into logical subdirectories 2025-11-11 12:53:18 -06:00
migration Implement hybrid level storage system with JSON-based defaults and configurable orbit constraints 2025-11-11 18:40:01 -06:00
stats Implement hybrid level storage system with JSON-based defaults and configurable orbit constraints 2025-11-11 18:40:01 -06:00
storage Implement trigger-based mission brief dismissal for VR gameplay 2025-11-21 07:44:46 -06:00
ui Implement trigger-based mission brief dismissal for VR gameplay 2025-11-21 07:44:46 -06:00
versioning Implement hybrid level storage system with JSON-based defaults and configurable orbit constraints 2025-11-11 18:40:01 -06:00
level1.ts Add centralized input control management and mission brief improvements 2025-11-21 17:25:11 -06:00
level.ts Restructure codebase into logical subdirectories 2025-11-11 12:53:18 -06:00
testLevel.ts Implement Svelte-based UI architecture with component system 2025-11-21 15:01:17 -06:00