C Gamedev

Open-source C projects categorized as Gamedev

Top 23 C Gamedev 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

  • TIC-80

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

  • Project mention: Picotron Is a Fantasy Workstation | news.ycombinator.com | 2024-03-21
  • zig-gamedev

    Main monorepo for @zig-gamedev libs and example applications

  • Open-Golf

    A cross-platform minigolf game written in C.

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

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

    SaaSHub logo
  • lovr

    Lua Virtual Reality Framework

  • Project mention: Ask HN: Released games built on FOSS engines? | news.ycombinator.com | 2023-10-17
  • glfw

    Go bindings for GLFW 3 (by go-gl)

  • Project mention: Understand how to use C libraries in Go, with CGO | dev.to | 2023-10-09

    And this is how https://github.com/go-gst/go-gst, https://github.com/go-gl/glfw, and even https://fyne.io/ are using system libraries to propose a lot of functionalities.

  • 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

  • librg

    🚀 Making multi-player gamedev simpler since 2017

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

  • IconFontCppHeaders

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

  • foolrenderer

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

  • ENet-CSharp

    Reliable UDP networking library

  • 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

  • bake

    Bake, A build system for building, testing and running C & C++ projects (by SanderMertens)

  • dethrace

    Reverse engineering the 1997 game "Carmageddon"

  • Project mention: GitHub - dethrace-labs/dethrace: Reverse engineering the 1997 game "Carmageddon" | /r/Games | 2023-05-08
  • 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

  • exengine

    A C99 3D game engine

  • raylib-games

    A collection of games made with raylib

  • dome

    A lightweight game development environment where games can be written in Wren

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

    CGL (C Game Library) is a multipurpose library mainly for recreational coding / demo scenes / prototyping / small games / experimentation.

  • Project mention: cgl-rs: Rust OpenGL base library + creative coding + gamedev utilities | /r/opengl | 2023-08-05
  • 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 Gamedev related posts

  • Can't make my mind about which engine to use

    2 projects | /r/gamedev | 10 Dec 2023
  • Publishing my first game using pico-8

    3 projects | news.ycombinator.com | 1 Oct 2023
  • I want to make a game but I'm scared...

    3 projects | /r/gamedev | 15 Sep 2023
  • Ask HN: Favorite Game Engine?

    9 projects | news.ycombinator.com | 12 Sep 2023
  • LÖVE: a framework to make 2D games in Lua

    26 projects | news.ycombinator.com | 13 Sep 2023
  • SimCity Classic - Guide to Installation (Windows / DOSBox)

    3 projects | /r/SimCity | 8 Jul 2023
  • Procedural Tree Generator - Free Pixel Art Tool

    1 project | /r/proceduralgeneration | 1 Jul 2023
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 7 May 2024
    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. Learn more →

Index

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

Project Stars
1 raylib 19,126
2 Pygame 6,994
3 GameNetworkingResources 6,812
4 flecs 5,530
5 TIC-80 4,777
6 zig-gamedev 1,980
7 Open-Golf 1,755
8 lovr 1,654
9 glfw 1,514
10 space-shooter.c 1,317
11 librg 1,223
12 dxwrapper 1,111
13 IconFontCppHeaders 1,106
14 foolrenderer 941
15 ENet-CSharp 762
16 pygame-ce 678
17 bake 648
18 dethrace 627
19 SSVOpenHexagon 605
20 exengine 531
21 raylib-games 477
22 dome 466
23 cgl 387

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