Phaser

Phaser Vite + TypeScript

This is Phaser’s official blank: Vite, TypeScript, one scene. It does not teach Snake. It gives you a folder that builds. Start here for a new web game, then steal mechanics from the examples repo.

Phaser Vite + TypeScript
PhaserarcadeTypeScriptMITTemplate
Ad
Engine
Phaser
Language
TypeScript
Genre
arcade
License
MIT

Who it is for

  • Anyone starting a Phaser 3 game in 2026
  • TypeScript users who do not want webpack archaeology
  • Jam teams on a browser target

What you can learn

  • A current Phaser + Vite project layout
  • Where the first Scene class lives
  • How to add a second scene without fighting the bundler

Clone and run

  1. Install Node.js LTS.
  2. Clone phaserjs/template-vite-ts, run npm install, then npm run dev.
  3. Open the local URL. Edit src and let Vite reload.

Empty on purpose. If you need a genre, clone a Phaser example next, not this template. MIT for both the template and Phaser itself.

Public repositories. The short descriptions are written for this site.

Editorial notes reviewed 2026-10-05.

Related source

Quiz