Skip to content

aberry-21/cub3D

Repository files navigation

cub3D

My first RayCaster with miniLibX

This project is inspired by the world-famous eponymous 90’s game, which was the first FPS ever.

Final grade : 107/115

Screen Shot 2020-12-22 at 12 58 20 PM

Bonus part (6/14)

• Wall collisions. • Object collisions. • A skybox.

• A distance related shadow effect.

• Animations of a gun shot or animated sprite.

• Sounds and music.

Screens Bonus part

Screen Shot 2020-12-22 at 4 21 08 PM Screen Shot 2020-12-22 at 4 20 51 PM

Screens Mandatory part

Screen Shot 2020-12-22 at 4 27 05 PM Screen Shot 2020-12-22 at 4 26 38 PM

Warning! It was made for school 42 tasks

It works only on 42-system macOS

Ecole 42 
School 21 

How to run it (without bonus)

Using bash cub3d.sh will build the executable and run it.

Using bash cub3d_screen.sh will build the executable and save the first rendered image in bmp format.

How to run it (with bonus)

Using bash cub3d_bonus.sh will build the executable and run it.

Using bash cub3d_screen_bonus.sh will build the executable and save the first rendered image in bmp format.

Controls

You can move around the maze with W A S D.

You can also rotate the view with the directional arrows and .

To exit the game, press ESC or click the red cross.

You can shoot with SPACE. (Only bonus part)

Reference Documentation

Preview textures

About

This project is inspired by the world-famous eponymous 90's 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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors