Skip to content

aegraetz/So_Long

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

So_Long

A 2D game created in C using the minilibx library

Rules

Using the minilibx library provided by 42, create a game in which a character navigates a map to pick up collectables and proceed to an exit. Images are rendered to a pop up window and actions are triggered by player's keyboard commands (W, A, S, D & ESC).

Maps

Maps are made up of 5 characters:
0 = space
1 = walls
P = player
C = collectables
E = exit
The border of the map must be made up of walls, there can only be x1 players and x1 exit. All collectables must be picked up before player can exit the game.

Images

All images were created by me in Adobe Photoshop and converted from PNG to XPM files

Results

Succeeded with 100%

About

A 2D game created in C, utilising the minilibx library

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published