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.

25Projects
434.3KStars in total
+144Stars in a day

Hot right now

Most stars gained in a day · Oct 18

The all-time top

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

    118.6K
  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.4K
  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.5K
  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

    rough

    21.3Krough-stuff/rough · HTML

    Rough.js is a small (<9 kB) JavaScript graphics library that makes drawings look sketchy and hand-drawn instead of clean and geometric.

  3. 6

    motion-canvas

    19.4Kmotion-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.

  4. 7

    matter-js

    18.5Kliabru/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.

  5. 8

    clay

    18.3Knicbarker/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

    14.9Kkonvajs/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

    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.

  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

    OpenDiablo2

    11.1KOpenDiablo2/OpenDiablo2 · Go

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

  11. 14

    awesome-godot

    10.9KCalinou/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.

  12. 15

    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.

  13. 16

    zdog

    10.7Kmetafizzy/zdog · JavaScript

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

  14. 17

    Pixelorama

    10.6KOrama-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.

  15. 18

    box2d

    10.4Kerincatto/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.

  16. 19

    agent-sprite-forge

    4.5K0x0funky/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.

  17. 20

    bones

    319fishfolk/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.

  18. 21

    riso-windowseat

    297sevenevesai/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.

  19. 22

    -.

    295bofanchen99-netizen/-. · JavaScript

    It'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.

  20. 23

    kindergrimm

    171albertobeiz/kindergrimm · JavaScript

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

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

  22. 25

    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.

Often tagged together