rouali98 / cub3D

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cub3D - My First RayCaster with miniLibX

cub3D Demo

Contributors :

Table of Contents

Introduction

Welcome to cub3D, your first venture into the world of RayCasting and 3D graphics using miniLibX. This project is inspired by the iconic Wolfenstein 3D and provides a hands-on experience with creating a dynamic view inside a maze.

Project Description

Cub3D aims to enhance your programming skills in C, algorithms, and graphics design. You will learn about window management, colors, events, and more, while using mathematics to create efficient algorithms.

Goals

  • Implement a realistic 3D graphical representation of a maze.
  • Utilize Ray-Casting principles for rendering.
  • Incorporate smooth window management.
  • Display textured walls based on their orientation.
  • Set floor and ceiling colors.
  • Implement player movement and navigation controls.

Getting Started

Prerequisites

Installation

  1. Clone the repository:
    git clone https://github.com/rouali98/cub3D.git
    cd cub3D
    

Compilation

To compile the project, run the following command:

make

Usage

To run the program, use a scene description file:

./cub3D maps/map.cub

Explore the maze, look around, and enjoy your 3D adventure!

Features

  • Ray-Casting Rendering
  • Textured Walls
  • and Ceiling Colors
  • Smooth Window Management
  • Player Movement Controls
  • Map Parsing

Controls

Arrow keys: Look left and right

W, A, S, D keys: Move within the maze

ESC key: Quit the program

License

This project is licensed under the MIT License.

Happy coding! 🎮

About


Languages

Language:C 76.5%Language:Objective-C 22.1%Language:Makefile 1.4%