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: Zig! Can you C? | dev.to | 2024-04-04

    Fetch Packages... raylib... ./ray_test_zig/build.zig.zon:7:20: error: url field is missing corresponding hash field .url = "https://github.com/raysan5/raylib/archive/refs/tags/5.0.tar.gz", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ note: expected .hash = "1220c28847ca8e8756734ae84355802b764c9d9cf4de057dbc6fc2b15c56e726f27b",

  • 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: Not only Unity... | /r/opensourcegames | 2023-11-11
  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • GameNetworkingResources

    A Curated List of Multiplayer Game Network Programming Resources

  • Project mention: A Curated List of Game Network Programming Resources | news.ycombinator.com | 2023-05-22
  • flecs

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

  • Project mention: ECS, Finally | news.ycombinator.com | 2023-12-30

    I've also been enjoying building My First Game™ in Bevy using ECS. The community around Bevy really shines, but Flecs (https://github.com/SanderMertens/flecs) is arguably a more mature, open-source ECS implementation. You don't get to write in Rust, though, which makes it less cool in my book :)

    I'm not very proud of the code I've written because I've found writing a game to be much more confusing than building websites + backends, but, as the author notes, it certainly feels more elegant than OOP or globals given the context.

    I'm building for WASM and Bevy's parallelism isn't supported in that context (yet? https://github.com/bevyengine/bevy/issues/4078), so the performance wins are just so-so. Sharing a thread with UI rendering suuucks.

    If anyone wants to browse some code or ask questions, feel free! https://github.com/MeoMix/symbiants

  • netcode.io

    A protocol for secure client/server connections over UDP

  • ioq3

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

  • go-sdl2

    SDL2 binding for Go

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • zig-gamedev

    Main monorepo for @zig-gamedev libs and example applications

  • Allegro

    The official Allegro 5 git repository. Pull requests welcome!

  • Project mention: Not only Unity... | /r/opensourcegames | 2023-11-11

    Allegro (zlib/plain C) https://github.com/liballeg/allegro5

  • Open-Golf

    A cross-platform minigolf game written in C.

  • Project mention: Advice for bigger c projects? | /r/C_Programming | 2023-05-30
  • soloud

    Free, easy, portable audio engine for games

  • SGDK

    SGDK - A free and open development kit for the Sega Mega Drive

  • Project mention: iHaveNoReasonToDoThisOtherThanBraggingRights | /r/ProgrammerHumor | 2023-06-21
  • space-shooter.c

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

  • Project mention: Beginner, intermediate, and advanced c programming projects | /r/C_Programming | 2023-12-09

    You can do something like this, but way less polished and stick to one platform: https://github.com/tsherif/space-shooter.c/tree/master

  • raylib-go

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

  • Project mention: Raylib is a simple and easy-to-use library to enjoy videogames programming | news.ycombinator.com | 2023-07-04

    Raylib is awesome! It reminds me of the old school days of using BlitzBASIC to get things drawn on screen because it's easy and so much fun. This is how programming used to be, no fuss, just easy to use libraries.

    I currently use Raylib with Go and the Go bindings[1] to create screensavers for Linux and I'm really happy with the results.

    I even use it at work to draw interactive infrastructure diagrams that animate dependencies, allow controlling start-up etc. It's really flexible and simpler than anything else I've found to get stuff on-screen. I love it!

    [1]: https://github.com/gen2brain/raylib-go

  • HandmadeMath

    A simple math library for games and computer graphics. Compatible with both C and C++. Public domain and easy to modify.

  • Project mention: Trouble calculating projection matrix | /r/GraphicsProgramming | 2023-06-20

    If you don't like using heavy libraries such as glm, I recommend looking at HandmadeMath. It is a single file c/c++ math library for graphics programming. You can just drop it into your project. It's lightweight and will save you a lot of time implementing the math yourself. In a lot of cases, it actually uses optimized solutions to save computation time (same with the glm).

  • 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: SimCity Classic - Guide to Installation (Windows / DOSBox) | /r/SimCity | 2023-07-08

    Then, download this and place the files inside the game directory (C:\Program Files\Maxis\SimCity Classic).

  • daScript

    daScript - high-performance statically strong typed scripting language

  • Project mention: DaScript: Fast and Versatile Scripting Language | news.ycombinator.com | 2023-10-27
  • keeperfx

    Open source remake and Fan Expansion of Dungeon Keeper.

  • Project mention: Lessons from Open-Source Game Projects | dev.to | 2024-04-10

    Keeper FX - Dungeon Keeper clone. C

  • pygame-ce

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

  • Project mention: How can I optimize projects made with Pygame? | /r/pygame | 2023-07-01

    See our release notes for full information about what's new: https://github.com/pygame-community/pygame-ce/releases

  • 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: Should there be an open-source FTL clone? Can one even exist? | /r/ftlgame | 2023-08-29

    Open Hexagon, re-implementation of Super Hexagon

  • Azul3D

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

  • reliable

    A packet acknowledgement system for UDP

  • thirdroom

    Open, decentralised, immersive worlds built on Matrix

  • Project mention: Croquet: Live, network-transparent 3D gaming | news.ycombinator.com | 2023-12-26
  • SaaSHub

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

    SaaSHub logo
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 Game development related posts

Index

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

Project Stars
1 raylib 18,791
2 Pygame 6,937
3 GameNetworkingResources 6,758
4 flecs 5,496
5 netcode.io 2,371
6 ioq3 2,301
7 go-sdl2 2,126
8 zig-gamedev 1,976
9 Allegro 1,759
10 Open-Golf 1,750
11 soloud 1,644
12 SGDK 1,641
13 space-shooter.c 1,317
14 raylib-go 1,304
15 HandmadeMath 1,137
16 dxwrapper 1,111
17 daScript 793
18 keeperfx 681
19 pygame-ce 669
20 SSVOpenHexagon 605
21 Azul3D 598
22 reliable 571
23 thirdroom 566

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