permafrost-engine
An OpenGL RTS game engine written in C (by eduard-permyakov)
LearnC
Contains source code and resources for the Ebook Learn C Games Programming For Beginners Windows edition. (by David-H-Bolton)
Our great sponsors
permafrost-engine | LearnC | |
---|---|---|
10 | 5 | |
2,585 | 15 | |
- | - | |
9.5 | 0.0 | |
6 days ago | over 1 year ago | |
C | C | |
GNU General Public License v3.0 only | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
permafrost-engine
Posts with mentions or reviews of permafrost-engine.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-04-09.
- Permafrost engine – An OpenGL RTS game engine written in C
- are there tutorials for code organization for games in C?
-
Three Dynamic Array Implementations : Template-Macro, Void Pointer , Fat Pointer
Yea, bit annoying to do that, especially in a large project some vectors need to be static some need to be exposed in the API. In my mind the best solution is to add another macro parameter that lets the user change the function scope on the fly. See the vector used in the permafrost engine (a fellow redditor); when I first saw how he wrote his template macros it was a game changing trick.
-
100k members! To celebrate, what is your favorite piece of C code you have written?
I'm into my third year of writing my own RTS game engine in C. Complete with OpenGL rendering, group pathfinding of 1k+ entities, Python scripting, yada, yada, yada.
LearnC
Posts with mentions or reviews of LearnC.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-05-10.
-
Is C a decent programming language for small(ish) games?
I wrote an asteroids game in C with SDL2 about 2,200 lines. On Windows and Linux. It had aliens, ran at 60 fps, had pixel perfect collision detection and a high-score table. Source code is on GitHub( Windows version) and Linux. In both cases you need the chapter 48 files plus the graphics.zip and sounds.zip in the Windows folder.
-
Ast3r0id: My first ever game in C with SDL2
I too wrote an Asteroids game in C with SDL2. It's about 2,200 lines long and there's a Linux (compiled with clang) and Windows (compiled with Visual studio 2019) version. The Linux one The Windows one.
-
raylib vs SDL2 vs Allegro. Which would you recommend for simple games?
I wrote asteroids in C + SDL2 about 2,000 lines of code and that included high score table, and high speed pixel perfect collision detection. The code is here: Windows C source code (Visual Studio), or Linux C Source code (VS Code + clang). The chapter 48 has the full version; the other chapters are steps.
-
100k members! To celebrate, what is your favorite piece of C code you have written?
An asteroids game. 2,200 lines of C (with SDL2). Best bit is the collision detection which I devised; it's pixel perfect and runs at 60 fps. Windows source code is here (use the asteroids_ch48.zip file) https://github.com/David-H-Bolton/LearnC and Linux https://github.com/David-H-Bolton/LearnCOnLinux
What are some alternatives?
When comparing permafrost-engine and LearnC you can also consider the following projects:
qb64 - BASIC for the modern era.
mark_vi - mark_v_1099_revision_4_source
smenu - smenu started as a lightweight and flexible terminal menu generator, but quickly evolved into a powerful and versatile CLI selection tool for interactive or scripting use.
no - Source code for the no app
Quake-2 - Quake 2 GPL Source Release
tilck - A Tiny Linux-Compatible Kernel
openTri - openTRI is a game engine for the Playstation Portable (PSP)
instead - INSTEAD - Simple Text Adventure Interpreter
ioq3 - The ioquake3 community effort to continue supporting/developing id's Quake III Arena
Quake-III-Arena - Quake III Arena GPL Source Release
Craft - A simple Minecraft clone written in C using modern OpenGL (shaders).