C SDL

Open-source C projects categorized as SDL

Top 23 C SDL Projects

  • Pygame

    🐍🎮 pygame (the library) is a Free and Open Source python programming language library for making multimedia applications like games built on top of the excellent SDL library. C, Python, Native, OpenGL.

    Project mention: Is Pygame dead? pygame.org 500's | news.ycombinator.com | 2023-01-15
  • chocolate-doom

    Chocolate Doom is a Doom source port that is minimalist and historically accurate.

    Project mention: Ports suggestion for OnionOS | reddit.com/r/MiyooMini | 2022-11-28

    - Chocolate Doom (support Heretic, Hexen, Strife and Freedoom iwads) https://github.com/chocolate-doom/chocolate-doom

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

  • lagrange

    A Beautiful Gemini Client

    Project mention: Show HN: Textual Markdown – a Markdown “browser” in the terminal | news.ycombinator.com | 2022-12-17

    [3] https://github.com/skyjake/lagrange

  • taisei

    A free and open-source Touhou Project fangame

    Project mention: How does ZUN program the spellcards | reddit.com/r/touhou | 2022-11-03

    Taisei Project, which is a Touhou fangame, might be of good help; its source code is available to the public. It's written in C though.

  • doomretro

    The classic, refined DOOM source port. For Windows PC.

    Project mention: Release DOOM Retro v4.6 | reddit.com/r/opensourcegames | 2022-08-20
  • is-Engine

    C++, SDL 2 and SFML game engine that allows to create games on Web (HTML 5), Android and PC.

    Project mention: I Can Transform : Multiplayer (Super Stars Challenge) is available ! | reddit.com/r/SoloDevelopment | 2022-09-08

    The game was developed with the is::Engine (a game engine that uses C++, SFML 2 & SDL 2).

  • SDL.zig

    A shallow wrapper around SDL that provides object API and error handling

    Project mention: Is there a way to build Zig libraries to be used by Zig instead of as C libraries? | reddit.com/r/Zig | 2022-05-30
  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • ccleste

    Celeste Classic C source port for 3DS and PC.

    Project mention: Pokitto: Open-source pocket gaming console | news.ycombinator.com | 2022-03-01
  • Simple-SDL2-Audio

    A simple SDL2 audio library without SDL_Mixer for playing music and multiple sounds natively in SDL2

    Project mention: Release - The One with better timing · m64p/m64p | reddit.com/r/emulation | 2022-07-18
  • sdl12-compat

    An SDL-1.2 compatibility layer that uses SDL 2.0 behind the scenes.

    Project mention: Old linux ports | reddit.com/r/linux_gaming | 2022-11-23

    There have been some efforts to keep them working: http://www.improbability.net/loki/ https://github.com/libsdl-org/sdl12-compat/

  • quakespasm

    QuakeSpasm -- A modern, cross-platform Quake game engine based on FitzQuake. (by sezero)

    Project mention: how do I fix this error? any help would be amazing thanks guys (: | reddit.com/r/quake | 2023-01-23

    I wouldn't say you absolutely need to get a new PC. You could probably try using the QuakeSpasm engine. Pretty much any modern PC can run Quake, the "remaster" just has much higher system requirements than usual.

  • SDL_shader_tools

    Shader compiler and tools for SDLSL (Simple Directmedia Layer Shader Language)

    Project mention: Why aren't there constantly more shading languages popping up all the time like other languages? | reddit.com/r/GraphicsProgramming | 2022-08-11
  • hydracastlelabyrinth

    A port to Linux (and OpenPandora / DragonBox Pyra / ODroid / PocketCHIP / GameShell / AmigaOS4 / MorphOS / Emscripten) of Hydra Castle Labyrinth (a "metroidvania" kind of game). Status: Working.

    Project mention: I love Cave Story/Dōkutsu Monogatari. Is there anything else like it for the MiyooMini? | reddit.com/r/MiyooMini | 2022-06-17

    Hopefully someone ports over Hydra Castle Labyrinth. It was ported to 3DS and then to Linux, so it should be fairly straightforward for the Miyoo.

  • termux-sdl

    termux sdl plugin

  • zig-sdl

    self-contained SDL2 package for Zig

    Project mention: How to compile cmake projects with zig cc? | reddit.com/r/Zig | 2022-07-28
  • SDL-1.2

    Simple Directmedia Layer, 1.2 branch ... ***DEPRECATED***, please use https://github.com/libsdl-org/SDL for new projects!

    Project mention: Recommendations for a lightweight cross platform windowing library? | reddit.com/r/C_Programming | 2022-06-07

    SDL - The older 1.2 version. However this has portability benefits to older platforms (old Linux, Amiga, etc). It is also simpler than SDL2 and as such can be easily "mapped" on-top of other APIs. For example Emscripten provides it inbuilt, mapped over the DOM / Canvas stuff.

  • sdlamp

    A tutorial on writing a simple media player with SDL.

    Project mention: SDL2 common mistakes and how to avoid them | reddit.com/r/C_Programming | 2023-01-08

    It's a playlist of Ryan C Gordon building a Winamp clone in SDL called sdlamp. It plays sound through SDL, and builds up a IMGUI-ish interface, first with filled rectangles and later blitting actual Winamp skins.

  • gfxprim

    Open-source modular 2D bitmap graphics library with emphasis on speed and correctness.

  • SDL2-GNUBoy

    A Gameboy and Gameboy Color Emulator for Windows, Mac, and Linux (An sdl2 focused fork of GNUBoy) (by AlexOberhofer)

    Project mention: Port of GNUBoy to OpenBSD using DRM framebuffer and wscons (no X11) | reddit.com/r/openbsd_gaming | 2022-06-24

    GNUboy upstream is here: https://github.com/AlexOberhofer/SDL2-GNUBoy

  • jaxe

    A fully-featured, cross platform XO-CHIP/S-CHIP/CHIP-8 emulator written in C and SDL.

    Project mention: I'm working on a physical, handheld CHIP-8 game console. Anyone have suggestions/critiques? | reddit.com/r/EmuDev | 2022-06-10

    Last year I wrote a CHIP-8 emulator (well to be more accurate, interpreter) to learn more about emulators and computer architecture in general and had a lot of fun with it.

  • sdlarch

    small libretro frontend created for educational purposes

    Project mention: QuickNES standalone | reddit.com/r/RetroArch | 2022-02-15

    If you want to use the libretro core, you'll need some sort of libretro frontend. Doesn't have to be RetroArch, though. There are very barebones frontends like sdlarch and nanoarch that might fit your needs.

  • SDL2X11Emulation

    A library that implements the X11 Api with SDL. Designed to work with Tk.

    Project mention: Show HN: Xlibe: a serverless Xlib (X11) compatibility layer for Haiku | news.ycombinator.com | 2022-04-26

    They are. More than just the drawing routines, quite literally the entire thing directly invokes Be APIs. For instance XQueryPointer just calls directly into the Interface Kit to get the present mouse position, or XSetWMProperties directly modifies the Haiku-native window state, title, etc.

    However, that being said, if you wanted to do something similar or equivalent on some other platform, you could probably copy quite a lot of the structure, and then delete the actual implementation and replace it with your own. I restructured things a bunch in the early phases of working on this, and there's a lot of boilerplate code (e.g. macros.c, large parts of the event dispatcher) which you could reuse verbatim; though it's mixed in with the non-boilerplate code.

    There were some other projects I ran into that looked like they were more generic, e.g. https://github.com/Abestanis/SDL2X11Emulation (also check the forks of that -- though I'm one of them, I experimented with it a bit before starting on this thing; but it's very incomplete and SDL2 really isn't designed for this), but none anywhere near as advanced as this is now.

  • moonagents

    Reactive state machines in Lua

    Project mention: How can I communicate across coroutines? | reddit.com/r/lua | 2022-12-07

    If you're not aiming for true parallelism and you're happy with concurrency models like Lua's native coroutines, you may try MoonAgents.

  • 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-01-23.

C SDL related posts

Index

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

Project Stars
1 Pygame 5,663
2 chocolate-doom 1,506
3 lagrange 969
4 taisei 727
5 doomretro 530
6 is-Engine 171
7 SDL.zig 167
8 ccleste 152
9 Simple-SDL2-Audio 148
10 sdl12-compat 139
11 quakespasm 111
12 SDL_shader_tools 92
13 hydracastlelabyrinth 68
14 termux-sdl 64
15 zig-sdl 61
16 SDL-1.2 55
17 sdlamp 43
18 gfxprim 35
19 SDL2-GNUBoy 25
20 jaxe 22
21 sdlarch 20
22 SDL2X11Emulation 6
23 moonagents 5
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com