W
- move forward
S
- move backward
A
- move left
D
- move right
E
- use
↑
- rotate up
↓
- rotate down
←
- rotate left
→
- rotate right
CTRL
- crouch
SPACE
- jump
1
- weapon slot 1
2
- weapon slot 2
3
- weapon slot 3
4
- weapon slot 4
LMB
- fire weapon
F13
- take a screen shot
ESC
- exit
This project consists of 3 main branches:
- master - mandatory part for macOS
- bonus - bonus part for macOS (needs sdl2 to be installed)
- linux - bonus part for Linux (needs sdl2 to be installed)
$> make <branch_name>
$> ./cub3D ./res/maps/wolf3d_e1m01.cub
- wall collisions
- a skybox
- floor and ceiling textures
- a HUD
- ability to look up and down
- ability to jump and crouch
- a distance related shadow effect
- a life bar
- more items in the maze
- object collisions
- earning points by picking up objects
- doors which can open and close
- secret doors
- animations of a gun shot and animated sprite
- several levels
- sounds and music
- rotate the point of view with the mouse
- weapons and bad guys to fight!