This project is inspired by the world-famous Wolfenstein 3D game, which
was the first FPS ever. It will enable you to explore ray-casting. Your goal will be to
make a dynamic view inside a maze, in which you’ll have to find your way.
This project has been validated with a score of 110/100.
The game has two versions.
- Vanilla version
- Compile with
make
- Execute
./cub3D
with a.cub
map as an argument :
./cub3D maps/normal_map.cub
./cub3D maps/default_map.cub
- Compile with
- Fancy version
- Compile with
make bonus
- Execute
./cub3D_bonus
with a.cub
map as an argument :
./cub3D maps/normal_map.cub
./cub3D maps/default_map.cub
- Compile with
- Use
W
,A
,S
,D
to move - Use
Shift
to sprint - Use
M
to show map (fancy version)
Collision is handle only in fancy version.
You can quit the game by pressing the ESC
key or clicking the red cross !