Skip to content

How to build the game on Windows starting from nothing

Brandon Qi edited this page Oct 20, 2021 · 1 revision

How to build the game on Windows starting from nothing

Install git

Go here, download the right one (the "Click here to download manually" should work), and install it.

Install CMake

Go here, download the right one (probably the "x86_64.msi" one), and install it. You probably need to reboot your computer at this point (because Windows doesn't update your path until you reboot yada yada).

Clone the repo

Launch git bash from the start menu. Type cd ~/Doc and press Tab. It should auto-complete to cd ~/Documents. Wow magic. Welcome to the wonderful world of command line. Press enter. Then, run git clone --recurse-submodules https://github.com/dhs-gamedev/game-2021. Then type cd game-2021. Then type ./scripts/build.bat (you might need to install Visual Studio and Visual Studio build tools). Then run the game with ./build/Release/game21.exe.