https://github.com/gr3yknigh1/gfs
(Work in progress) Game From Scratch in C and WinAPI
https://github.com/gr3yknigh1/gfs
c win32
Last synced: over 1 year ago
JSON representation
(Work in progress) Game From Scratch in C and WinAPI
- Host: GitHub
- URL: https://github.com/gr3yknigh1/gfs
- Owner: gr3yknigh1
- Created: 2024-04-21T18:50:07.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-11-09T17:22:05.000Z (over 1 year ago)
- Last Synced: 2025-02-07T13:18:12.232Z (over 1 year ago)
- Topics: c, win32
- Language: C
- Homepage:
- Size: 7.55 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GFS
> Game From Scratch
I am making this project during me watching
[Handmade Hero series](https://handmadehero.org/).
It's contain several demos. They use same library `gfs`, which places in `code/gfs`. All demos places inside `demos/`.
## Screenshots (badcraft Demo)




## How to build?
If you want compile only one demo, comment-out all unwanted demos in root `CMakeLists.txt`.
### Requirements
It is mainly supported on `Windows` OS. In fact, `Linux` (Wayland / Pipewire) will not be the target platform for this project.
Tools:
* Conan: version 2.x.
* CMake: version 3.20 (maybe it will build on older version, but I am lazy to check).
* MSVC: (Likewise, lazy to check which minimal version of the compiler you need).
DLLs (the should be on every Windows machine these days by default, since Windows XP):
* `Xinput.dll`
* `DirectSound.dll`
### Steps
1. Run build script.
```cmd
cmd /c build.bat
```
2. Done.