qmetrics.net

Phaser

HTML5 2D game framework with Canvas and WebGL

Phaser is a JavaScript and TypeScript framework for browser games on desktop and mobile, with scene APIs, physics, animations, and loaders. Games can target embed platforms or wrap for native stores via third-party tooling

Overview

Phaser provides a scene-based API for building 2D games that render through Canvas or WebGL in modern browsers. It includes asset loading, input, cameras, tilemaps, particles, tweens, and built-in Arcade and Matter.js physics, and can be used with many front-end frameworks or plain JavaScript.

The current major release replaces the older renderer with a node-based WebGL pipeline aimed at better state management, context recovery, and batching performance. New capabilities include a unified filter system for visual effects, GPU-oriented sprite and tilemap layers for large counts, expanded lighting, and additional procedural game objects such as gradients and noise generators.

Distribution is via npm, CDN, or an interactive project generator that scaffolds templates for common bundlers and frameworks. Documentation, hundreds of examples, an online sandbox editor, and TypeScript definitions support day-to-day development. Community plugins extend UI, networking, and gameplay utilities.

Phaser is maintained commercially alongside community contributions and is positioned for web-first delivery, including embeddable formats for social and streaming platforms when packaged externally. Migration guidance exists for projects moving from the prior major version’s rendering and effects APIs.

Key features

  • Canvas and WebGL rendering
  • Scene-based game structure
  • Arcade and Matter.js physics
  • Animation, tilemap, and particle systems
  • Works with React, Vue, and other frameworks
  • Unified GPU filter and mask effects
  • High-count sprite and tilemap layers
  • TypeScript definitions and examples

Use cases

  • Browser-based 2D arcade games
  • Mobile-friendly HTML5 games
  • Discord Activities and playable embeds
  • Educational game prototypes
  • AI-assisted game code generation

Tags

Similar software

Godot

Cross-platform 2D and 3D game engine

Godot Engine lets creators build 2D and 3D games from one editor and export to desktop, mobile, web, and console targets through publishers.

  • Unified 2D and 3D editor
  • Node and scene workflow
  • GDScript, C#, and C++ scripting
C++Web, Linux, macOS, WindowsDetails →
★ 121.4k⟳ todayMIT
Open Source Alternative to:Unity

Bevy

Rust game engine with ECS architecture

Bevy Engine is a data-driven Rust game engine for 2D and 3D work. It emphasizes modularity, parallel execution, and fast iteration while the project remains under active development.

  • Entity-component-system core
  • 2D and 3D renderers
  • Render graph pipelines
RustLinux, macOS, Windows, AndroidDetails →
★ 50.2k⟳ todayApache-2.0 · open core
Open Source Alternative to:Unity

PixiJS

HTML5 WebGL and WebGPU 2D graphics library

PixiJS is a browser library for fast 2D rendering with WebGPU or WebGL. It targets games, ads, apps, and interactive sites.

  • WebGPU and WebGL 2D rendering
  • Spritesheets and asset loader
  • Filters and custom shaders
TypeScriptWeb, CLIDetails →
★ 49k⟳ 4 days agoMIT

raylib

Minimal C library for games and graphical programs

raylib is a C99 graphics and game programming library with no mandatory external dependencies. It suits prototypes, tools, education, and embedded targets across desktop, mobile, and web.

  • Bundled dependencies in one library
  • OpenGL and software render paths
  • 2D, 3D, audio, and input modules
CLinux, macOS, Windows, AndroidDetails →
★ 35.9k⟳ yesterdayZlib

GDevelop

Cross-platform no-code game engine for 2D and 3D

GDevelop is no-code game development software for building 2D, 3D, and multiplayer games for mobile, desktop, and the web. It uses an event-based system, modular behaviors, and optional AI assistance.

  • No-code event-based game logic
  • 2D and 3D WebGL rendering
  • Modular attachable behaviors
JavaScriptWeb, Linux, macOS, WindowsDetails →
★ 29.6k⟳ todayMIT · open core
Game DevelopmentDesktop/CLI app
Open Source Alternative to:Unity

Babylon.js

Browser JavaScript engine for WebGL and WebGPU 3D

Babylon.js is a web 3D engine for building games, configurators, digital twins, and XR experiences in the browser with TypeScript-friendly npm packages.

  • WebGL, WebGL2, and WebGPU rendering
  • WebXR and Web Audio integration
  • Typed npm and ES module packages
TypeScriptWebDetails →
★ 26.6k⟳ todayApache-2.0
Open Source Alternative to:Unity