Skip to content

This project is inspired by the world-famous Wolfenstein 3D game, which was the first FPS ever. It will enable you to explore ray-casting. Your goal will be to make a dynamic view inside a maze, in which you’ll have to find your way.

License

Notifications You must be signed in to change notification settings

AndrefHub/cub3d

Repository files navigation

pac3D

Ray-casting project inspired by two legendary games: Wolfenstein 3D and Pac-Man.

Written in C using MiniLibX and cute_sound.

Installation

Download:

git clone --recurse-submodules https://github.com/AndrefHub/cub3d.git && cd cub3d

Build:

make         # Mandatory part
make bonus   # Bonus part

Run:

./cub3D "valid map filename"
./pac3D "valid map filename"

Bundled maps

"maps/e1m1.cub" - map for mandatory part
"maps/pacman.cub" - map for bonus part, replicates map from original Pac-Man game

License

MIT

About

This project is inspired by the world-famous Wolfenstein 3D game, which was the first FPS ever. It will enable you to explore ray-casting. Your goal will be to make a dynamic view inside a maze, in which you’ll have to find your way.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published