kosmos
kosmos copied to clipboard
A bullet-hell shooter game made in C99 for my college project.
Kosmos
A bullet-hell shooter game made in C99 for my college project.
Building
Linux
Install requied libraries
Ubuntu
sudo apt install libasound2-dev mesa-common-dev libx11-dev libxrandr-dev libxi-dev xorg-dev libgl1-mesa-dev libglu1-mesa-dev
Compiling
mkdir build
cd build
cmake ..
cmake --build .
./kosmos
Cross Compiling to Window
mkdir build
cd build
cmake -DCMAKE_TOOLCHAIN_FILE=../mingw.cmake ..
make
wine kosmos.exe
Window
Install cmake and a C compiler if you haven't already.
With MinGW
mkdir build
cd build
cmake .. -G "MinGW"
cmake --build .
# kosmos.exe should appear in the build folder
MacOS
mkdir build
cd build
cmake ..
cmake --build .
./kosmos