Live game preview
Phaser library & diagnostics
Phaser 3.90.0Checking hosted library…
Download official phaser.min.js (save as a JavaScript file). Optional manual fallback. Hosted library loads automatically.
Click inside the game before using keyboard controls. Run restarts the preview. For active games, manual Run is recommended so the game doesn't restart while you type.
Finish and publish
Save source to continue editing later. Export game downloads an independent HTML file with compiled JavaScript. Open the file in a browser, then publish it using an approved static host and embed its HTTPS URL in Google Sites.
About this prototype
Real TypeScript 5.8.3 transpilation; syntax diagnostics, not full project type checking. This version uses a plain editor with separate Canvas and Phaser project profiles. Phaser is a pinned approved runtime, not arbitrary npm packages. Full type checking and module resolution are not included. Preview scripts run in a sandbox with a restrictive CSP. This is a development preview, not a production security boundary. Stop cannot interrupt a synchronous infinite loop.