908 B
908 B
Cub3D
Cub3D is a simple raycasting game using the mlx library
Todo
Parsing
- Parse the .cub file for the floor and ceiling colors
- Parse the .cub file for the 4 textures
- Parse the .cub file for the map
- Flood fill the map and test if it is closed
- Check if all needed elements are present in the closed part of the map
Raycasting
- Render the walls correctly
- Render the walls correctly with movement
- Render the walls correctly with rotation
Bonus
- Doors
- Wall Collision
- Minimap
- Animated Sprites
- Rotate with the mouse
Extra
- FPS counter
- A Menu?
- Levels?
- Skybox?
- Enemies?
- Weapon Sprite that fires?
- Barrels?
- Jumping?
- Vertical Aiming?
Bugs
Usage
- Simply clone or download the repository
- Run
make
in the cloned directory - Start the game with
./cub3d