Skip to content

nelisabe/cub3D

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cub3D

Description

This project is implementation of simple ray-casting engine.

Build

Run make in project root directory. This will create cub3d executable. Program supports 2 mods:

  1. Basic mode with simple textures and sprites. To use just run `make';
  2. "Play" mode with several sprites and textures. To use run make bonus.

To remove all files created by program run make fclean, or make clean to remove all except executable.

Usage

Program requires 1 argument - map file. For example, for basic mode run cub3d maps/basic_map.cub.

Use W, A, S, D to move across the map and mouse or numpad arrows to move camera. Esc to exit.

Basic mode

ezgif com-gif-maker

Bonus mode

ezgif com-gif-maker(3)