Skip to content

ft-ally/cub3d

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cub3D is a 3D world renderer inspired by Wolfenstein 3D, built using raycasting, textures, player movement, and the MinilibX graphics library.

🚀 Features

  • Raycasting engine

    • Wall projection based on DDA (Digital Differential Analysis)

    • Column-by-column rendering

    • Perpendicular distance correction

  • Textured walls

    • Correct sampling using hit position

    • Horizontal/vertical texture flipping for accurate orientation

  • Smooth player movement

    • Forward / backward

    • Strafing left / right

    • Rotation with camera plane

  • Collision detection

    • Prevents walking through walls
  • Map parsing

    • .cub file support

    • Textures & colors

    • Map validation

  • MiniLibX integration

    • Window handling

    • Pixel drawing

    • Keyboard input

🕹️ Controls

Key Action
W / S Move forward/back
A / D Strafe left/right
← / → Rotate camera
ESC Exit

👥 Authors

🐚 Tutku Çakır Yılmaz

🐚 Allyana Alombro

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •