This project aims at reproducing a basic FPS game by using the raycasting method.
first, copy paste the following code on your terminal:
cd ~ && cd Downloads && git clone https://github.com/winash1618/cub3D.git cub3d && cd cub3d && chmod 777 Cub3D && ./cub3d map/map.cub
this should open a new window, and use the following commands to play around
KEY | Action |
---|---|
ESC |
exit game |
A |
move left |
D |
move right |
W |
move forward |
S |
move backward |
→ |
turn right |
← |
turn left |
You can have a look at the subject for further details on how .cub
files work.