Open-source C++ projects categorized as SDL

Top 23 C++ SDL Projects

  • bgfx

    Cross-platform, graphics API agnostic, "Bring Your Own Engine/Framework" style rendering library.

    Project mention: Just found out about Zig and wonder what would be the best graphics library to pair with it? | reddit.com/r/Zig | 2023-02-01

    If you want juste a renderer, you can use BGFX, there is a zig binding that is not a third party.

  • magnum

    Lightweight and modular C++11 graphics middleware for games and data visualization

    Project mention: Want to a 3D game without a game engine but not having to deal with opengl stuff ? | reddit.com/r/gamedev | 2022-12-09


  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.

  • xray-16

    Improved version of the X-Ray Engine, the game engine used in the world-famous S.T.A.L.K.E.R. game series by GSC Game World. Join OpenXRay! ;)

    Project mention: Not bad for a 16 year old game engine | reddit.com/r/stalker | 2023-01-23

    Yes. It's a based on a fork from Open X-ray.

  • Cytopia

    :deciduous_tree::house_with_garden::office::evergreen_tree: A city building simulation game

    Project mention: Cytopia: Open-source city simulator with pixel-art graphics | reddit.com/r/linux_gaming | 2022-04-17

    Download the portable Linux version which has libnoise bundled: https://github.com/CytopiaTeam/Cytopia/releases/download/v0.2.1/cytopia-linux-portable.zip

  • OpenXcom

    Open-source clone of the original X-Com 👽

    Project mention: Websites restored | reddit.com/r/OpenXcom | 2023-01-27

    You can visit https://openxcom.org/ and https://www.ufopaedia.org/ once more. Sorry for the inconvenience.

  • supertux

    SuperTux source code

    Project mention: Advantages of flakes | reddit.com/r/NixOS | 2022-02-17

    nix run git+https://github.com/supertux/supertux.git?submodules=1

  • milton

    An infinite-canvas paint program (by serge-rgb)

    Project mention: Lorien – Infinite canvas drawing/whiteboarding app | news.ycombinator.com | 2022-06-12

    I have used Milton for this for about a year or so. One thing I really like about Milton is the Grid tool, to create a rows and columns. It’s great for sketching out ideas or calculations when learning.

    I think the Linux code for Milton had one or two issues when compiling on a modern Arch system, but I have a simple fix laying around if anybody else has trouble.

    I should try Lorien though.


  • Sonar

    Write Clean C++ Code. Always.. Sonar helps you commit clean C++ code every time. With over 550 unique rules to find C++ bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

  • falltergeist

    Opensource crossplatform Fallout 2™ game engine writen in C++ and SDL.

  • amiberry

    Optimized Amiga emulator for the Raspberry Pi and other ARM boards

    Project mention: A500 mini - your thoughts on it | reddit.com/r/amiga | 2022-09-26

    If you edit/change the contents of the whdload_db.xml file inside the boot-data.zip then you can change the per-game settings. I don't know what all the possible settings are but you should be able to make it boot to an Amiga4000-like config (or at least with a faster CPU). Some more details about this at https://github.com/BlitterStudio/amiberry/wiki/WHDLoad-Auto-booting

  • libSDL2pp

    C++ bindings/wrapper for SDL2

    Project mention: What is a good framework for C++ game development? | reddit.com/r/gamedev | 2022-07-15

    there are cpp wrappers https://github.com/libSDL2pp/libSDL2pp

  • s25client

    Return To The Roots (Settlers II(R) Clone)

  • supermariowar

    A fan-made multiplayer Super Mario Bros. style deathmatch game

    Project mention: My collection of AppImage packages | reddit.com/r/AppImage | 2022-09-28

    there are several developers that have bundled wine as an AppImage, my favourite one is this , about GZDoom I've just downloaded the tar package and it seems to be an Electron based app, so it should not difficult to bundle it (see my Spotify for example), and supermariowar should be easier too.

  • centurion

    A modern C++ wrapper library for SDL2 in order to improve type-safety, memory safety and overall ease-of-use. (by albin-johansson)

    Project mention: Animate terminal output? | reddit.com/r/AskProgramming | 2022-03-06

    I'd look towards using SDL2, using a wrapper library can make this trivial.

  • NXEngine

    A port of the open-source rewrite Cave Story game engine for various platforms. Original author is Caitlin "rogueeve" Shaw, https://nxengine.sourceforge.io/

    Project mention: Ask HN: Favourite Open Source Game? | news.ycombinator.com | 2022-06-01

    I really enjoy Cave Story, It's a very cute metroidvania with a lot of soul.


  • glottie

    OpenGL/WebGL based Lottie animation player

  • openblok

    A customizable, cross platform, open-source falling block game, packed with a bunch of features.

    Project mention: [AppImage] A shoutout to Openbloks, a free and open source Tetris game | reddit.com/r/SteamDeck | 2022-03-31


  • EnttPong

    Built for EnTT, at the request of the developer as a demo.

    Project mention: Adding ECS to Inheritance based engine trying to make an hybrid, ECS not much better, what am I doing wrong? | reddit.com/r/gameenginedevs | 2022-03-23

    Yet in the basic ECS examples I see around, movement is one of the first things that I see getting delegated to a system. I started by looking at this https://github.com/DomRe/EnttPong

  • LDtkLoader

    A C++11 loader for levels and tile maps created with LDtk (Level Designer ToolKit)

  • brux-gdk

    Free runtime and development kit using SDL and Squirrel

    Project mention: SuperTux Advance | reddit.com/r/opensourcegames | 2022-08-04

    :space_invader: Modern C++ wrapper for Simple DirectMedia Layer (SDL2)

  • Sand-Box2D

    An open source cross-platform game based on Box2D with SDL2.

    Project mention: LiveArea Specs | reddit.com/r/vitahacks | 2022-11-09

    I hope this document helped you. If you appreciate my work, please review my game Sand-Box2D (still in very early development) and, idk, leave a star there or something.

  • mag

    My newest text editor (by czipperz)

  • RaptorEngine

    RaptorEngine SDL-based network game engine with OpenGL graphics.

    Project mention: BTTT: BattleTech TableTop v0.9.5: Bug fixes and QOL improvements! | reddit.com/r/battletech | 2022-06-22

    Yep, the game and its engine are both open source.

  • SaaSHub

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

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). The latest post mention was on 2023-02-01.

C++ SDL related posts


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

Project Stars
1 bgfx 12,642
2 magnum 4,321
3 xray-16 2,275
4 Cytopia 1,628
5 OpenXcom 1,618
6 supertux 1,563
7 milton 1,293
8 falltergeist 819
9 amiberry 507
10 libSDL2pp 492
11 s25client 406
12 supermariowar 334
13 centurion 201
14 NXEngine 141
15 glottie 99
16 openblok 86
17 EnttPong 58
18 LDtkLoader 48
19 brux-gdk 24
20 SDLXX 8
21 Sand-Box2D 6
22 mag 3
23 RaptorEngine 3
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives