C Game development

Open-source C projects categorized as Game development

Top 23 C Game development Projects

  • raylib

    A simple and easy-to-use library to enjoy videogames programming

    Project mention: 2d graphics library for arcade games | reddit.com/r/learnjava | 2022-11-29

    Raylib is nice as well, but I haven't tried out the Java bindings: https://www.raylib.com/ https://github.com/raysan5/raylib/blob/master/BINDINGS.md

  • 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: pygame error | reddit.com/r/learnpython | 2022-11-26

    Home-page: https://www.pygame.org

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Data Platform where developers build real-time applications for analytics, IoT and cloud-native services in less time with less code.

  • GameNetworkingResources

    A Curated List of Game Network Programming Resources

    Project mention: Where to start with online multiplayer? | reddit.com/r/gamedev | 2022-09-28
  • flecs

    A fast entity component system (ECS) for C & C++

    Project mention: ECS: Why List Components? | reddit.com/r/csharp | 2022-10-28

    For existing libraries (which you can either choose to use, or choose to reference to look at how they implement ideas), maybe you can take a look at the following. I don't have experience with them, so I don't know how well they are implemented nor whether they strictly adhere to data-oriented design practices to get maximum performance, but it's not always strictly necessary to get the best performance out of everything unless you are writing a 3d AAA game with hundreds of thousands or even millions of entities: * Svelto.ECS - A C# ECS * FLECS - Written in C, but it also has a C# binding and it's a pretty well-regarded ECS implementation * ENTT - "Modern C++" ECS implementation * Bevy - a full game engine with a robust ECS implementation, written in Rust and quite modern.

  • netcode.io

    A protocol for secure client/server connections over UDP

    Project mention: Multiplayer Networking Solutions | reddit.com/r/gamedev | 2022-10-06

    yojimbo/ netcode/ reliable, all developped by Glenn Fidler, author of GafferOnGames

  • ioq3

    The ioquake3 community effort to continue supporting/developing id's Quake III Arena

    Project mention: Q3 source port help | reddit.com/r/quake | 2022-09-03

    The bigger thing is that you need to build the binaries (game files like .exe and .dll) yourself off ioQuake3's GitHub. If you're not a programmer, and/or you're lazy, it's easier to grab the files off Quake3e's GitHub instead.

  • go-sdl2

    SDL2 binding for Go

    Project mention: "Dr. Kobushi’s Labyrinthine Laboratory" powered by Ebitengine has been released on Steam | reddit.com/r/golang | 2022-09-15

    An even simpler option (not a full engine) is using SDL2 bindings.

  • Zigi

    Close all those tabs. Zigi will handle your updates.. Zigi monitors Jira and GitHub updates, pings you when PRs need approval and lets you take fast actions - all directly from Slack! Plus it reduces cycle time by up to 75%.

  • Open-Golf

    A cross-platform minigolf game written in C.

    Project mention: Good open source games written in C? | reddit.com/r/C_Programming | 2022-09-04
  • Allegro

    The official Allegro 5 git repository. Pull requests welcome!

    Project mention: Looking for a very basic 2d graphics library | reddit.com/r/C_Programming | 2022-10-05

    allegro 5 is quite alright with fonts

  • soloud

    Free, easy, portable audio engine for games

    Project mention: what annoys you most while using c++? | reddit.com/r/cpp | 2022-08-28

    No, that has indeed solved it for me. But the first time I encountered it, my friend and I spent quite awhile debugging the problem. Almost 2 hours, I believe. We still have an open issue about that one.

  • space-shooter.c

    A cross-platform, top-down 2D space shooter written in C using only platform libraries.

    Project mention: Good open source games written in C? | reddit.com/r/C_Programming | 2022-09-04
  • zig-gamedev

    Building game development ecosystem for @ziglang!

    Project mention: zig-gamedev project: zaudio v0.9.1 released | reddit.com/r/Zig | 2022-11-21
  • upbge

    UPBGE, the best integrated game engine in Blender

    Project mention: A new background for Windows made by me! It's my first time, opinions? | reddit.com/r/Windows11 | 2022-11-10

    Yeah, they some people came back and revived it, they're adding some hella cool features like being able to render with eeve https://github.com/UPBGE/upbge

  • raylib-go

    Go bindings for raylib, a simple and easy-to-use library to enjoy videogames programming.

    Project mention: Golang Image Manipulation. | reddit.com/r/golang | 2022-10-22

    Not sure exactly what you want to do however Raylib offers some image manipulation and is easy to use https://github.com/gen2brain/raylib-go

  • Azul3D

    Azul3D - A 3D game engine written in Go! (by azul3d)

  • reliable

    A packet acknowledgement system for UDP

    Project mention: Multiplayer Networking Solutions | reddit.com/r/gamedev | 2022-10-06

    yojimbo/ netcode/ reliable, all developped by Glenn Fidler, author of GafferOnGames

  • SSVOpenHexagon

    C++20 FOSS clone of "Super Hexagon". Depends on SSVStart, SSVEntitySystem, SSVLuaWrapper, SSVMenuSystem, JSONcpp, SFML2.0. Features JSON/LUA customizable game files, a soundtrack by BOSSFIGHT, pseudo-3D effects.

    Project mention: Best Freeware/Open Source Lowend Games 2022 **Please add your favorites!** | reddit.com/r/lowendgaming | 2022-10-15

    Open Hexagon

  • gideros

    Gideros Release version

    Project mention: Light-weight cross platform 2D Game Engine Recommendations? | reddit.com/r/gamedev | 2022-06-05
  • etlegacy

    ET: Legacy is an open source project based on the code of Wolfenstein: Enemy Territory which was released in 2010 under the terms of the GPLv3 license.

    Project mention: Found around 250 hilarious CS quotes while browsing Notepad++'s code (Line 7102) | news.ycombinator.com | 2022-11-07
  • astera

    A C99 Cross Platform 2D Game Library

  • opensurge

    A fun 2D retro platformer inspired by Sonic games and a game creation system.

    Project mention: Surge the rabbit 0.6.0 released (genesis sonic-like 2D platformer, GPLv3) | reddit.com/r/opensourcegames | 2022-09-02
  • nbnet

    single header C(99) library to implement client-server network code for games

  • keeperfx

    Open source remake and Fan Expansion of Dungeon Keeper.

    Project mention: Gaming library before Steam | reddit.com/r/gaming | 2022-11-26
  • 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.

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 2022-11-29.

C Game development related posts


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

Project Stars
1 raylib 11,122
2 Pygame 5,491
3 GameNetworkingResources 5,183
4 flecs 3,368
5 netcode.io 2,240
6 ioq3 2,046
7 go-sdl2 1,866
8 Open-Golf 1,616
9 Allegro 1,494
10 soloud 1,412
11 space-shooter.c 1,289
12 zig-gamedev 1,196
13 upbge 1,006
14 raylib-go 899
15 Azul3D 559
16 reliable 527
17 SSVOpenHexagon 527
18 gideros 504
19 etlegacy 402
20 astera 260
21 opensurge 237
22 nbnet 228
23 keeperfx 190
Truly a developer’s best friend
Scout APM is great for developers who want to find and fix performance issues in their applications. With Scout, we'll take care of the bugs so you can focus on building great things 🚀.