GithubHelp home page GithubHelp logo

julienhouyet / 42-so_long Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 245 KB

๐ŸŽฎ 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.

Makefile 3.08% C 77.67% Objective-C 19.25%
42 42born2code 42cursus 42projects 42school 42solong solong solong42

42-so_long's Introduction

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 [email protected]: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.

42-so_long's People

Contributors

julienhouyet avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.