848 B
848 B
airship-phaser
Top-down Phaser.js airship combat prototype.
Development
npm install
npm test
npm run dev
Production builds run the regression suite before Vite:
npm run build
Runtime diagnostics
The browser keeps the latest 300 structured events in memory.
In Chrome DevTools:
airshipDebug.getLogs()
airshipDebug.snapshot()
airshipDebug.clearLogs()
Useful events include:
scene:init,scene:create,scene:heartbeat,scene:shutdowncombat:broadside-firedcombat:player-hit-queuedcombat:player-hit-processedcombat:pirate-hitgame:finishhud:image-error,hud:helm-frame-error,hud:helm-knob-errorruntime:error,runtime:unhandled-rejection
If gameplay appears frozen, inspect airshipDebug.snapshot() first, then the tail of airshipDebug.getLogs().