Skip to content

abel-hid/Cub3D

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

67 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿš€ Cub3D ๐Ÿš€

Overview

Welcome to Cub3D โ€“ your gateway to retro 3D exploration! Dive into a maze of cubic rooms, uncover secrets, and challenge your skills in this raycasting adventure inspired by the classic era of 3D gaming. Are you ready to navigate through dynamic environments and experience a nostalgic 3D journey?

Cub3D Screenshot Cub3D Action

Features โœจ

  • 3D Raycasting Engine: Smooth and immersive 3D rendering that brings the game world to life.
  • Dynamic Maze: Navigate through a maze filled with surprises and obstacles.
  • Player Interaction: Explore, interact, and master the art of movement in a 3D space.
  • Retro Graphics: Classic visuals that pay homage to the golden age of 3D games.

Requirements ๐Ÿ“‹

To run Cub3D, you'll need:

  • macOS: Glfw and cmake are required to run the project on macOS. follow the installation instructions here.

  • MLX42 Library: Essential for graphics and rendering. Find it here and follow the installation instructions.

  • C Compiler: Such as gcc.

  • Make: To build the project.

Installation โš™๏ธ

  1. Clone the repository:

    git clone https://github.com/yourusername/Cub3D.git
    cd Cub3D
  2. Install MLX42 Library:

    Follow the installation guide in the MLX42 repository.

  3. Build the project:

    Cd mandatory or bonus
    make
  4. Run the game:

    ./cub3d maps/sample_map.cub

    Replace maps/sample_map.cub with your desired map file.

Usage ๐ŸŽฎ

  • W, A, S, D: Move forward, left, backward, and right.
  • Mouse: Look around.
  • ESC: Quit the game.

Contributing ๐Ÿค

Contributions are welcome! Whether it's reporting issues, making enhancements, or providing feedback, your involvement helps make Cub3D even better. Letโ€™s keep the retro gaming spirit alive!

License ๐Ÿ“

This project is licensed under the MIT License. See the LICENSE file for details.

Acknowledgements ๐Ÿ™Œ

  • MLX42: For the powerful graphics library.
  • 42 Network: For the inspiration and support.

About

A 3D raycasting engine bringing classic 2D games into a 3D world! ๐ŸŽฎ๐Ÿ•น๏ธ Explore virtual environments with smooth navigation, dynamic textures, and immersive gameplay. ๐Ÿš€โœจ

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages