Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lunarwatcher/genesis
Colony sim, because why not?
https://github.com/lunarwatcher/genesis
colony-sim cpp game glfw3 i-have-no-idea-what-im-doing text-rendering-hype
Last synced: about 2 months ago
JSON representation
Colony sim, because why not?
- Host: GitHub
- URL: https://github.com/lunarwatcher/genesis
- Owner: LunarWatcher
- License: mit
- Created: 2021-03-04T21:49:04.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2023-12-08T02:13:20.000Z (about 1 year ago)
- Last Synced: 2023-12-08T03:24:49.838Z (about 1 year ago)
- Topics: colony-sim, cpp, game, glfw3, i-have-no-idea-what-im-doing, text-rendering-hype
- Language: C++
- Homepage:
- Size: 500 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Genesis
Colony sim, because why not?
## Requirements
### Compile requirements
* A compiler that supports C++20
### Runtime requirements
* GPU with support for OpenGL 4.6
* Operating system: Support guaranteed on Ubuntu 20.04 and derivatives based on 20.04 or later, and roughly maintained on Windows## Building
To install the python dependencies run
```bash
pip install -r requirements.txt
```Then run cmake
```bash
cmake -B build && cd build && make -j $(nproc)
```The binary should be in `build/bin/genesis`. Note that you can also run `make run` to run the binary.
on Windows, you have to run
```
cmake -B build
cd build
cmake --build . --config Release
```
Because MSVC is trash. The path to the binary is `build\bin\genesis.exe`Similar to Linux, there is a target called `run` that will run the game. However, because I don't use Windows enough to care, the command for doing so is left as an exercise to the reader. However, it's not required, and running the executable directly (as long as the correct working directory is set) will work fine.
Note that to run genesis, the current working directory _has_ to be the build folder. This is because I haven't figured out resource lookup paths, and I don't care enough to beeline it.