Cub3D is an individual school project at 42 Paris campus. It is Video game project inspired by Wolfenstein 3D using Minilibx library and ray-casting technology.
make all
./cub3D /maps/map.cub
make bonus
./cub3D /maps/bonus_map.cub
- WASD to move
- Left/Right directional keys to rotate camera
- Right shift for sprint (bonus part only)
- Left shift to rotate the camera with the mouse (bonus part only)
- U/J,I/K,O/L keys for change the sprite shape (bonus part only)
- M key for display the minimap (bonus part only)
- P key for display the FPS (bonus part only)
- Q key for put diamond block (bonus part only)
- E key for break diamond block (bonus part only)
- ESC to quit
- Collision with walls
- Sprite transformation
- Animated sprite
- Collision with sprites
- Mouse camera control
- Minimap display
- Textured floor, ceiling
- Fog war on walls, floor, ceiling and sprite
- FPS counter
- Secret Door
- Breakable blocks
- Put blocks
- Sprint