Nothing Special   »   [go: up one dir, main page]

Skip to content

My first RayCaster with miniLibX. Project from 42 São Paulo

Notifications You must be signed in to change notification settings

vitoriagalli/cub3D

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CUB3D

This project is inspired by the world-famous eponymous 90’s game, Wolfenstein 3D. It consists to create a 3D perspective in a 2D map making use of Raycast rendering technique and Minilibx library.

I. Prerequisites

As the project uses minilibx library, its requires X11 library

II. How to run the program

git clone https://github.com/vscabell/cub3D.git
'make' to compile the program
$ ./cub3d <map_path/file.cub> to run the program
$ ./cub3d <map_path/file.cub> --save to save the first rendered image as a bitmap

III. The Game

Key comands to move around the maze

  • W A S D to move the point of view
  • Left/Right (←/→) directional keys to rotate the camera
  • M to show/hide the mini 2d map
  • ESC to quit



gif-refize im1-re im2-re

About

My first RayCaster with miniLibX. Project from 42 São Paulo

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published