I originally wrote this project near the end of seventh grade by following along with a game
engine tutorial
and then skimming through the SFML API docs to figure out how to do what I wanted to do.
I wanted to revisit it a couple times in the past couple years, but I originally setup the project
on macos and wrote it in Xcode, while not checking my project configs into git. Recently I've needed
to refresh my C++ for school so I found a good CMakeLists.txt
use, and started the cleanup.
— Generic
Note: remember you need cmake installed. First you will of course need to clone the repo:
git clone https://github.com/GenericConfluent/Shield.gitHere if you are on windows you may need to check out the original CMakeLists.txt I used to get
the project building, since I only included what was needed to get it working on my Linux environment.
Next cd into the project directory and run:
cmake .
makeThen while making sure you are in the project root directory you can run:
bin/shield
You need to be in the projet root since the binary attempts to load paths
relative to the pwd. (i.e. it looks for assets/... when trying to load
textures, fonts, and audio).