A fast, free and fun open source HTML5 game framework
open sourceMITfree
Phaser is an open source framework for making 2D HTML5 games, with WebGL and Canvas rendering across desktop and mobile web browsers. Games are written in JavaScript or TypeScript, with first-class TypeScript definitions, and it works alongside front-end frameworks such as React, Vue, Angular and Svelte. It covers physics, tweens, cameras, input, texture atlases, particles, tilemaps, dynamic textures and custom shaders, and Phaser 4 has a new node-based WebGL renderer with built-in filters (blur, glow, bloom, shadow and more) and lighting. Games run on the web or as YouTube Playables, Discord Activities and Reddit games, and third-party tools compile them for iOS, Android, Steam and native apps. Richard Davey started it in 2013, and Phaser Studio has developed it since 2023.
Problems it solves
- make a 2D game that runs in the browser
- build an HTML5 game in JavaScript or TypeScript
- make a game for Discord Activities or YouTube Playables
Features
- WebGL and Canvas rendering
- JavaScript and TypeScript
- physics, tweens, cameras and input
- particles and tilemaps
- built-in filters and lighting
- templates for React, Vue, Svelte and other frameworks
- YouTube Playables, Discord Activities and Reddit games
Alternatives
The same job
These do what Phaser does.
- GameMaker The friendly indie game engine