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.

Notifications You must be signed in to change notification settings

winash1618/cub3D

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CUB3D by Nasser and Muhammed 🕺

PRESENTATION

This project aims at reproducing a basic FPS game by using the raycasting method.

WANNA PLAY? 💥

Installation

first, copy paste the following code on your terminal:

cd ~ && cd Downloads && git clone https://github.com/winash1618/cub3D.git cub3d && cd cub3d && chmod 777 Cub3D && ./cub3d map/map.cub

this should open a new window, and use the following commands to play around

Commands

KEY Action
ESC exit game
A move left
D move right
W move forward
S move backward
turn right
turn left

You can have a look at the subject for further details on how .cub files work.

⚠️ Be careful ! All your paths must be valid and your map must be closed (but not necessarily a square 😉)

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

Stars

Watchers

Forks

Releases

No releases published

Packages