Skip to content

Toufa7/Cub3d-Advanced-Raycasting

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cub3D 👾

The goal of cub3d is to make something using raycasting (like Wolfenstein 3D).

First of all:

The more time I spend on the project, the much more I like it.

This project is written in c using mini-libx Library, This old library has a little builtin-funcs that's can make my project show on the graphics

Preview 1

Preview 2

Walk Through:

Documentation

Commands

KEY Action
ESC manual control
SPACE BAR run
ENTER jump
CONTROL crouch
A move left
D move right
W move forward
S move backward
turn right
turn left
shift hide/display map
MOUSE RIGHT CLICK shoot
MOUSE LEFT CLICK aim - focus
MOUSE SCROLL change weapon

you can customize the control keys inside the game settings

Run Programe:

_ if you'ar a 42-student :

  cd /Users/$USER/goinfre ; git clone [email protected]:ael-bekk/cube3d_advanced_raycasting.git
  cd cube3d_advanced_raycasting ; make ; ./cub3d maps/test.map

_ if not :

  git clone [email protected]:ael-bekk/cube3d_advanced_raycasting.git
  cd cube3d_advanced_raycasting ; make ; ./cub3d maps/test.cub

📝 License

This project is licensed under the MIT - see the LICENSE file for details.


About

Simulation of the first FPS game Wolfenstein 3D

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 87.1%
  • Objective-C 12.2%
  • Makefile 0.7%