This project is about developing a 2D Game in C.
This was the first project in the 42 Curriculum that made me have tons of fun with it. This was a long journey just because I was really dedicated into making a nice little game (and I had a lot of fun discovering the implications and details about 2D graphics programming). I wasn't able to develop most of the features I was aiming for because I needed to keep progressing in my Common Core, but I promise that I will come back someday and make this game something really playable and fun, at least for me! If you are a 42 Cadet, treat this project with love, it will reward you with knowledge and fun.
- Build game by running the following command
git clone https://github.com/PedroDrago/so_long.git && cd so_long && make- Start the game:
./playOr just download the executable in the Releases!
In 42 projects, it is not acceptable to have any kind of memory leak, and in this project, you could have leaks without even knowing it due to the fact that you need to test your game on a lot of different maps to see if you are leak-free. So, I made a simple script that uses valgrind to check if your so_long has any sort of leak:
I'm a programmer, not an artist, so all the pixel art you see in the game was made by other people who gently provided free assets for anyone who would like to download it. Here are the artists who made the art pieces that I used:
- Frog character sprites
- Sushi, Wall, Grass and Door
- Font:

