ael-bekk / so-long42

so_long is a graphic project from 42 network , this project works only on macOS because of the library (mlx.h) that i used , and you need to set up this library first on your mac (GO TO 42 DOC).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

42 - so_long

Project from 42cursus projects at 1337

GitHub code size in bytes GitHub top language GitHub last commit

jisokang's so_long Score

Screenshot

Description :

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).

Preview :

Screenshot

How to run so_long

git clone git@github.com: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)"

HOW TO PLAY

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

📝 License

This project is licensed under the MIT - see the LICENSE file for details.


About

so_long is a graphic project from 42 network , this project works only on macOS because of the library (mlx.h) that i used , and you need to set up this library first on your mac (GO TO 42 DOC).

License:MIT License


Languages

Language:C 97.5%Language:Makefile 2.5%