Coder Social home page Coder Social logo

cub3d's Introduction

Cub3D

! Le projet n'est stable que sur la branche stable pour l'instant

Description

Cub3D est un projet de l'école 42 qui consiste à créer un moteur de jeu 3D basique en utilisant la technique de raycasting. Le projet s'inspire du jeu Wolfenstein 3D et a pour objectif de renforcer les compétences en programmation graphique, en gestion des événements, et en mathématiques appliquées à la 3D.

Fonctionnalités

  • Rendu 3D basé sur le raycasting
  • Navigation à la première personne
  • Gestion des collisions avec les murs
  • Affichage des textures sur les murs
  • Support des déplacements (avant, arrière, gauche, droite) et des rotations de la caméra

Technologies Utilisées

  • Langage : C
  • Bibliothèque graphique : MiniLibX
  • OS : Linux (peut fonctionner sur macOS avec des modifications mineures)
  • Compilation : Makefile

Installation et Exécution

Prérequis

  • Avoir gcc et make installés
  • Installer la bibliothèque MiniLibX (instructions spécifiques à votre OS)

Instructions

Clonez le repository :

git clone https://github.com/iguidado/cub3d.git
cd cub3d

Installer les prerequis et clonez le repository:

make install && make

Exemples d'Utilisation

Contrôle du Jeu

  • W : Avancer
  • S : Reculer
  • A : Déplacer à gauche
  • D : Déplacer à droite
  • Flèche Gauche : Tourner la caméra à gauche
  • Flèche Droite : Tourner la caméra à droite
  • ESC : Quitter le jeu

cub3d's People

Contributors

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