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

Bevy Engine

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.

★ 50k⟳ yesterdayApache-2.0
Open Source Alternative to:Unity

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.

★ 35.8k⟳ todayZlib
Frameworks & PlatformsDesktop/CLI app

Matter.js

JavaScript two-dimensional rigid body physics engine

Matter.js simulates 2D rigid-body physics for browser games and interactive pages. It runs in modern browsers and Node.js with canvas rendering and touch-friendly controls.

★ 18.7k⟳ 1 month agoMIT
Frameworks & PlatformsDesktop/CLI app

wgpu

Cross-platform safe Rust graphics API

wgpu implements the WebGPU-style API in Rust for native and WebAssembly targets. It backs Firefox, Servo, and Deno WebGPU integration and maps to Vulkan, Metal, D3D12, and GLES.

★ 18.7k⟳ todayApache-2.0
Frameworks & PlatformsDesktop/CLI app

GLFW

Cross-platform windowing library for OpenGL and Vulkan

GLFW is a C library that creates windows, graphics contexts, and surfaces while handling input and events. It targets OpenGL, OpenGL ES, and Vulkan on desktop and Unix-like systems.

★ 15.5k⟳ 3 months agoZlib
Frameworks & PlatformsDesktop/CLI app

Bullet3

Real-time collision and multi-physics simulation SDK

Bullet Physics SDK provides real-time collision detection and multi-physics simulation for games, visual effects, VR, robotics, and machine learning. PyBullet Python bindings are recommended for robotics and RL workflows.

★ 14.9k⟳ 1 month agoZlib · open core
Frameworks & PlatformsDesktop/CLI app