Giter Site home page Giter Site logo

cub3d's Introduction

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)

Video.sem.titulo.Feito.com.o.Clipchamp.2.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!

cub3d's People

Contributors

20aap02 avatar rubenteles avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.