Skip to content

Project 5: so-long - Fifth project for the formation of software engineers at school 42 São Paulo.

Notifications You must be signed in to change notification settings

Vinicius-Santoro/42-formation-lvl1-5.so-long

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

42-formation-lvl1-5.so-long

Project 5: So Long - Fifth project for the formation of software engineers at school 42 São Paulo

  • This project is a very small 2D game. It is built to make we work with textures, sprites and some very basic gameplay elements.

This game was like this:

so_long

How to Play

The game is able to play any map you want as long as it follow some specific rules:

  • The map has to be a .ber file.

  • It can only contain some of the following characters:

    Character Object
    E Exit.
    1 Wall.
    V Enemy
    C Collectable.
    0 Empty space.
    P Player starting position.
  • The map must be a rectangle surrounded by walls ‘1’.

  • It must have at least one exit ‘E’ and one collectable ‘C’. And only one player ‘P’.

See some examples in the ./assets/maps folder of this project.

Controls

Use WASD to move. You move one tile at a time. After picking up all weeds, the exits open and you may leave to see how many moves you’ve used to solve the map.

You can close the game with ESC or Q.

How i did (mandatory)

How i did (bonus)

About

Project 5: so-long - Fifth project for the formation of software engineers at school 42 São Paulo.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published