C++ SDL

Open-source C++ projects categorized as SDL

Top 23 C++ SDL Projects

  1. bgfx

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

    Project mention: Layers All the Way Down: The Untold Story of Shader Compilation | news.ycombinator.com | 2025-05-18

    BGFX (https://github.com/bkaradzic/bgfx) uses a different approach. You basically write your shader in a GLSL-like language but it's all just (either very clever or very horrible) macro expansions that handles all the platform differences.

  2. JetBrains

    Tell us how you use coding tools. You may win a prize! Are you a developer or a data analyst? Share your thoughts about your coding tools in our short survey and get a chance to win prizes!

    JetBrains logo
  3. magnum

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

  4. 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: OpenXRay: Reviving the S.T.A.L.K.E.R. Legacy | dev.to | 2025-05-19

    View the Project on GitHub

  5. supertux

    SuperTux source code

  6. Cytopia

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

  7. OpenXcom

    Open-source clone of the original X-Com πŸ‘½

  8. milton

    An infinite-canvas paint program

    Project mention: Using a graphics tablet as a programming tool (2018) | news.ycombinator.com | 2025-03-15

    It's not new, it just says "On 2021-02-27 a successful build for Linux can be done with these steps" [0].

    I followed the steps and had a compiled and working version within a couple minutes (after a compile error and fixing by installing libgtk2.0-dev).

    [0] https://github.com/serge-rgb/milton?tab=readme-ov-file#linux...

  9. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  10. zep

    Zep - An embeddable editor, with optional support for using vim keystrokes. (by Rezonality)

  11. falltergeist

    Opensource crossplatform Fallout 2β„’ game engine writen in C++ and SDL.

    Project mention: EA Open Sources Command and Conquer: Red Alert | news.ycombinator.com | 2025-02-27

    Fallout 1 and 1 were rewritten from scratch more than twice already.

    Several times as clone game engine with most popular being falltergeist:

    https://github.com/falltergeist/falltergeist

    Second time as MMO client-server tech:

    https://github.com/cvet/fonline

    FOnline for sure use nothing of original game except for assets.

  12. amiberry

    Optimized Amiga emulator for Linux/macOS

    Project mention: Amiberry: Optimized Amiga emulator for multiple platforms | news.ycombinator.com | 2024-12-27
  13. NBlood

    Reverse-engineered ports of Build games using EDuke32 engine technology and development principles (NBlood/Rednukem/PCExhumed)

  14. libSDL2pp

    C++ bindings/wrapper for SDL2

  15. s25client

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

  16. supermariowar

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

  17. krkrsdl2

    ε‰ι‡Œε‰ι‡ŒSDL2γƒ—γƒ­γ‚Έγ‚§γ‚―γƒˆ (ε‰ι‡Œε‰ι‡Œ2γ¨ε‰ι‡Œε‰ι‡ŒZγŒγƒ™γƒΌγ‚Ή) / Kirikiri SDL2 Project (Based on Kirikiri 2 and Kirikiri Z)

  18. xpano

    Automated photo stiching tool. Lets you import a directory of images and then export the autodetected panoramas.

  19. centurion

    A modern C++ wrapper library for SDL. (by albin-johansson)

  20. GWork

    Skinnable GUI with useful widget collection. Fork of GWEN.

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

  22. LDtkLoader

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

  23. openblok

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

  24. EnttPong

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

  25. xbox-controller-button-remapper

    Xbox Controller Button Remapper (Xbox button and/or Share button)

  26. Sevalla

    Deploy and host your apps and databases, now with $50 credit! Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!

    Sevalla logo
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++ SDL discussion

Log in or Post with

C++ SDL related posts

  • Amiberry: Optimized Amiga emulator for multiple platforms

    1 project | news.ycombinator.com | 27 Dec 2024
  • SuperTux

    5 projects | news.ycombinator.com | 27 Feb 2024
  • XcomUtil

    1 project | news.ycombinator.com | 15 Nov 2023
  • Amiberry: Optimized Amiga emulator for the Raspberry Pi and other Linux devices

    1 project | news.ycombinator.com | 10 Nov 2023
  • A littel guide for alien colony assaults in TFTD

    1 project | /r/Xcom | 8 Oct 2023
  • Is the original Xcom games worth playing nowadays?

    1 project | /r/Xcom | 30 Sep 2023
  • What game gives you nostalgia and how old are you?

    1 project | /r/gaming | 7 Jul 2023
  • A note from our sponsor - Sevalla
    sevalla.com | 1 Sep 2025
    Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more! Learn more β†’

Index

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

# Project Stars
1 bgfx 16,054
2 magnum 5,027
3 xray-16 3,264
4 supertux 2,704
5 Cytopia 2,085
6 OpenXcom 2,035
7 milton 1,720
8 zep 992
9 falltergeist 882
10 amiberry 762
11 NBlood 681
12 libSDL2pp 583
13 s25client 524
14 supermariowar 482
15 krkrsdl2 341
16 xpano 334
17 centurion 321
18 GWork 219
19 NXEngine 188
20 LDtkLoader 124
21 openblok 106
22 EnttPong 83
23 xbox-controller-button-remapper 75

Sponsored
Tell us how you use coding tools. You may win a prize!
Are you a developer or a data analyst? Share your thoughts about your coding tools in our short survey and get a chance to win prizes!
surveys.jetbrains.com

Did you know that C++ is
the 7th most popular programming language
based on number of references?