Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Game Engine Development
  3. Phaser

Phaser

MITJavaScriptv4.2.1

A fast, free, and fun open-source HTML5 game framework for creating 2D games with WebGL and Canvas rendering.

Visit WebsiteGitHubGitHub
40.0k stars7.1k forks0 contributors

What is Phaser?

Phaser is an open-source HTML5 game framework specifically designed for creating 2D games that run in web browsers. It provides a comprehensive set of tools for rendering graphics (using both WebGL and Canvas), handling physics, managing assets, and building game logic. The framework solves the problem of building performant, cross-platform games without requiring native development skills or proprietary engines.

Target Audience

Game developers and web developers who want to create 2D games for web browsers, mobile devices, or platforms like YouTube Playables, Discord Activities, and Twitch Overlays. It's particularly suitable for those familiar with JavaScript or TypeScript.

Value Proposition

Developers choose Phaser for its decade-long maturity, excellent documentation, extensive examples, and active commercial support. Unlike many game engines, it's specifically optimized for 2D web games, offers both WebGL and Canvas rendering, and integrates seamlessly with modern JavaScript frameworks and tooling.

Overview

Phaser is a fun, free and fast 2D game framework for making HTML5 games for desktop and mobile web browsers, supporting Canvas and WebGL rendering.

Use Cases

Best For

  • Creating 2D browser games with HTML5 and JavaScript
  • Building games for YouTube Playables or Discord Activities
  • Developing cross-platform games that deploy to web, mobile, and desktop
  • Learning game development with extensive examples and tutorials
  • Prototyping games quickly with the Phaser Sandbox online editor
  • Integrating game elements into React, Vue, or other web applications

Not Ideal For

  • Developing high-fidelity 3D games or simulations that require advanced 3D graphics and physics engines
  • Projects needing deep, direct access to native mobile APIs without the overhead of web views or third-party compilation tools
  • Teams that prefer a visual, drag-and-drop game development environment over writing code for scene design and prototyping
  • Games requiring complex real-time server-authoritative multiplayer systems without additional middleware or backend setup

Pros & Cons

Pros

Decade-Long Maturity

Actively developed for over 10 years with a large community and extensive documentation, ensuring stability and reliability for production games, as highlighted by its status as one of the most starred game frameworks on GitHub.

Versatile Platform Support

Enables deployment to web, mobile, and desktop via third-party tools, and directly targets platforms like YouTube Playables and Discord Activities, offering broad reach without rewriting code.

Comprehensive Tooling Ecosystem

Includes a CLI for scaffolding, an online sandbox editor for rapid prototyping, a bundle compressor for optimization, and hundreds of examples and plugins, accelerating development from start to finish.

Strong TypeScript Integration

Offers full TypeScript definitions and seamless compatibility with over 40 front-end frameworks like React and Vue, facilitating modern development practices and better code maintainability.

Cons

No Built-In 3D Support

Focused exclusively on 2D game development, so projects requiring 3D graphics must look elsewhere or rely on limited community plugins, which can restrict creative scope.

Complex Native Build Pipeline

Deploying to iOS, Android, or native apps requires integrating third-party tools like Cordova or Electron, adding configuration overhead compared to engines with integrated native exporters.

Lack of Visual Game Editor

Development is code-centric with no integrated drag-and-drop scene editor; while the Phaser Sandbox exists for prototyping, it's not a full visual IDE, slowing down level design for visual-focused teams.

Frequently Asked Questions

Quick Stats

Stars40,015
Forks7,142
Contributors0
Open Issues104
Last commit14 days ago
CreatedSince 2013

Tags

#mobile-games#web-games#gamedev#canvas#phaser#html5-game-development#phaserjs#game-development#game-frameworks#webgl#javascript#cross-platform#2d-games#canvas-rendering#javascript-games

Built With

W
WebGL
J
JavaScript
T
TypeScript
C
Canvas

Links & Resources

Website

Included in

HTML52.8kOpen Source Games2.7kGame Engine Development1.3k
Auto-fetched 3 hours ago

Related Projects

VueVue

This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core

Stars210,113
Forks33,695
Last commit1 year ago
BootstrapBootstrap

The most popular HTML, CSS, and JavaScript framework for developing responsive, mobile first projects on the web.

Stars174,510
Forks78,725
Last commit13 hours ago
electronelectron

:electron: Build cross-platform desktop apps with JavaScript, HTML, and CSS

Stars122,151
Forks17,331
Last commit7 hours ago
GodotGodot

Godot Engine – Multi-platform 2D and 3D game engine

Stars114,544
Forks26,089
Last commit1 day ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub