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. Learn more →
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.
-
- 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.
-
Project mention: Show HN: Textual Markdown – a Markdown “browser” in the terminal | news.ycombinator.com | 2022-12-17
-
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.
-
-
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-08The game was developed with the is::Engine (a game engine that uses C++, SFML 2 & SDL 2).
-
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.
-
-
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 -
There have been some efforts to keep them working: http://www.improbability.net/loki/ https://github.com/libsdl-org/sdl12-compat/
-
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.
-
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-17Hopefully someone ports over Hydra Castle Labyrinth. It was ported to 3DS and then to Linux, so it should be fairly straightforward for the Miyoo.
-
-
-
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-07SDL - 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.
-
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.
-
-
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-24GNUboy upstream is here: https://github.com/AlexOberhofer/SDL2-GNUBoy
-
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.
-
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.
-
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.
-
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
C SDL related posts
- how do I fix this error? any help would be amazing thanks guys (:
- Is Pygame dead? pygame.org 500's
- Ask HN: Is Pygame Dead?
- bug report
- new to python, can you help me?
- Show HN: Textual Markdown – a Markdown “browser” in the terminal
- Did updating my system break pygame? SDL version error.
-
A note from our sponsor - InfluxDB
www.influxdata.com | 27 Jan 2023
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 |