Open source HTML5 game framework for building 2D games with WebGL and Canvas rendering
MIT
- JavaScript
- GLSL
- TypeScript

About Phaser
Phaser is a fast, free, open source HTML5 game framework for making 2D games that run in desktop and mobile web browsers. It is a code-based framework with no visual editor, offering WebGL and Canvas rendering plus a scene-based architecture, a loader, built-in Arcade and Matter.js physics, animations, input handling, cameras, tilemaps, particles, and tweens. You build with JavaScript or TypeScript.
Games target the web first, but can also ship as YouTube Playables, Discord Activities, or Twitch Overlays, or be wrapped for iOS, Android, Steam, and native apps with third-party tools. Phaser works alongside more than 40 front-end frameworks, including React and Vue.
Phaser is commercially developed and maintained by Phaser Studio Inc together with its open source community. It installs from npm or a CDN, and a create-phaser-game CLI scaffolds new projects from official templates and demo games.
Key features
- WebGL and Canvas 2D rendering for desktop and mobile browsers
- JavaScript or TypeScript development with no visual editor
- Built-in Arcade and Matter.js physics
- Scene system, tilemaps, particles, cameras, and tweens
- Builds for web, YouTube Playables, Discord Activities, and Twitch Overlays
Details
- First released
- 2013
- Platforms
- Web · iOS · Android
- Languages
- JavaScript · TypeScript
- Rendering
- WebGL · Canvas
- Framework support
- 40+ front-end frameworks
- Maintenance
- Phaser Studio Inc + community
