Giter Club home page Giter Club logo

cub3d's Introduction

Warning

The sharing of this project on my GitHub aims to help peoples to open their minds to new logics or help peoples in case of difficulty. In no way, that aims to copy and paste this work on your own repository.

cub3d mamaurai's 42 cub3d Score

cub3d is a project from the 42 Common Core, The project aims to recreate the graphic engine used in Wolfenstein 3D. If you want to learn more about Recasting you can easily find resources and videos who explains "What recasting is ?"

Usage

~/> git clone --recurse-submodules https://github.com/mathias-mrsn/cub3d
~/> cd cub3d
~/cub3d$> make
~/cub3d$> ./cub3d maps/mandatory/map.cub 

bonus

The cub3d bonus part contains 6 bonuses :

  • animated sprites.
  • automatic doors opening.
  • camera control with mouse.
  • wall collision.
  • modular resolution variables
  • gun
  • minimap

Usage

~/cub3d$> make bonus
~/cub3d$> ./cub3d maps/bonus/map.cub

Work Plan

Here is a little work plan to easily start this project

  • Find resources about how raycasting works (3 days)
  • Create parser + test it to be sure that everything right (5 days)
  • Launch rays and compute distance for each ray (7 days)
  • Display your first result without texture (2 days)
  • Display textures (2 days)
  • Manage mouvements and wall collision (1 days)
  • Do more test (corner collision, parsing error...)
  • Check leaks
  • Norme
  • Do more test (again...)

screeshot

cub3d

cub3d

cub3d's People

Contributors

mathias-mrsn 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.