Game Engine MatchBeta
Game engine selection tool
All engines
Engine guide

Phaser

A JavaScript framework for 2D browser games

Overview

Phaser is an open-source 2D game framework for the web. You write JavaScript or TypeScript and run the game in a browser; Phaser itself is a library rather than a desktop game editor.

Good for

  • web games
  • 2D action
  • JavaScript and TypeScript

Worth knowing

You will write code rather than work primarily in a visual editor. Native apps require third-party tools, and 3D is not built in.

Getting started

Install Node.js and use the official project-creation tool, or add Phaser to an existing JavaScript project. Then follow the first-game tutorial to learn scenes, sprites, and game logic.

Install PhaserUse the official project creator or install the library with npm.

Learning resources

Start with these resources from the engine’s creators and community.