Project from 42cursus projects at 1337
This project is a small 2D game with 42schools library MinilibX
.
It's built to make you work with textures, sprites and some very basic graphical elements.
This project works only on macOS because of the library MinilibX
that i used,
and you need to set up this library first on your mac (GO TO 42 DOC).
git clone [email protected]:ael-bekk/so_long.git
cd so_long
make
./so_long [path to the map.ber]
"[path to the map.ber] : (for example : maps/map.ber or any map from the maps dir or you can just create your own map)"
The player’s goal is to collect all collectibles present on the map then escape with minimal movement.
KEYBOARD | ACTION |
---|---|
W , ↑ |
Move up |
S , ↓ |
Move down |
A , ← |
Move left |
D , → |
Move right |
return ⏎ |
Start game |
click on th restart icon |
Retry game |
click on th pause icon |
pause game |
click on th setting icon and choose what you want |
change the keys from the setting icon |
ESC ⎋ |
Close the game window |
ESP |
attack on enemys |
This project is licensed under the MIT - see the LICENSE file for details.