space-shooter.c
Craft
space-shooter.c | Craft | |
---|---|---|
19 | 9 | |
1,317 | 10,197 | |
- | - | |
0.0 | 0.0 | |
over 1 year ago | about 1 month ago | |
C | C | |
MIT License | 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
Craft
- A simple Minecraft clone written in C using modern OpenGL
- Coding a Minecraft clone in pure C
-
What lesser known but amazing functionality of CHATGPT are you willing to share?
Here’s the original code: https://github.com/fogleman/Craft/blob/master/src/world.c I don’t really have an “after” because I edited it a lot and didn’t backup the original, but try it yourself and you should get similar results. I also told it to make the variable names better.
-
Are C programs only used for terminal based interaction?
When this subject comes up, I always like to link to one of the many Minecraft clones written in C. https://github.com/fogleman/Craft
- Is C only in terminal?
- There is framework for everything.
- are there tutorials for code organization for games in C?
-
I just learned java, want to make a simple minecraft clone
Not java but https://github.com/fogleman/Craft will give you an idea of what has to be done.
- Resources to learn voxel based game development?
What are some alternatives?
OpenHSP - Hot Soup Processor (HSP3)
minecraft-pi-reborn - Official Mirror Of @TheBrokenRail's Minecraft: Pi Edition: Reborn.
roguelike.h - Header only roguelike rendering library.
doomgeneric - Easily portable doom
OpenTyrian - Open Tyrian source code
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.
Open-Golf - A cross-platform minigolf game written in C.
BetterSpades - BetterSpades, an Ace of Spades client targeted at low end systems (GL/ES 1.1). Runs on your grandmother's rig!
simple-opengl-loader - An extensible, cross-platform, single-header C/C++ OpenGL loader library.
qb64 - BASIC for the modern era.
duke3d - The icculus.org port of Duke Nukem 3D.
SDLPoP - An open-source port of Prince of Persia, based on the disassembly of the DOS version.