Skip to content

siddharthroy12/kosmos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kosmos

A bullet-hell shooter game made in C99 for my college project.

Gameplay

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