SkillAgentSearch skills...

Cub3D

No description available

Install / Use

/learn @RubenTeles/Cub3D
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Cub3D

This is the second graphics project at 42, our first RayCaster with miniLibX.

What is cub3D?

Cub3D is a team project at 42 that asks us to create a "3D" game engine with miniLibX. This project is inspired by the world-famous 90's game Wolfenstein 3D, which was the first FPS ever. The objective of this project is to deep dive into the mathematical concepts behind the ray-casting algorithm such as calculating distances, height, sprite locations and field of view to create a projection using primarily trigonometry.

Gameplay (Sound ON)

https://user-images.githubusercontent.com/75394884/206157902-2c281588-b9a4-4755-8b73-c30c554ff372.mp4

Game Controller Keys

  • Move player: W, A, S, D
  • Move camera: 🡠, 🡢 or Mouse Move
  • Close Atack: Left Mouse
  • Breath Atack: Rigth Mouse
  • Run: Press Shift + Move
  • Interact: E
  • Map: M
  • Tasks: T
  • Change Weather: N
  • Pause: P
  • Exit: ESC
# Clone the project and access the folder
git clone https://github.com/RubenTeles/Cub3D && cd Cub3D/

# Run make so you can build the game
make e

# Well done!
View on GitHub
GitHub Stars11
CategoryDevelopment
Updated2y ago
Forks0

Languages

C

Security Score

60/100

Audited on Dec 16, 2023

No findings