Toolbox Aid David Quesenberry 04/05/2026 asteroids_showcase_maintainer_notes.md
- Keep integration at game/sample composition level.
- Do not move Asteroids-specific debug behavior into engine core.
- Reuse public debug APIs from
tools/dev/devConsoleIntegration.js.
games/Asteroids/debug/asteroidsShowcaseDebug.js
Responsibilities:
- register Asteroids showcase panels
- register Asteroids showcase commands
- apply Asteroids showcase presets
AsteroidsGameScene publishes diagnostics context with:
- session state (mode, score, lives, wave, status)
- entity state (ship, bullets, asteroids, UFO)
- recent event stream
If another sample wants the same productization pattern:
- keep gameplay logic unchanged
- add optional debug config in sample boot
- pass optional debug integration into the scene
- publish sample-specific diagnostics context
- keep event streams bounded
- no Track G network scope
- no Track H 3D scope
- no unrelated engine architecture changes