C Game development

Open-source C projects categorized as Game development | Edit details
Related topics: #Game Engine #Game #C #CPP #Android

Top 23 C Game development Projects

  • GitHub repo raylib

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

    Project mention: image puzzle game but I only known how to code in C. | reddit.com/r/gamedev | 2021-12-06

    Raylib: https://www.raylib.com/

  • GitHub repo 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: what versions of python are compatible with Pygame 2.1.0? | reddit.com/r/learnpython | 2021-12-04

    As per https://github.com/pygame/pygame/releases

  • Nanos

    Run Linux Software Faster and Safer than Linux with Unikernels.

  • GitHub repo flecs

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

    Project mention: What are your recommendations for c++ game dev? | reddit.com/r/cpp | 2021-08-26

    Worth mentioning flecs https://github.com/SanderMertens/flecs as an alternative to entt. It's simpler and more focused, IMO, whereas entt also tries to do a number of things that aren't strictly ECS-related.

  • GitHub repo netcode.io

    A protocol for secure client/server connections over UDP

    Project mention: P2P vs Client Server | reddit.com/r/gamedev | 2021-09-04

    If you want to learn more about networking for game in C++, Glenn Fiedler has great articles from the basics to advanced topics: https://www.gafferongames.com/ He also created a library for client-server networking: https://github.com/networkprotocol/netcode (He has a big name in networking, totally recommend reading his articles if you want to learn more about networking)

  • GitHub repo ioq3

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

    Project mention: Making Quake From Scratch? | reddit.com/r/gamedev | 2021-10-29

    The source code for all of the Quake games is available on GitHub. They are the original source releases, but you might prefer to use a source port which implements more up-to-date platform abstractions (like SDL), supports 64-bit, and doesn't contain any assembly code. I'd recommend ioquake3.

  • GitHub repo go-sdl2

    SDL2 binding for Go

  • GitHub repo Allegro

    The official Allegro 5 git repository. Pull requests welcome!

    Project mention: Learn Scheme by Example: Tk GUI with Chicken Scheme | dev.to | 2021-11-12

    The Allegro egg is accompanied by a couple of examples but no examples showing the use of the audio addon. The Allegro library itself comes with an example showing how to generate a saw wave, but being a C library, the example is, of course, in C. I ported that example to Scheme. I would have contributed the example back to the Allegro egg, but the repo is marked as "archived by the owner" and read-only on GitHub. I've included the example in the repo alongside the rest of the code for this tutorial in case someone finds it useful.

  • Scout APM

    Scout APM: A developer's best friend. Try free for 14-days. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.

  • GitHub repo soloud

    Free, easy, portable audio engine for games

    Project mention: Has anybody gotten the SoLoud audio library working with MSVC 2019? | reddit.com/r/cpp | 2021-03-01

    Hey folks, I've migrated a project from MSVC 2017 to 2019, and for the life of me cannot get SoLoud to run without crashing. Here is a link to a more descriptive description of the problem I'm having. I've stripped my project down to the following, and I'm still getting crashes:

  • GitHub repo raylib-go

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

    Project mention: Gui lib for Go on Linux? | reddit.com/r/golang | 2021-09-04

    Raylib has RayGui and you can create a windows app with it https://github.com/gen2brain/raylib-go

  • GitHub repo Azul3D

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

    Project mention: I wrote a simple Go->C++ compiler to use for gameplay programming. Here's a demo of its use for my game project (along with an editor tool). I show the generated C++ in the end of the video. Compiler source code is ~1500 lines, link in video description. Will do a deeper public release soon! | reddit.com/r/golang | 2021-11-25

    Interesting work Nikki, I've definitely considered going down this path once or twice with Azul3D in years past, cool to see you've gone much further with it than I ever did.

  • GitHub repo 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: Open Hexagon, my open-source spiritual successor to Super Hexagon (endorsed by Terry Cavanagh), is now out of Early Access! | reddit.com/r/pcgaming | 2021-11-04

    The product is dual-licensed -- the Steam version has an EULA, the GitHub repository is AFL Licensed.

  • GitHub repo gideros

    Gideros Release version

    Project mention: Becoming an Indie Game Developer with Gideros Studio | dev.to | 2021-07-18

    The Gideros Studio is also open source and available in the github repositories, so you can study how it works.

  • GitHub repo apecs

    a fast, extensible, type driven Haskell ECS framework for games

    Project mention: New Haskell ebook: Learn Haskell by building a blog generator | reddit.com/r/haskell | 2021-12-05

    The apecs paper and associated shoot 'em up game tutorial

  • GitHub repo 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: What’s the oldest game you still play regularly? | reddit.com/r/gaming | 2021-12-05

    also check out https://www.etlegacy.com/

  • GitHub repo nbnet

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

    Project mention: Nbnet: Single header C99 library implements client-server network code for games | news.ycombinator.com | 2021-10-06
  • GitHub repo OpenHoW

    Open-source reimplementation of Gremlin's Hogs of War (PC/PSX).

    Project mention: GitHub - TalonBraveInfo/OpenHoW: Open-source reimplementation of Gremlin's Hogs of War (PC/PSX). | reddit.com/r/HogsOfWar | 2021-09-18
  • GitHub repo is-Engine

    SFML C++ game engine that allows to create games on Web (HTML 5 - CSS 3), Android and PC

    Project mention: is::Engine 3.3.6 is available ! | reddit.com/r/sfml | 2021-12-07

    is::Engine 3.3.6 released! Here are the improvements to the engine: - Support for sf::Music class on Android by SDL 2 library. - Bug fixed.

  • GitHub repo darkplaces

    Mirror of https://gitlab.com/xonotic/darkplaces - The Quake engine that powers Xonotic https://xonotic.org

    Project mention: LadyHavoc's DarkPlaces Quake Modification is active again as of 10/2/2021! | reddit.com/r/quake | 2021-10-08
  • GitHub repo glop

    Bare-bones osx alternative to sdl

  • GitHub repo q3lite

    Q3lite, an OpenGL ES port of Quake III Arena for embedded Linux systems.

    Project mention: Vintage Apple Macintosh + Raspberry Pi | reddit.com/r/raspberry_pi | 2021-02-03
  • GitHub repo megadev

    A Sega Mega CD development framework in C and 68k asm

    Project mention: Awesome Mega Drive Development -- curated list of Sega Mega Drive / Genesis, Mega-CD / Sega CD, 32X development resources | reddit.com/r/retrogamedev | 2021-09-08

    No Megadev for Mega CD development? I'm hurt...

  • GitHub repo corange-rs

  • GitHub repo lua

    custom lua godot engine module (by Trey2k)

    Project mention: Lua engine module | reddit.com/r/godot | 2021-03-29

    I have added some pre-built binary's for windows and linux here

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 2021-12-07.

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 8,078
2 Pygame 4,126
3 flecs 2,172
4 netcode.io 2,109
5 ioq3 1,877
6 go-sdl2 1,658
7 Allegro 1,303
8 soloud 1,207
9 raylib-go 692
10 Azul3D 499
11 SSVOpenHexagon 475
12 gideros 469
13 apecs 315
14 etlegacy 310
15 nbnet 171
16 OpenHoW 154
17 is-Engine 130
18 darkplaces 128
19 glop 77
20 q3lite 70
21 megadev 49
22 corange-rs 41
23 lua 26
Find remote jobs at our new job board 99remotejobs.com. There are 32 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives