This project is a very small 2D game. Its purpose is to make you work with textures, sprites, and some other very basic gameplay elements.
Video showing the game: https://youtu.be/GG_RffnJ-9A
![gameImage](https://private-user-images.githubusercontent.com/21156058/245845457-eb5b36e7-1b97-4c00-8b05-8c77b104e46a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjEyNzEyODIsIm5iZiI6MTcyMTI3MDk4MiwicGF0aCI6Ii8yMTE1NjA1OC8yNDU4NDU0NTctZWI1YjM2ZTctMWI5Ny00YzAwLThiMDUtOGM3N2IxMDRlNDZhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzE4VDAyNDk0MlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWMzOTYwOWU2ZWFiOTAyOWU0MGY2MGE4YjY0MDE1ZTU0MjJjZmE4NDFhMGYyOWRiOTBmYzc1ZWFhMmUyOTY2OTkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.XusfoS_6GgKI3eYq5lQ1agB4E930BMPiLz3QGhg4lfs)
All the sprites used for this project were made by the wonderful @Riesco_144
✨
Check him out on Twitter: https://twitter.com/Riesco_144
git clone https://github.com/magnitopic/so_long.git
cd so_long
git submodule init
git submodule update
Make sure you have
MiniLibX
installed
make
Note: Only files with
.ber
extension can be used
./so_long [MAP_FILE.ber]
The objective of the game is to collect all the coins spread out across the map and then exit through the door in the smallest amount of moves.
Keyboard | Action |
---|---|
W , ↑ |
Move up |
A , ← |
Move left |
S , ↓ |
Move down |
D , → |
Move right |
Esc |
Exit the game |