Sulig/Cub3D

My first RayCaster with miniLibX -----------------------> 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.

★ 2Forks 1CGitHub ↗Compare
4242-school42barcelona42cursus42projects42schoolbarcelonabarcelona-schoolbarcelona-school-informaticscub3dcub3d-42minilibxraycaster-engineraycasting

README

Cub3D error tile

~ Started on: 13/10/2024 ~ *** ~ Ended on: 16/01/2025 Ranked with 105 -- I will re-do it! (In a minute now.. and for myself :>)

Stars Size Activity

Demo


Summary:

My first RayCaster with miniLibX ----------------------->

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.


Content of this repository:

CONTROLS

Move on the map with: W A S D

  • W -> UP

  • S -> DOWN

  • A -> LEFT

  • D -> RIGHT

  • UP-KEYBOARD -> UP

  • DOWN-KEYBOARD -> DOWN

Move the vision of player with the arrows

  • LEFT-KEYBOARD -> Rotate Left
  • RIGHT-KEYBOARD -> Rotate Right

You can change the window size by just dragging the screen or clicking on the icon to make the screen large.

Close the game with esc or close directly with the cross icon.

BONUS ADDED

If you execute this command: make run-bonus you can play at this game with these bonus:

  • Move the camera with the mouse!
  • Take a look at where you are in a fabulous minimap!
  • (Yet added in mandatory) Don't walk across the walls!
  • ¡GHOST MODE! -> SPACE


~ Made by sadoming ~ ~ With the collaboration of Andmart2 ~


Contributors

Sulig

Issues