Solutions like Dependabot or Renovate update but don't merge dependencies. You need to do it manually while it could be fully automated! Add a Merge Queue to your workflow and stop caring about PR management & merging. Try Mergify for free. Learn more →
Top 23 C Game development Projects
-
How does it work for C/C++? I looked around and it seems there are no official package managers. Raylib's official website points us to these examples but they're just a file, obviously just a file on a separate folder wouldn't work, would it? I've gone through these steps to compile raylib on my system, but how do I start a new project? Do I just run cmake on this file and it knows where raylib is and compiles the binary correctly?
-
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.
pygame never used it, but its popular python library, heard good things about it. i suggest if you are not trying to make resource intensive game, and you want to learn python which is a really valuable skill.
-
Mergify
Updating dependencies is time-consuming.. Solutions like Dependabot or Renovate update but don't merge dependencies. You need to do it manually while it could be fully automated! Add a Merge Queue to your workflow and stop caring about PR management & merging. Try Mergify for free.
-
Project mention: A Curated List of Game Network Programming Resources | news.ycombinator.com | 2023-05-22
-
Since we wanted a common game simulation that would be on both the server and the client we looked into a few libraries that would fit our ECS needs. It was decided we were going to write this common part of our game in C++, but rust was considered. C++ was a familiar language for us so naturally EnTT and flecs came up right away. I had used EnTT before, writing some small demo projects, so our choice was made based on familiarity. In order to integrate with Unity we created a small C interface to communicate between our simulation code and Unity’s C#. Here’s close to what it looked like. I removed some parts for brevity sake.
-
yojimbo/ netcode/ reliable, all developped by Glenn Fidler, author of GafferOnGames
-
-
-
SonarQube
Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.
-
-
Two game frameworks in the making: https://github.com/michal-z/zig-gamedev & https://github.com/hexops/mach
-
Project mention: Self taught developers, what did you know when you started? | /r/learnprogramming | 2023-05-18
C, C++, Allegro, SDL, Some rudimentary SQL, Some basic BSD Sockets. But I also took some time to learn 3D math, trigonometry and linear algebra so I can include some basic 3D examples in my portfolio. I was later told that it was the 3D math that made the difference because if I (barely finished HS) can do that I can probably learn everything they give me.
-
-
-
space-shooter.c
A cross-platform, top-down 2D space shooter written in C using only platform libraries.
-
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!
-
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 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-08Then, download this and place the files inside the game directory (C:\Program Files\Maxis\SimCity Classic).
-
-
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-29Open Hexagon, re-implementation of Super Hexagon
-
-
yojimbo/ netcode/ reliable, all developped by Glenn Fidler, author of GafferOnGames
-
Not sure if Mozilla Hubs federates, but as already said, ThirdRoom is Matrix VRchat thing.
-
-
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.
You could try Dirty Bomb or the classic Wolfenstein: Enemy Territory for some class-based objective shooters. Both are free to play.
-
InfluxDB
Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.
C Game development related posts
- I'm new to C/C++, how do I start a new raylib project?
- LÖVE: a framework to make 2D games in Lua
- I want to make a game but I'm scared...
- Ask HN: Favorite Game Engine?
- Ask HN: What is your workflow for developing with WASM?
- Trying raylib, first time user, what should I know?
- Chunking system in raylib
-
A note from our sponsor - Mergify
blog.mergify.com | 24 Sep 2023
Index
What are some of the best open-source Game development projects in C? This list will help you:
Project | Stars | |
---|---|---|
1 | raylib | 15,303 |
2 | Pygame | 6,331 |
3 | GameNetworkingResources | 6,134 |
4 | flecs | 4,727 |
5 | netcode.io | 2,304 |
6 | ioq3 | 2,189 |
7 | go-sdl2 | 2,028 |
8 | Open-Golf | 1,686 |
9 | zig-gamedev | 1,651 |
10 | Allegro | 1,651 |
11 | soloud | 1,544 |
12 | SGDK | 1,504 |
13 | space-shooter.c | 1,304 |
14 | raylib-go | 1,067 |
15 | HandmadeMath | 1,023 |
16 | dxwrapper | 938 |
17 | EsenthelEngine | 642 |
18 | SSVOpenHexagon | 586 |
19 | Azul3D | 583 |
20 | reliable | 545 |
21 | thirdroom | 529 |
22 | gideros | 522 |
23 | etlegacy | 471 |