No description
Find a file
2023-01-27 23:27:45 +01:00
src updated switch port (still broken) 2023-01-27 23:27:45 +01:00
.gitignore updated switch port (still broken) 2023-01-27 23:27:45 +01:00
create-makefile.sh replaced pragma once with include guards 2023-01-27 22:40:49 +01:00
LICENSE Changed license to GPL version 2 2022-07-23 13:29:24 +02:00
Makefile.nx updated readme 2023-01-27 22:43:52 +01:00
README.md updated readme 2023-01-27 22:43:52 +01:00

RECTANGLE DESCEND

To get the data folder you will need to donwload the game from my website.

Build instructions

On Linux, install make, sdl2, sdl2 image and sdl2 mixer. Then run ./create-makefile.sh and make in the root directory of the repo.

To build the Windows version on Linux, install mingw-w64-gcc. Download sdl2, sdl2 image and sdl2 mixer for mingw and put them in the root of this repo.

Then run the following commands:

x86_64-w64-mingw32-gcc -static-libgcc -c ./src/*.c -ISDL2-2.0.16/x86_64-w64-mingw32/include/SDL2/ -ISDL2_image-2.0.5/x86_64-w64-mingw32/include/SDL2/ -ISDL2_mixer-2.0.4/x86_64-w64-mingw32/include/SDL2/ -D__WIN32__
x86_64-w64-mingw32-gcc -static-libgcc -o ./rectangle_descend.exe *.o -LSDL2-2.0.16/x86_64-w64-mingw32/lib/ -LSDL2_image-2.0.5/x86_64-w64-mingw32/lib/ -LSDL2_mixer-2.0.4/x86_64-w64-mingw32/lib/ -lSDL2main -lSDL2 -lSDL2_image -lSDL2_mixer -lmingw32 -mwindows -lm -ldinput8 -ldxguid -ldxerr8 -luser32 -lgdi32 -lwinmm -limm32 -lole32 -loleaut32 -lshell32 -lversion -luuid