Skip to content

๐ŸŽฎ This project is a tiny 2D game I developed during my studies at 42. The aim was to familiarize myself with sprites, textures and a few basic elements. I was inspired by Pokemon Red.

Notifications You must be signed in to change notification settings

julienhouyet/42-so_long

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

62 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

42-so_long

42-so_long

Introduction

This project is a tiny 2D game I developed during my studies at 42. The aim was to familiarize myself with sprites, textures and a few basic elements. I was inspired by Pokemon Red.

This project is being developed with the minilibx from 42.

At 42 School, almost every project must be written in accordance to the Norm, the school's coding standard. As a result, the implementation of certain parts may appear strange and for sure had room for improvement.

โšก Usage

๐Ÿ”Œ Installation

To install the project, clone this repository :

$ git clone git@github.com:julienhouyet/42-so_long.git

To compile the game, run this command :

$ make

๐Ÿ“ฆ Commands

After compiling the project, the executable file with the name so_long will be created, to run the game call the executable passing the map as an argument:

Example:

$ ./so_long assets/maps/01.ber
$ ./so_long assets/maps/03.ber

To compile the project, run :

$ make

To re-compile the project :

$ make re

To wipes all object files :

$ make clean

To delete the project and all object files

$ make fclean

๐Ÿ““ More

You can create your own map.

Your map must be a .ber file.

It must be square or rectangular, and surrounded by 1 (wall).

You must use 1 P (player), 1 E (exit), and at least 1 C (item).

You can use the following characters:

Char Sprite
0 Floor
1 Wall
P Player
E Exit
C Item

Example :

1111111111111
1001000C000C1
1000011111001
1P0011E000001
1000000000001
1111111111111

๐Ÿ“„ Resources

Minilibx Docs

๐Ÿ“ท Gallery

๐Ÿ”’ License and Copyright

This project is not licensed and is provided as-is for educational and demonstrative purposes only.

The Pokemon sprites used in this game are the property of Nintendo/Game Freak and are used here for demonstration purposes only. No copyright infringement is intended.

About

๐ŸŽฎ This project is a tiny 2D game I developed during my studies at 42. The aim was to familiarize myself with sprites, textures and a few basic elements. I was inspired by Pokemon Red.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published