C Gamedev

Open-source C projects categorized as Gamedev

Top 23 C Gamedev Projects

  1. raylib

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

    Project mention: Got into Jai closed beta on March 2026 | news.ycombinator.com | 2026-05-07
  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. bgfx

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

    Project mention: Minecraft Java is switching from OpenGL to Vulkan | news.ycombinator.com | 2026-02-18
  4. 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: Cloning a 90s DOS Game with AI | dev.to | 2026-02-08

    I initially considered Pygame, but a quick discussion with ChatGPT convinced me that Godot would be a better, more portable option for my case.

  5. MultiplayerNetworkingResources

    A curated list of Multiplayer Game Network Programming Resources

    Project mention: Multiplayer Networking Resources | news.ycombinator.com | 2026-07-02
  6. flecs

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

  7. TIC-80

    TIC-80 is a fantasy computer for making, playing and sharing tiny games.

    Project mention: Mini Micro Fantasy Computer | news.ycombinator.com | 2026-05-27
  8. lovr

    Lua Virtual Reality Framework

    Project mention: The Rise of Hybrid PHP: Blending PHP with Go and Rust | news.ycombinator.com | 2025-08-30

    I recognize it as a more or less universal optimization process. Everything important ends up in silicon, if it remains important long enough. And there are several stages of that.

    Like you, a part of me years for SGML and The Semantic Web, and where it makes sense in Alumina I am using RESTish APIs.

    But I do not pine for Javascript. Language or frameworks. 20 years has been enough. And I do not believe that some of the 4mb minified obfuscated js downloads from a CDN I've seen are in any way more accessible than a WASM binary of similar size. At least there is advanced tooling for the WASM representation. Folks who want you to read their code will still make it easy, and folks who don't won't.

    To your point about learning, WASM makes some really incredible systems like https://lovr.org/ available in the browser, which I would have loved to have as a kid, but which also aren't javascript. It's related to Turing completeness somehow, once you let a little software into your structured document, it all wants in. Or maybe it's "if you give a mouse a cookie"?

    I understand what you're saying about discoverability. But the developer in me really likes having a relatively simple binary interpreter to target for network-delivered cross-platform binary applications. My hope is that offering such a juicy target to the folks who want to develop applications (including myself) gets them out of all the semantic document features, allowing both sets of code to get simpler and more focused.

  9. dxwrapper

    Fixes compatibility issues with older games running on Windows 10/11 by wrapping DirectX dlls. Also allows loading custom libraries with the file extension .asi into game processes.

    Project mention: Nearly 90% of Windows Games Now Run on Linux | news.ycombinator.com | 2025-10-28

    >I only wish Wine also allowed me to zoom 2x or 3x, but this is where Gamescope comes in

    Also possible using dxwrapper (for DirectX 7-9 games):

    https://github.com/elishacloud/dxwrapper

    Similarly to dxvk, you drop a few DLLs into the game directory then edit one config file. No need to use a dedicated program.

  10. Open-Golf

    A cross-platform minigolf game written in C.

  11. orx

    ORX: Data-Driven Game Engine

  12. glfw

    Go bindings for GLFW 3 (by go-gl)

  13. pygame-ce

    🐍🎮 pygame - Community Edition is a FOSS Python library for multimedia applications (like games). Built on top of the excellent SDL library.

  14. librg

    🚀 Making multi-player gamedev simpler since 2017

  15. kohi

    A game engine made as part of the Kohi Game Engine series on YouTube (and Twitch!), where we make a game engine from the ground up using C and Vulkan.

  16. IconFontCppHeaders

    C and C++ headers, C# and Python classes, Rust files and Go package for icon fonts Font Awesome, Fork Awesome, Google Material Design icons and symbols, Pictogrammers Material Design icons, Kenney game icons, Fontaudio, Codicons and Lucide.

  17. space-shooter.c

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

  18. Vortice.Windows

    .NET bindings for Direct3D12, Direct3D11, WIC, Direct2D1, XInput, XAudio, X3DAudio, DXC, Direct3D9 and DirectInput.

  19. libtcod

    A collection of tools and algorithms for developing traditional roguelikes. Such as field-of-view, pathfinding, and a tile-based terminal emulator.

  20. gigi

    A framework for rapid prototyping and development of real-time rendering techniques.

  21. dethrace

    Reverse engineering the 1997 game "Carmageddon"

  22. foolrenderer

    A tiny software renderer implemented from scratch without the use of graphics API, used to understand how GPUs work.

  23. raylib-rs

    Rust bindings for raylib

  24. ENet-CSharp

    Reliable UDP networking library

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 Gamedev discussion

Log in or Post with

C Gamedev related posts

Index

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

# Project Stars
1 raylib 33,758
2 bgfx 17,249
3 Pygame 8,841
4 MultiplayerNetworkingResources 8,570
5 flecs 8,496
6 TIC-80 6,046
7 lovr 2,568
8 dxwrapper 1,925
9 Open-Golf 1,923
10 orx 1,743
11 glfw 1,686
12 pygame-ce 1,572
13 librg 1,486
14 kohi 1,471
15 IconFontCppHeaders 1,471
16 space-shooter.c 1,373
17 Vortice.Windows 1,223
18 libtcod 1,198
19 gigi 1,191
20 dethrace 1,156
21 foolrenderer 1,135
22 raylib-rs 925
23 ENet-CSharp 905

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

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