The goal of the cub3d is to make something using raycasting (like Wolfenstein 3D).
This project uses MLX42, an improved version of an old and non-updatable library minilibx. For sounds and music, I use raudio. It's a standalone module of Raylib. In short, Raylib depends on MiniAudio.
You play as Van Helsing, a monster hunter. You must traverse the forest and castle, destroying the monsters that stand in your way.
Dependencies:
To ensure that you have all the required dependencies, I recommend you run this command
apt-get install -y \
build-essential \
cmake \
pkg-config \
libx11-dev \
libxrandr-dev \
libxinerama-dev \
libxcursor-dev \
libxi-dev \
libglfw3-dev \
libgl1-mesa-dev \
libglu1-mesa-dev \
zlib1g-dev \
libbsd-dev \
libxext-dev
- go to cub3D_bonus directory
- make
make - To run level 1:
./cub3D map/forest.cub
- To run level 2:
./cub3D map/castle.cub
- Music: alkakrab Game Music
- Textures (wolf & weapon): Viktoriia Lebedeva
- Textures (walls and grass): Jestan twitter: @jestanpixels, e-mail: jestanql@hotmail.com
- Other textures: sora (via OpenAI)