marbenMB / Cub3d

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cub3d

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. The goal of the project is to make a dynamic view inside a maze, in which you’ll have to find your way ( The bonus part implements doors also ).

Version

🔴 This version is compatible with MacOs only if you want Linux version use Linux branch instead of main.

Usage :

git clone https://github.com/marbenMB/Cub3d.git
cd Cub3d
make bonus
./cub3d_bonus map/path
# example
./cub3d_bonus map/bonus/tech_S.cub

Keys :

W : go forward
s : go backward
a : go left
d : go right
<- -> and mouse : camera mouvements
1 : display and undisplay minimap
ESC : close

Overview :

Game Overview

Doors :

Door close Door open

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


Languages

Language:C 75.8%Language:Objective-C 12.4%Language:Roff 10.4%Language:Makefile 1.4%