C++ 2D

Open-source C++ projects categorized as 2D

Top 23 C++ 2D Projects

  • spine-runtimes

    2D skeletal animation runtimes for Spine.

    Project mention: Spine – 2D skeletal animation for games, with physical secondary motions | news.ycombinator.com | 2024-08-19

    That's not what you wrote here

    https://github.com/EsotericSoftware/spine-runtimes/issues/20...

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • AntSimulator

    Simple Ants simulator

  • crown

    The flexible game engine.

  • synfig

    This is the Official source code repository of the Synfig project

  • qcad

    QCAD - The Open Source 2D CAD. QCAD is a cross-platform CAD solution for Windows, macOS and Linux. It supports the DXF format and optionally the DWG format (through a proprietary plugin).

  • tgfx

    A lightweight 2D graphics library for rendering texts, geometries, and images with high-performance APIs that work across various platforms.

  • ObEngine

    2D Game Engine with Lua Scripting made on top of SFML !

    Project mention: ObEngine VS cerlib - a user suggested alternative | libhunt.com/r/ObEngine | 2024-10-29
  • jazz2-native

    🎮 · Jazz² Resurrection: Native C++ reimplementation of Jazz Jackrabbit 2

    Project mention: Lessons from Open-Source Game Projects | dev.to | 2024-04-10

    Jazz 2 Resurrection - Jazz Jack Rabbit 2 clone. C++, OpenGL, SDL2

  • CavalierContours

    2D polyline library for offsetting, combining, etc.

  • canvas_ity

    A tiny, single-header <canvas>-like 2D rasterizer for C++

    Project mention: GPU-Friendly Stroke Expansion | news.ycombinator.com | 2024-07-06

    There's a relatively straightforward trick that you can do here. If you've got a transform that turns a circle into an ellipse with the relative radii and orientation that you want, then:

    1. Apply the inverse of that transform to your path.

    2. Stroke the path.

    3. Apply the transform to the result.

    This way, the path stays in place but the stroke is transformed to give it a calligraphic look. JSFiddle example: [0].

    (This was something that I tested in my tiny, single-header -like 2D rasterizer library for C++ and my Javascript port of its test suite [1].)

    For Inkscape, I think you can convert an object to a path, apply the inverse transform, do a minimal simplification to bake the transform into the path, stroke it, and then apply the forward transform. It's a bit clumsy, but I bet someone could easily create an extension script to do it.

    [0] https://jsfiddle.net/y7m16wa0/

    [1] https://github.com/a-e-k/canvas_ity/blob/main/test/test.cpp#..., https://github.com/a-e-k/canvas_ity/blob/main/test/test.html...

  • friction

    Friction Graphics

    Project mention: Friction: Powerful graphics application to create vector and raster animations | news.ycombinator.com | 2024-07-01
  • morphologica

    A library of supporting code for numerical modelling (JSON config, HDF5 data, Modern OpenGL visualization)

  • Fractal_Engine

    WIP 3D game engine with editor and other stuff

  • AnimeEffects

    2D Animation Tool

    Project mention: Ask HN: What alternatives to Adobe products are you switching to? | news.ycombinator.com | 2024-06-13
  • flatland

    A 2D robot simulator for ROS (by avidbots)

  • Creature_Godot

    2D Skeletal Animation Creature Runtime for Godot Engine

  • Heuristic_path_planners

    Collection of classes and functions to allow 2D/3D path generation with heuristic algorithms such as A*, Theta* and LazyTheta* and ROS Interfaces

  • chronotext-cross

    Cross platform infrastructure for developing 2d and 3d applications with C++ and OpenGL

  • DruidEngine

    Druid Engine - Improving my C++ / OpenGL skills by writing a Game Engine.

  • WelderEngineRevamp

    Major overhaul of the Zero Engine and renaming to Welder.

  • RAG3

    Top-down single/multiplayer shooter game with time manipulation mechanics.

  • ncJump

    🦘 A jumping project powered by nCine

  • cpp-graphics

    C++ 2D Graphics Tests and Examples using SDL2, SFML, GLFW and Dear ImGui

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

C++ 2D discussion

Log in or Post with

C++ 2D related posts

  • ObEngine VS cerlib - a user suggested alternative

    2 projects | 29 Oct 2024
  • Spine – 2D skeletal animation for games, with physical secondary motions

    2 projects | news.ycombinator.com | 19 Aug 2024
  • The new 2d tilemap system is completely unusable

    3 projects | /r/godot | 3 Jun 2023
  • I made a Cool Game Engine on Github

    1 project | /r/coolgithubprojects | 19 Apr 2023
  • How do you protect your game assets from infringement? Asking for suggestions

    3 projects | /r/gamedev | 5 Apr 2023
  • How to organize game structs

    2 projects | /r/Zig | 13 Mar 2023
  • Anime Effects – an open-source 2D animation app

    1 project | news.ycombinator.com | 15 Feb 2023
  • A note from our sponsor - SaaSHub
    www.saashub.com | 3 Dec 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

What are some of the best open-source 2D projects in C++? This list will help you:

Project Stars
1 spine-runtimes 4,429
2 AntSimulator 2,250
3 crown 2,156
4 synfig 1,853
5 qcad 1,515
6 tgfx 1,119
7 ObEngine 813
8 jazz2-native 554
9 CavalierContours 427
10 canvas_ity 356
11 friction 307
12 morphologica 260
13 Fractal_Engine 179
14 AnimeEffects 146
15 flatland 108
16 Creature_Godot 85
17 Heuristic_path_planners 73
18 chronotext-cross 70
19 DruidEngine 59
20 WelderEngineRevamp 54
21 RAG3 22
22 ncJump 16
23 cpp-graphics 10

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

Did you konow that C++ is
the 6th most popular programming language
based on number of metions?