ajrou4 / cub3d

This project is inspired by the world-famous Wolfenstein 3D game, which was the first FPS ever. It will enable you to explore ray-casting. Your goal will be to make a dynamic view inside a maze, in which you’ll have to find your way.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cub3d

Ray-Casting Maze Exploration Project

Welcome to the Ray-Casting Maze Exploration Project! 🎮 Introduction

This project draws inspiration from the iconic Wolfenstein 3D game, which pioneered the first-person shooter (FPS) genre. Through this project, you'll embark on a journey into the realm of ray-casting, a fundamental technique used in rendering 3D environments in real-time. Project Goal

Your goal is to create a dynamic first-person view inside a maze, where you'll navigate through corridors and chambers, seeking a way out. Using ray-casting techniques, you'll simulate the perception of depth and distance, allowing the player to explore the maze from a first-person perspective. Why Ray-Casting?

Ray-casting provides a simplified yet effective method for rendering 3D environments in real-time, making it suitable for resource-constrained systems and early video game development. By mastering ray-casting, you'll gain insights into the fundamental principles of 3D graphics rendering and enhance your programming skills. Key Features

Dynamic View: Experience a real-time first-person view of the maze environment.
Ray-Casting Rendering: Simulate the projection of rays to render walls, floors, and ceilings with depth perception.
Player Interaction: Enable player movement and interaction within the maze environment.
Navigation: Implement algorithms for maze generation and pathfinding to create challenging and immersive gameplay.

Getting Started

To get started with the project:

Clone this repository to your local machine.
Explore the provided source code and documentation to understand the ray-casting implementation.
Set up your development environment and compile the project.
Experiment with different maze configurations and gameplay mechanics.
Have fun exploring the maze and refining your ray-casting skills!

Resources

Ray-Casting Algorithm Explained - A comprehensive guide to understanding ray-casting techniques.
Wolfenstein 3D Source Code Review - Analyze the original Wolfenstein 3D source code for insights and inspiration.

Contributing

Contributions to this project are encouraged! Whether you're interested in adding new features, optimizing performance, or fixing bugs, your contributions are valuable to the community. Feel free to submit pull requests or open issues to share your ideas and improvements. https://github.com/ajrou4/cub3d/assets/36647431/bcae7a86-8995-46b4-90d4-f4e7473de8c8

About

This project is inspired by the world-famous Wolfenstein 3D game, which was the first FPS ever. It will enable you to explore ray-casting. Your goal will be to make a dynamic view inside a maze, in which you’ll have to find your way.


Languages

Language:C 97.9%Language:Makefile 2.1%