space-shooter.c
abuse
space-shooter.c | abuse | |
---|---|---|
19 | 4 | |
1,317 | 44 | |
- | - | |
0.0 | 0.0 | |
over 1 year ago | almost 9 years 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
abuse
-
Ask HN: Interesting source code/What's some interesting code you've read lately?
[2] https://github.com/videogamepreservation/abuse
-
Good open source games written in C?
Rogue, nethack, and Abuse come to mind, and then pretty much all the old id software stuff, along with the raven engine. These SDL tutorials might be of interest to you too, they are basically in the format of game sources with detailed explanations.
-
DOS games with source code
Abuse
- uLisp
What are some alternatives?
OpenHSP - Hot Soup Processor (HSP3)
llvm-cbe - resurrected LLVM "C Backend", with improvements
roguelike.h - Header only roguelike rendering library.
terra - Terra is a low-level system programming language that is embedded in and meta-programmed by the Lua programming language.
OpenTyrian - Open Tyrian source code
tinyscheme - TinyScheme is easy to learn and modify. It is structured like a meta-interpreter, only it is written in C.
Open-Golf - A cross-platform minigolf game written in C.
chocolate-doom-nx - Chocolate Doom for the Nintendo Switch
simple-opengl-loader - An extensible, cross-platform, single-header C/C++ OpenGL loader library.
ecl
duke3d - The icculus.org port of Duke Nukem 3D.
raylib-games - A collection of games made with raylib