- C 91.5%
- Roff 5.9%
- Makefile 1.9%
- Shell 0.5%
- Raku 0.2%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| includes | ||
| libft | ||
| maps | ||
| minilibx-linux | ||
| src | ||
| textures | ||
| Makefile | ||
| README.md | ||
so_long project
Assets courtesy of pixel-boy, KMH Studios and biscuitlocker. Used imagemagick and a python script for converting them into xpm files onto usage in the game.
Introduction
The purpose of this project is to make a 2D view game, where player has to collect all collectibles in order to exit.
How To Run
Note: This game works best at 2k / 4k displays. It may be too large for 1080p screens.
You can get the 1080p version of the game here.
This game uses Makefiles and C to compile the game:
1. Install the dependencies For Linux
sudo apt-get update && sudo apt-get install xorg libxext-dev zlib1g-dev libbsd-dev
2. Build the Program from source
The game can be built using the commands below.
make
To build the game with animations and movement counter:
make bonus
3. Run
The game contains a maps/ folder where you can access different maps to play the game.
./so_long [path/to/map/format]
Some maps, contains enemy, which only works on the bonus executable.
./so_long_bonus [path/to/map/format]
Controls
To move:
- W, A, S, D
To Exit the game:
- Press Escape or the button X
Clean Up install
You can clean up the binary files by using
make clean
