C Game development

Open-source C projects categorized as Game development

Top 23 C Game development Projects

Game development
  • raylib

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

    Project mention: Exploring Raylib and Open Source | dev.to | 2024-09-06

    Do like playing video games? I know I do; in fact, I enjoy it so much that I learned how to make video games. So, for a recent course Iā€™m taking in school for open-source development I decided to focus on Raylib. Raylib describes itself as ā€œa simple and easy-to-use library to enjoy videogames programming.ā€ Written in pure c with bindings for almost any other programming language such as c++, Rust, and Python. It is a flexible tool which can work in almost any environment.

  • InfluxDB

    Purpose built for real-time analytics at any scale. InfluxDB Platform is powered by columnar analytics, optimized for cost-efficient storage, and built with open data standards.

    InfluxDB logo
  • 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: A Python Library for Creating Games and Multimedia Apps | news.ycombinator.com | 2024-09-02
  • GameNetworkingResources

    A Curated List of Multiplayer Game Network Programming Resources

  • flecs

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

    Project mention: Flecs is a fast and lightweight Entity Component System that lets you build game | news.ycombinator.com | 2024-09-09
  • 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

    Project mention: SimCity in the web browser using WebAssembly and OpenGL | news.ycombinator.com | 2024-06-15

    Thanks! This is loading just the demo assets, but I got the Emscripten support merged into upstream ioquake3 so you can check out the code, build it yourself, and with the right asset files you can play the full game, Team Arena, mods, or whatever.

    https://github.com/ioquake/ioq3/pull/658

  • go-sdl2

    SDL2 binding for Go

  • SaaSHub

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

    SaaSHub logo
  • zig-gamedev

    Development repo for @zig-gamedev libs and sample 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.

  • soloud

    Free, easy, portable audio engine for games

  • SGDK

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

    Project mention: FC8 ā€“ Faster 68K Decompression (2016) | news.ycombinator.com | 2024-04-29

    I'm working on a game for Amiga (another 68k-based platform) and settled on ZX0 to decompress assets on the fly: https://github.com/einar-saukas/ZX0

    I was originally using LZ4, but I switched to ZX0 after learning that it can do in-place decompression, which means I don't have to allocate separate memory for the compressed data. I'm very happy with the compression ratio, and decompression of large assets (~48kb) only takes a few frames on a 7MHz 68000.

    Also of note is LZ4W, included in Sega Genesis Dev Kit (and discussed in the comments section of OP's article), a variant of LZ4 that only uses word-aligned operations. That makes it much faster on the 68000, which can struggle to efficiently handle 8-bit data. More info here: https://github.com/Stephane-D/SGDK/blob/master/bin/lz4w.txt

  • raylib-go

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

  • pocketpy

    Portable Python 3.x Interpreter in Modern C

  • 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

  • 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.

  • HandmadeMath

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

  • daScript

    daslang - high-performance statically strong typed scripting language

    Project mention: DaScript renamed to Daslang ā€“ high-performance statically typed script language | news.ycombinator.com | 2024-09-03
  • pygame-ce

    šŸšŸŽ® pygame - Community Edition is a FOSS Python library for multimedia applications (like games). Built on top of the excellent SDL library.

  • 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

  • raylib-rs

    Rust bindings for raylib

  • 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.

  • Azul3D

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

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

Log in or Post with

C Game development related posts

  • DaScript renamed to Daslang ā€“ high-performance statically typed script language

    1 project | news.ycombinator.com | 3 Sep 2024
  • Pygame: A Python Library for Creating Games and Multimedia Apps

    1 project | news.ycombinator.com | 2 Sep 2024
  • SimCity in the web browser using WebAssembly and OpenGL

    2 projects | news.ycombinator.com | 15 Jun 2024
  • KallistiOS: Independent SDK for the Sega Dreamcast

    1 project | news.ycombinator.com | 8 Jun 2024
  • KallistiOS: Homebrew SDK/pseudo-operating system for the Sega Dreamcast

    1 project | news.ycombinator.com | 7 Jun 2024
  • Zig! Can you C?

    1 project | dev.to | 4 Apr 2024
  • Ask HN: Do you know any open source (2D or 3D) asset libraries?

    1 project | news.ycombinator.com | 27 Feb 2024
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 14 Sep 2024
    InfluxDB Platform is powered by columnar analytics, optimized for cost-efficient storage, and built with open data standards. Learn more ā†’

Index

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

Project Stars
1 raylib 21,532
2 Pygame 7,318
3 GameNetworkingResources 7,228
4 flecs 6,230
5 netcode.io 2,412
6 ioq3 2,371
7 go-sdl2 2,198
8 zig-gamedev 2,199
9 Allegro 1,839
10 Open-Golf 1,787
11 soloud 1,749
12 SGDK 1,733
13 raylib-go 1,542
14 pocketpy 1,522
15 space-shooter.c 1,333
16 dxwrapper 1,218
17 HandmadeMath 1,203
18 daScript 878
19 pygame-ce 822
20 keeperfx 744
21 raylib-rs 739
22 SSVOpenHexagon 609
23 Azul3D 607

Sponsored
Purpose built for real-time analytics at any scale.
InfluxDB Platform is powered by columnar analytics, optimized for cost-efficient storage, and built with open data standards.
www.influxdata.com

Did you konow that C is
the 7th most popular programming language
based on number of metions?