GithubHelp home page GithubHelp logo

42_cud3d's Introduction

42 Cub 3D Project ReadMe

Welcome to the 42 Cub 3D project! In this project, you will be creating a simple 3D game engine that can render cubes in a 3D environment. This ReadMe file will provide you with important information on how to build and run the project, as well as some optional bonus features.

Project Structure

The project is divided into two main parts: Mandatory and Bonus. Please follow the instructions in each section accordingly.

Mandatory

To build and run the mandatory part of the project, follow these steps:

  1. Open your terminal and navigate to the project directory:

    cd Mandatory

Compile the project using the make command:

make

Run the compiled program:

./cub3D map.cub

Replace map.cub with the path to your map file.

The above steps will build and run the mandatory part of the project, allowing you to render a 3D environment with cubes based on the map you provide.

Bonus

The bonus section includes additional features or improvements to the project. To build and run the bonus part of the project, follow these steps:

Open your terminal and navigate to the project directory:

cd Bonus

Compile the bonus project using the make bonus command:

make bonus

Run the compiled program:

./cub3D map_bonus.cub

The bonus section may include enhanced graphics, additional gameplay elements, or other improvements beyond the mandatory requirements.

Map File

The project relies on a map file (e.g., map.cub or map_bonus.cub) to define the 3D environment. Make sure your map file follows the correct format as specified in the project instructions.

Controls

The controls for navigating the 3D environment are typically defined in the project and may include:

W: Move forward

S: Move backward

A: Strafe left

D: Strafe right

Left Arrow: Rotate camera left

Right Arrow: Rotate camera right

Esc: Exit the game

F : to change waoppen

R : to reload the gun if u shose the ak gun

Please refer to the project's documentation or code comments for specific control details.

Troubleshooting

If you encounter any issues or errors while building or running the project, please refer to the project documentation or consult with your peers and instructors for assistance.

Conclusion

Congratulations! You now have the necessary information to build and run the 42 Cub 3D project. Have fun exploring your 3D world and experimenting with the bonus features if you choose to tackle them. Good luck!

42_cud3d's People

Contributors

bbenidar avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.