space-shooter.c
A cross-platform, top-down 2D space shooter written in C using only platform libraries. (by tsherif)
asteroids-demo
Asteroids Clone for Windows (by skeeto)
space-shooter.c | asteroids-demo | |
---|---|---|
19 | 5 | |
1,317 | 36 | |
- | - | |
0.0 | 0.0 | |
over 1 year ago | over 1 year ago | |
C | C | |
MIT License | The Unlicense |
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.
space-shooter.c
Posts with mentions or reviews of space-shooter.c.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-12-09.
-
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
asteroids-demo
Posts with mentions or reviews of asteroids-demo.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-07-22.
-
Intermediate level systems programming projects/textbook recommendations?
A game: you could learn how to use a cross-platform library like SDL or you could write your own from scratch. Here's a really simple example of a video game implemented for windows using nothing but native API calls. If you're using linux, it would be a fun exercise to convert that to X11 calls.
-
space-shooter.c: A cross-platform, top-down 2D space shooter written in C using only system libraries
I've never used WASAPI, just DirectSound (example), so I can't say much. I managed to get this WASAPI example to work with Mingw-w64 on Windows, though not Wine:
-
To program basic 1980's style 2D games, and basic non-native UI interface-forms (including positioning text on screen), which graphics library would you recommend?
Asteroids (guide to source)
-
Can I make games in C?
Source: https://github.com/skeeto/asteroids-demo Source guide/walkthrough: https://idle.nprescott.com/2021/understanding-asteroids.html
-
Use the win32 api to set window as live wallpaper
Example of creating an OpenGL window using Win32 directly: https://github.com/skeeto/asteroids-demo
What are some alternatives?
When comparing space-shooter.c and asteroids-demo you can also consider the following projects:
OpenHSP - Hot Soup Processor (HSP3)
olcPixelGameEngine - The official distribution of olcPixelGameEngine, a tool used in javidx9's YouTube videos and projects
roguelike.h - Header only roguelike rendering library.
raylib - A simple and easy-to-use library to enjoy videogames programming
OpenTyrian - Open Tyrian source code
raygui - A simple and easy-to-use immediate-mode gui library
Open-Golf - A cross-platform minigolf game written in C.
simple_raycasting - A simple raycasting "engine" written in c with raylib for graphics.
simple-opengl-loader - An extensible, cross-platform, single-header C/C++ OpenGL loader library.
rv_asm - RISC-V Assembler
duke3d - The icculus.org port of Duke Nukem 3D.
rv_sim - RISC-V Simulator
space-shooter.c vs OpenHSP
asteroids-demo vs olcPixelGameEngine
space-shooter.c vs roguelike.h
asteroids-demo vs raylib
space-shooter.c vs OpenTyrian
asteroids-demo vs raygui
space-shooter.c vs Open-Golf
asteroids-demo vs simple_raycasting
space-shooter.c vs simple-opengl-loader
asteroids-demo vs rv_asm
space-shooter.c vs duke3d
asteroids-demo vs rv_sim