No description
  • C 91.5%
  • Roff 5.9%
  • Makefile 1.9%
  • Shell 0.5%
  • Raku 0.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2025-04-08 01:30:53 +08:00
includes post-evaluation changes (added back readme, remove redundency in code) 2025-04-08 00:44:37 +08:00
libft Animation works well for now. 2025-04-05 17:43:32 +08:00
maps fix funny mistake 2025-04-07 15:05:09 +08:00
minilibx-linux upscale the game by 2x so that it looks better on an iMac 2025-04-06 21:28:21 +08:00
src update README 2025-04-08 01:23:37 +08:00
textures upscale the game by 2x so that it looks better on an iMac 2025-04-06 21:28:21 +08:00
Makefile Changed makefile for compilation of minilibx in case of removal and re-adding it back during evaluations 2025-04-06 15:34:07 +08:00
README.md Update README.md 2025-04-08 01:30:53 +08:00

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

Game Render

nojL73P

Bonus Renders

so_long_1