Coder Social home page Coder Social logo

m0saan / cub3d Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 58.92 MB

This project is all about exploring the ray-casting's rendering techniques to create a 3D perspective in a 2D map . So the main goal will be to make a dynamic view inside a maze, in which you’ll have to find your way.

Makefile 1.61% C 72.74% CMake 0.29% Swift 9.70% Roff 4.46% Objective-C 11.19%
raycasting minilibx 3d-games c-programming-language 1337school 42born2code

cub3d's Introduction

Cub3d

Description

This project is all about exploring the ray-casting's rendering techniques to create a 3D perspective in a 2D map . So the main objectives are similar to all this first year’s objectives: Rigor, use of C, use of basic algorithms, information research, data mining etc.

As a graphic design project, Cub3D will enable you to solidify your skills in this area: windows, colors, events, fill shapes etc.

Requirements:

Mac OS X Mojave(10.14.6) or higher

Installation and launch:

  • git clone https://github.com/MoBoustta/Cub3d.git
  • cd Cub3D
  • make
  • ./Cub3D maps/map.cub

Keys:

  • Arrows - moving
  • Shift + Arrows - sprint
  • 1->4 - mute music
  • T - Show/Hide textures

Note:

You can get a screenshot of the game in bmp format by providing a third argument "--save"

[Watch the video]

picture

picture

picture

cub3d's People

Contributors

m0saan avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

cub3d's Issues

sprite

  • implement first ...
  • implement ..
  • check errors ..
  • jhvdcd
  • djhchc
  • [ ]

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.