CODAM project Curriculum 2019/2020 - My first RayCaster with miniLibX
This project is inspired by the world-famous eponymous 90’s game, which was the first FPS ever. It will enable you to explore ray-casting. The goal was to make a dynamic view inside a maze.
This project contained mandatory part and some bonuses.
- It is allowed to use both XPM and PNG images.
- The map must to have a '.cub' extension.
-
Build 🔨 with
make
-
Run the executable
cub3D
and choose a valid map
$ ./cub3D ./<file name path with a valid map>
- For screenshot add
--save
$ ./cub3D ./<file name path with a valid map> --save
Key | Action |
---|---|
W |
move forward |
A |
move left |
S |
move backward |
D |
move rigth |
⬅️ | look left |
➡️ | look right |
ESC
or click on the red button 🔴 to exit the game.
-
Build 🔨 with
make bonus
-
Run the executable
cub3D
and choose a bonus valid map
$ ./cub3D ./<file name path with a bonus valid map>
- For screenshot add
--save
$ ./cub3D ./<file name path with a bonus valid map> --save
- Wall collisions.
- Floor and ceiling texture.
- Ability to look up and down.
- Jump and crouch.
- More items in the maze.
- Object collisions.
- Rotate the point of view with the mouse: look up, look down, look left, look right
Including the movements for mandatory part, bonus part has the following extra movements:
- ⬆️ look up
- ⬇️ look down
SPACE
jumpLShift
crouch- Mouse movements
⬆️
:arrow_left: :arrow_right:
⬇️
More info in the Wiki!