- Install Git Downloads
- Install MinGW toolchain Downloads
- Text editor of your choice
- Shell of your choice
Directory structure after the setup
C:.
├───build
├───include
│ └───raylib
├───lib
└───src
- Add to $PATH
C:\dev\tools\mingw64\bin
-
Get Raylib Download Library & Header files
-
Clone the repository
git clone https://github.com/ArmyaAli/2d-platformer-game.git
cd 2d-platformer-game
- Run make setup
mingw32-make setup
- Go to the raylib distribution pkg you downloaded in step 2.
mv lib\raylib.a 2d-platformer-game\lib
mv include\*.h 2d-platformer-game\include\raylib
- Compile and run the program
mingw32-make