Topics / #2d
2D projects on GitHub
Libraries and engines for two-dimensional game development covering rendering, physics, and gameplay.
As of , the most-starred 2D projects on GitHub are godot (118.6K stars), pixijs (48.4K stars) and phaser (40.5K stars). GitHub.Locker tracks 25 2D repositories with 434.3K stars combined. The fastest-growing on October 18 was godot, with +70 stars in a day.
Hot right now
Most stars gained in a day · Oct 18
godot
godotengine/godot · ★ 118.6KGodot is a free, cross-platform game engine for creating both 2D and 3D games from one unified editor, with a comprehensive set of built-in tools.
motion-canvas
motion-canvas/motion-canvas · ★ 19.4KMotion Canvas is a free, open-source tool for creating informative vector animations — you program them in TypeScript and watch them in a real-time preview editor, optionally synchronized with a voice-over.
agent-sprite-forge
0x0funky/agent-sprite-forge · ★ 4.5KAgent Sprite Forge is a Codex skill set that turns natural-language prompts into game-ready 2D assets: animated sprite sheets, transparent PNG frames, GIFs, and layered RPG maps, which can also be wired into Godot or Unity scenes.
pixijs
pixijs/pixijs · ★ 48.4KPixiJS is a 2D rendering engine for the web that uses WebGL and WebGPU to draw fast, interactive graphics like games, data visualizations, and creative sites.
The all-time top
25 projects · by stars
- 118.6K
#1 · godotengine/godot
godot
Godot is a free, cross-platform game engine for creating both 2D and 3D games from one unified editor, with a comprehensive set of built-in tools.
- 48.4K
#2 · pixijs/pixijs
pixijs
PixiJS is a 2D rendering engine for the web that uses WebGL and WebGPU to draw fast, interactive graphics like games, data visualizations, and creative sites.
- 40.5K
#3 · phaserjs/phaserphaser
Phaser is a fast, free and open source 2D game framework for building HTML5 games that run in desktop and mobile web browsers, rendering with either WebGL or Canvas. It has been actively developed for over 13 years.
- 4
libgdx
25.5Klibgdx/libgdx · JavalibGDX is a cross-platform Java game development framework built on OpenGL (ES): one codebase targets Windows, Linux, macOS, Android, iOS, and web browsers.
- 5

rough
21.3Krough-stuff/rough · HTMLRough.js is a small (<9 kB) JavaScript graphics library that makes drawings look sketchy and hand-drawn instead of clean and geometric.
- 6
motion-canvas
19.4Kmotion-canvas/motion-canvas · TypeScriptMotion Canvas is a free, open-source tool for creating informative vector animations — you program them in TypeScript and watch them in a real-time preview editor, optionally synchronized with a voice-over.
- 7
matter-js
18.5Kliabru/matter-js · JavaScriptMatter.js is a JavaScript 2D rigid body physics engine for the web — a physics simulation you drop into web pages and Node.js apps.
- 8
clay
18.3Knicbarker/clay · CClay (short for C Layout) is a high performance 2D UI layout library in C. You describe your UI with React-like declarative macros, it computes element positions and sizes in microseconds, and hands you back render commands.
- 9

konva
14.9Kkonvajs/konva · TypeScriptKonva.js is an open-source 2D canvas framework for the web, used to build interactive graphics: design editors, whiteboards, diagrams, annotations and maps.
- 10

ebiten
13.6Khajimehoshi/ebiten · GoEbitengine (formerly Ebiten) is an open source 2D game engine for Go: a simple API for building 2D games that deploy across many platforms.
- 11

tiled
13Kmapeditor/tiled · C++Tiled is a free, general-purpose tile map editor for tile-based games such as RPGs, platformers, or Breakout clones. It is highly flexible and runs on all major operating systems.
- 12
signature_pad
12.1Kszimek/signature_pad · TypeScriptA JavaScript library for drawing smooth signatures in the browser, based on HTML5 canvas and variable-width Bézier curve interpolation from Square's Smoother Signatures post.
- 13

OpenDiablo2
11.1KOpenDiablo2/OpenDiablo2 · GoOpenDiablo2 is an open-source re-implementation of Diablo 2: an ARPG game engine written in Go, styled after early-2000s action RPGs, that can run the original game.
- 14
awesome-godot
10.9KCalinou/awesome-godotA curated (awesome-list) collection of free/libre games, plugins, add-ons, scripts, templates and demos built with or for the Godot game engine.
- 15

flame
10.8Kflame-engine/flame · DartFlame is a game engine built on top of Flutter, giving you a game loop, component system, collision detection, input handling, and sprite/animation tools so you can build 2D games using Dart and Flutter.
- 16

zdog
10.7Kmetafizzy/zdog · JavaScriptZdog is a round, flat, designer-friendly pseudo-3D engine for the web: you build 3D models in JavaScript by adding shapes, and it renders them with 2D drawing APIs to canvas or SVG.
- 17

Pixelorama
10.6KOrama-Interactive/Pixelorama · GDScriptPixelorama is a free and open-source pixel art multitool: an editor for creating sprites, tiles and animations, with a large toolbox built around pixel art and game art.
- 18
box2d
10.4Kerincatto/box2d · CBox2D is a 2D physics engine for games, handling collision detection, rigid body dynamics, and joints so you can simulate realistic physics in a game.
- 19

agent-sprite-forge
4.5K0x0funky/agent-sprite-forge · PythonAgent Sprite Forge is a Codex skill set that turns natural-language prompts into game-ready 2D assets: animated sprite sheets, transparent PNG frames, GIFs, and layered RPG maps, which can also be wired into Godot or Unity scenes.
- 20
bones
319fishfolk/bones · RustBones is a 'meta-engine' framework for building moddable, multiplayer 2D games in Rust. It originated from the Fish Folk game Jumpy and is meant to eventually power all Fish Folk games.
- 21

riso-windowseat
297sevenevesai/riso-windowseat · HTMLProcedural risograph-style animated films, each a single self-contained HTML file of Canvas 2D and Web Audio, plus the Claude Code skills, craft docs and tools used to make them.
- 22

-.
295bofanchen99-netizen/-. · JavaScriptIt's a prototype of a 2D top-down loot-and-extract style browser game built to teach English vocabulary to Chinese learners: players raid maps, fight enemies, and grab Word Cards instead of just loot.
- 23

kindergrimm
171albertobeiz/kindergrimm · JavaScriptA procedural generator that draws hand-sketched doodle characters directly on canvas, rigs each one bone-by-bone for animation, and wraps them into several small browser games and tools under the name Kindergrimm.
- 24
ArcadeMaker
155ArcadeMakerSources/ArcadeMaker · C#ArcadeMaker is a simple cross-platform 2D game engine that ships with its own programming language (prototyped as Exp) and an integrated IDE, modeled after GameMaker 8.
- 25

react-native-skia
149wcandillon/react-native-skia · TypeScriptReact Native Skia brings Google's Skia Graphics Library into React Native apps, giving them the same high-performance 2D rendering engine that powers Chrome, Android, Flutter and Firefox.
Related topics
Often tagged together