Skip to content

graphic design project, raycasting, Wolfenstein 3D

Notifications You must be signed in to change notification settings

Arivima/42_Cub3D

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

42Roma

Projet_name Cub3D
Team_members avilla-m, gdi-lore
Subject './Cub3D_en.subject.pdf'
Correction './Cub3D_correction.pdf'
Grade 125% 🌟
Bonus collision, doors, mouse rotation, sprite, minimap
Extra levels, game flow, textured floor, win with collectibles, die with enemies, gif animation, textured background

Game stucture

SCREEN LEVEL
0 mandatory project
1 Bonus opening gif
2 Earth level
3 transition gif
4 Moon level
5 game over gif
6 game won
7 credits

How to play

Game rules
Earth level : collect 5 to go to the moon, collision with Buddha = immediate death
Moon level : collect 5 earths to win the game, collision with Buddha = immediate death

CONTROL ACTION
'W' move forward
'S' move backward
'A' move left
'D' move right
'left arr' rotate view to left
'right arr' rotate view to right
'ENTER' open and close doors (adjacent bloc, facing the door)
'SPACE BAR' enter bonus part
'ESC' close the window
'red cross' close the window

Makefile

RULE ACTION
make re compiles if objects were modified
make fclean cleans all objects and executables
make re cleans objects and re-compiles objects and .h, including libraries
make bis re-compiles objects and .h, not libraries
make run make bis + executes with the right arguments
make norme check for norm errors only in relevant folders, only lists errors
make sanitize make with sanitize flag, for debugging

Update the visuals

How to update visuals:
./maps: the map can be changed, updated with textures, colors, map structure can be changed
./files: here to change the textures of the game levels:
Any updated texture has to be copied into these:
background_earth (must be 1920 * 1080)
background_moon (must be 1920 * 1080)
wall_earth
wall_moon
door_mandatory
door_earth
door_moon
floor_earth
floor_moon
collectible_mandatory
collectible_earth
collectible_moon
enemy_mandatory
enemy_earth
enemy_moon
.png image were converted to .xpm, added to ./files and path added to "# define IMG_FILES" in ./include/cub3D.h + enum e_picture_list updated at the right position

How to update project parameters:
Go the .h and update there

About

graphic design project, raycasting, Wolfenstein 3D

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published