This is a project from 42 common core developed with Tonio
| Skill | Wiki Link |
|---|---|
| C Language | |
| Raycasting Logic | |
| Graphics & Events | |
| Map Parsing |
This project aims at creating a 3D graphical representation of a maze using Raycasting principles:
- Smooth window management (resolution, toggle, minimize)
- Precise parsing of
.cubscene description files - Raycasting implementation to render a 3D perspective from a 2D map, with collision detection
- Texture mapping for North, South, East, and West walls
- Distinct floor and ceiling colors
- Keyboard inputs: WASD for movement and arrow keys for rotation
- Clean exit handling (ESC or window cross) without memory leaks
For our bonus, we revisited the shooting genre by inviting the player to kick a ball
- Animated sprite (the ball, the cup)
- Minimap
- Mouse direction
- Sound atmosphere, with a different song played depending on events (score, fail, ...)
make
./cub3D maps/map.cub