Coder Social home page Coder Social logo

cub3d-1's Introduction

cub3d

First-person 3D representation of a maze using raycasting, similar to Wolfenstein 3D (1992).

Final grade : 115/115

Mandatory part : 100/100

Bonus : 15/15

Prerequisites

The project runs using the MiniLibX, a simplified version of the Xlib. It can therefore only run in MacOSX, preferably on a computer with a solid CPU !

The game

Just like B.J. Blazkowicz in Wolfenstein 3D, you have infiltrated a nazi stronghold.

You got what you needed, but you won't get out unnoticed. You're gonna have to fight your way out !

You should be able to survive if you get to the third floor, and kill everyone there. Good luck !

How to run it

Using make bonus will build the executable and run it.

To run it again without remaking, you can simply run the executable with ./cub3D.

Controls

You can move around the maze with W A S D.

You can also rotate the view with the directional arrows and .

You can shoot/stab with SPACE and open doors with SHIFT.

To exit the game, press ESC or click the red cross.

The mandatory part

The basic program that was required to pass. It only includes wall textures and a sprite ; no floor/ceiling textures, no weapons, no enemies, no game elements at all.

How to run it (mandatory part only)

Using make test will make and run the mandatory part.

You can also use make to generate the cub3D executable. You can launch it with ./cub3D.

Controls (mandatory part only)

Controls are the same as the project with bonuses, but only W A S D to move and to turn are available.

Acknowledgments

  • The Coding Train (raycasting inspiration)
  • Wolfenstein 3D (for the controversial textures)
  • And macrespo (for this beautiful life bar)

cub3d-1's People

Contributors

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