space-shooter.c
Quake-2
space-shooter.c | Quake-2 | |
---|---|---|
19 | 12 | |
1,317 | 2,673 | |
- | 0.9% | |
0.0 | 0.0 | |
over 1 year ago | 5 months ago | |
C | C | |
MIT License | - |
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.
space-shooter.c
-
Beginner, intermediate, and advanced c programming projects
You can do something like this, but way less polished and stick to one platform: https://github.com/tsherif/space-shooter.c/tree/master
- Advice for bigger c projects?
- Good open source games written in C?
- are there tutorials for code organization for games in C?
-
Podcast: Modern C for Absolute Beginners
Otherwise study real, mature, well-written C programs. There's a wealth of techniques and tricks that aren't really documented anywhere, but rather picked up from others. Recommendations off the top of my head: BSD utilities, musl, and SQLite. Or simply study the source for your favorite C software. Also, something good posted here recently: The Architecture of space-shooter.c.
- The Architecture of Space-Shooter.c
- The Architecture of space-shooter.c
-
space-shooter.c: A cross-platform, top-down 2D space shooter written in C using only system libraries
I wrote space-shooter.c as a personal challenge to create a game from start to finish in C without using any 3rd-party libraries and wanted to share the source as a reference for anyone who's also interested in this type of game programming. The source code is heavily-commented, and I'm also writing a (still WIP) architecture guide that goes over the design decisions and details I learned about working with OS APIs in C: https://github.com/tsherif/space-shooter.c/blob/master/ARCHITECTURE.md
- Space-shooter.c: cross-platform, top-down 2D space shooter written in C
Quake-2
-
Source code for Quake 2 rerelease
> Glad to see the source code released!
In case you were unaware, this is actually the source code of the rerelease of Quake II. The source code for the original Quake II has been released for many years[0], along with many of the id Software classics[1].
[0]: https://github.com/id-Software/Quake-2
[1]: https://github.com/id-Software
- Someone dropped the source code for Far Cry 1 on archive.org
- I fully support this.
-
What are some source codes to have read, and why?
I really enjoyed reading the Quake and Quake 2 source code, personally https://github.com/id-Software/Quake-2
- Ask HN: What piece of code/codebase blew your mind when you saw it?
-
What would you have gotten once you licensed the Quake engine in the late 90s?
Does ID provide you the full source code (as it is now on Github)?
- What was the "old," way of doing 3D graphics before shaders? (fixed function pipelines and such)
- are there tutorials for code organization for games in C?
- Interesting Halo 3 script comments.
-
If you license your code as GPL, and Assets as CC-BY-NC-SA, what license do you then use for the compiled binary?
There's nothing stopping your from putting your code under GPL and your assets under copyright (no permissive license) or public domain. Code and assets don't need to be under the same license. See how id did it:
What are some alternatives?
OpenHSP - Hot Soup Processor (HSP3)
Quake-III-Arena - Quake III Arena GPL Source Release
roguelike.h - Header only roguelike rendering library.
DOOM-3-BFG - Doom 3 BFG Edition
OpenTyrian - Open Tyrian source code
AssetRipper - GUI Application to work with engine assets, asset bundles, and serialized files
Open-Golf - A cross-platform minigolf game written in C.
DOOM - DOOM Open Source Release
simple-opengl-loader - An extensible, cross-platform, single-header C/C++ OpenGL loader library.
permafrost-engine - An OpenGL RTS game engine written in C
duke3d - The icculus.org port of Duke Nukem 3D.
Quake - Quake GPL Source Release