Skip to content

PedroDrago/so_long

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

114 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

so_long

This project is about developing a 2D Game in C.


About my Journey

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.

How to play it (linux only)

  1. Build game by running the following command
git clone https://github.com/PedroDrago/so_long.git && cd so_long && make
  1. Start the game:
./play

Or just download the executable in the Releases!


Leaktester

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:


Art Sources

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:

About

🎮 A 2D Game

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors