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.

30Projects
451.7KStars in total
+581Stars in a day

Hot right now

Most stars gained in a day · Dec 4

The all-time top

30 projects · by stars

  1. #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.

    120.4K
  2. #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.

    48.8K
  3. #3 · phaserjs/phaser

    phaser

    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.

    40.8K
  1. 4

    libgdx

    25.5Klibgdx/libgdx · Java

    libGDX is a cross-platform Java game development framework built on OpenGL (ES): one codebase targets Windows, Linux, macOS, Android, iOS, and web browsers.

  2. 5

    motion-canvas

    20.1Kmotion-canvas/motion-canvas · TypeScript

    Motion 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.

  3. 6

    matter-js

    18.7Kliabru/matter-js · JavaScript

    Matter.js is a JavaScript 2D rigid body physics engine for the web — a physics simulation you drop into web pages and Node.js apps.

  4. 7

    pyxel

    18.6Kkitao/pyxel · Rust

    Pyxel 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.

  5. 8

    clay

    18.4Knicbarker/clay · C

    Clay (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.

  6. 9

    konva

    15Kkonvajs/konva · TypeScript

    Konva.js is an open-source 2D canvas framework for the web, used to build interactive graphics: design editors, whiteboards, diagrams, annotations and maps.

  7. 10

    ebiten

    13.6Khajimehoshi/ebiten · Go

    Ebitengine (formerly Ebiten) is an open source 2D game engine for Go: a simple API for building 2D games that deploy across many platforms.

  8. 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.

  9. 12

    signature_pad

    12.1Kszimek/signature_pad · TypeScript

    A 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.

  10. 13

    pixelfx

    11.2Kpatch-gg/pixelfx · JavaScript

    pixelfx 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.

  11. 14

    Pixelorama

    11.1KOrama-Interactive/Pixelorama · GDScript

    Pixelorama 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.

  12. 15

    awesome-godot

    11KCalinou/awesome-godot

    A curated (awesome-list) collection of free/libre games, plugins, add-ons, scripts, templates and demos built with or for the Godot game engine.

  13. 16

    flame

    10.8Kflame-engine/flame · Dart

    Flame 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.

  14. 17

    box2d

    10.5Kerincatto/box2d · C

    Box2D is a 2D physics engine for games, handling collision detection, rigid body dynamics, and joints so you can simulate realistic physics in a game.

  15. 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.

  16. 19

    claude-animated-shorts

    6.3Kmromidev/claude-animated-shorts · TypeScript

    A 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.

  17. 20

    agent-sprite-forge

    5.8K0x0funky/agent-sprite-forge · Python

    Agent 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.

  18. 21

    ldtk

    5Kdeepnight/ldtk · Haxe

    LDtk (Level Designer Toolkit) is a modern, lightweight and efficient open-source 2D level editor for designing game levels.

  19. 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.

  20. 23

    pixel-plays

    593amirmushichge/pixel-plays · HTML

    A 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.

  21. 24

    dsh-game-studio

    585ZSeven-W/dsh-game-studio · JavaScript

    A 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.

  22. 25

    PixelSRPG-Forge

    477Huu-Yuu/PixelSRPG-Forge · Python

    A 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.

  23. 26

    bones

    324fishfolk/bones · Rust

    Bones 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.

  24. 27

    riso-windowseat

    322sevenevesai/riso-windowseat · HTML

    Procedural 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.

  25. 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.

  26. 29

    react-native-skia

    149wcandillon/react-native-skia · TypeScript

    React 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.

  27. 30

    parin

    148Kapendev/parin · D

    Parin 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.

Often tagged together