Skip to content

This project, inspired by Wolfenstein 3D, is a simple FPS game where we've implemented raycasting from scratch in C for rendering surfaces.

Notifications You must be signed in to change notification settings

IcQuackson/cub3d-42

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎮 Cub3D 🎮

CUB3D

My first RayCaster with miniLibX

About The Project 📖

Cub3D is a project aimed at exploring ray-casting. The goal is to make a dynamic view inside a maze, in which you'll have to find your way.

Built With 🛠️

  • C language
  • MiniLibX

Getting Started 🚀

Prerequisites 📋

  • GCC compiler
  • MiniLibX library

Installation 🔧

  1. Clone the repo
    git clone https://github.com/your_username_/Cub3D.git
    make
    ./cub3d <path_to_map>

Usage 💻

After running the game, use the following keys to navigate through the maze:

  • W: move forward
  • S: move backward
  • A: move to the left
  • D: move to the right
  • Left arrow: turn left
  • Right arrow: turn right

Acknowledgements 🎉

  • 42 Lisbon
  • Pedro Gonçalves
  • João Pereira

About

This project, inspired by Wolfenstein 3D, is a simple FPS game where we've implemented raycasting from scratch in C for rendering surfaces.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published