Skip to content
/ cub3d Public

Raycasting with miniLibX. A 42 school team project.

Notifications You must be signed in to change notification settings

solargc/cub3d

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cub3d

Screenshot

42 project inspired by Wolfenstein 3D.
The goal is to build a simple raycasting engine.

You render a first-person view of a maze from a 2D map, handle movement, rotation, textures, and basic parsing.

Notes

  • Coded with Jokkebrood, textures handmade by him.
  • This is a copy from the original repo.
  • You need the minilibx library to run it.
  • A nix shell dev is provided with X11 dependencies.

Features

  • Raycasting-based 3D view
  • Wall textures (N/S/E/W)
  • Player movement and camera rotation
  • .cub map parsing
  • Error handling

Controls

  • W S — move forward / backward
  • A D — strafe
  • — rotate view
  • ESC — quit

About

Raycasting with miniLibX. A 42 school team project.

Resources

Stars

Watchers

Forks

Contributors