Coder Social home page Coder Social logo

cub3d's Introduction

Cub3D - 42Lisbon

To clone with submodules: git clone --recursive <project url>

Use make or make bonus for the improved version.

  • m: toggle minimap

  • f: toggle fps count

  • Esc: quit the game

  • Render distance related shadows

  • Skybox feature

  • Delta time used to normalize mouvement speed (with make bonus rule)

  • Lifebar with healing/damaging items and traps

  • Map extras = 3: Healing object, 4: Trap

To compile on linux/mac

  • You should install first MinilibX on your machine
  • In ft_constants.h toggle IS_OS_MAC accordingly
  • In Makefile take the LIBS definition accordingly

Linux Notes

  • On linux alpha-byte for pixels doesn't seems to work In order to have a proper render on linux you should write every layer on the scene layer and sacrifice the shadow effect. Otherwise background will be black because of obj layer, which is used for sprites. Normally is transparent everywhere exept on opaque sprites segments.

Resources

Special thanks to @dda-silv. You can find his repo with useful resources here: dda-silv cub3D repo

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.