Skip to content

This project is a small 2D Bomberman game with minilibx. It uses textures, sprites and tiles.

Notifications You must be signed in to change notification settings

daisvke/bomberman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

so_long

This project is a small 2D Bomberman game using minilibx, a graffic library used at 42. It uses textures, sprites and tiles.

Timeline.11_.mov

Description

  • The player’s goal is to collect all the collectible bombs present on the map, then to escape from the revealed pipe with minimal movement.
  • At each move the current number of movements is updated on the window.
  • Ennemy patrols cause the player to lose in case of contact.
  • Collectibles include :
    Speed = allows the player to move faster
    Bomb = allows the player to set an additional bomb on the field
    Fire = increases the power of the bombs set by the player

Commands

  • Run
make
./so_long [map]       ex: ./so_long maps/map_large.ber
  • QWERTY
    Up = W
    Down = S
    Left = A
    Right = D

  • AZERTY
    Up = Z
    Down = S
    Left = Q
    Right = D

  • Set bomb = B

  • Quit = ESC

Map

  • The program takes as a first argument a map description file with the .ber extension.
  • The map can be composed of only 6 possible characters:
    0 for an empty space
    1 for a wall
    C for a collectible
    E for map exit
    P for the player’s starting position
    M for an ennemy's starting position

This is a simple valid map:

1111111111111
10010000000C1
1000011111001
1P0011E000001
1111111111111
  • The map must be closed/surrounded by walls.
  • It must have at least one exit, one collectible, and one starting position.
  • It must be rectangular.

Screenshots

About

This project is a small 2D Bomberman game with minilibx. It uses textures, sprites and tiles.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published