Skip to content

#Cub3D: This project is a 3D game created from scratch written in C using an old graphic library mini-libx, presented with an old technology raycasting to make the 3D feeling looks pretty good

License

Notifications You must be signed in to change notification settings

ael-bekk/Cub3d-Advanced-Raycasting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

53371ce Β· May 12, 2023

History

52 Commits
Sep 20, 2022
Oct 19, 2022
Sep 20, 2022
Sep 18, 2022
Oct 17, 2022
Sep 9, 2022
May 12, 2023
Sep 9, 2022
Oct 20, 2022
Sep 18, 2022
Apr 29, 2023
Aug 17, 2022
Oct 20, 2022

Repository files navigation

Cub3D πŸ‘Ύ

The goal of the 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 git@github.com:ael-bekk/cube3d_advanced_raycasting.git
  cd cube3d_advanced_raycasting ; make ; ./cub3d maps/test.map

_ if not :

  git clone git@github.com: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

#Cub3D: This project is a 3D game created from scratch written in C using an old graphic library mini-libx, presented with an old technology raycasting to make the 3D feeling looks pretty good

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published