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 (120.4K stars), pixijs (48.8K stars) and phaser (40.8K stars). GitHub.Locker tracks 30 2D repositories with 451.7K stars combined. The fastest-growing on December 4 was pixelfx, with +222 stars in a day.
Hot right now
Most stars gained in a day · Dec 4
pixelfx
patch-gg/pixelfx · ★ 11.2Kpixelfx is a library of 232 pixel art effects and animations (fire, explosions, magic, weather, UI, pickups, critters, and more), each implemented as a small piece of JavaScript code rather than a pre-drawn image, plus a Claude Code skill for creating new ones.
+98claude-animated-shorts
mromidev/claude-animated-shorts · ★ 6.3KA free Claude skill that makes 55-70 second vertical animated story shorts: 2D characters in a colourful 3D world, rendered with three.js inside Remotion on your own PC.
godot
godotengine/godot · ★ 120.4KGodot 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 · ★ 20.1KMotion 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.
The all-time top
30 projects · by stars
- 120.4K
#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.8K
#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.8K
#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
motion-canvas
20.1Kmotion-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.
- 6
matter-js
18.7Kliabru/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.
- 7

pyxel
18.6Kkitao/pyxel · RustPyxel is a retro game engine for Python, built with simple specs inspired by classic game consoles — only 16 colors and 4 sound channels — so you can easily make pixel-art style games.
- 8
clay
18.4Knicbarker/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
15Kkonvajs/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
13.1Kmapeditor/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

pixelfx
11.2Kpatch-gg/pixelfx · JavaScriptpixelfx is a library of 232 pixel art effects and animations (fire, explosions, magic, weather, UI, pickups, critters, and more), each implemented as a small piece of JavaScript code rather than a pre-drawn image, plus a Claude Code skill for creating new ones.
- 14

Pixelorama
11.1KOrama-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.
- 15
awesome-godot
11KCalinou/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.
- 16

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.
- 17
box2d
10.5Kerincatto/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.
- 18
opentoonz
8.3Kopentoonz/opentoonz · C++OpenToonz is a free, open-source 2D animation program. It is published by DWANGO and is built for making full animation productions.
- 19

claude-animated-shorts
6.3Kmromidev/claude-animated-shorts · TypeScriptA free Claude skill that makes 55-70 second vertical animated story shorts: 2D characters in a colourful 3D world, rendered with three.js inside Remotion on your own PC.
- 20

agent-sprite-forge
5.8K0x0funky/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.
- 21

ldtk
5Kdeepnight/ldtk · HaxeLDtk (Level Designer Toolkit) is a modern, lightweight and efficient open-source 2D level editor for designing game levels.
- 22

fheroes2
3.7Kihhub/fheroes2 · C++fheroes2 is an open-source recreation of the Heroes of Might and Magic II game engine, built from scratch to reproduce the original turn-based strategy game with improvements to gameplay, graphics, and AI.
- 23

pixel-plays
593amirmushichge/pixel-plays · HTMLA collection of small browser games presented as isometric pixel dioramas; each game is a single HTML page with no build step and no dependencies, using its own tiny software rasteriser instead of sprites or images.
- 24

dsh-game-studio
585ZSeven-W/dsh-game-studio · JavaScriptA plugin for DeepSeek Harness that turns a one-sentence game description into a small playable game. You play it in the chat sidebar, can swap in AI-generated art, and can export it as one offline HTML file.
- 25

PixelSRPG-Forge
477Huu-Yuu/PixelSRPG-Forge · PythonA free, continuously-updated collection of pixel art assets for Strategy Role-Playing Games (SRPGs), covering characters, buildings, terrain, weapons, skill effects, icons, sound effects, and UI elements.
- 26
bones
324fishfolk/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.
- 27

riso-windowseat
322sevenevesai/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.
- 28
ArcadeMaker
162ArcadeMakerSources/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.
- 29

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.
- 30
parin
148Kapendev/parin · DParin is a lightweight 2D game engine for the D programming language, designed to be easy to set up, hackable, and come with batteries included like animation, pathfinding, and screen shake.
Related topics
Often tagged together