Giter VIP home page Giter VIP logo

eschirni / cub3d Goto Github PK

View Code? Open in Web Editor NEW
45.0 1.0 1.0 42.27 MB

42 project cub3d, with a main menu, settings, sound & music, a minimap, actual gameplay with a random generated map, an endscreen with a highscore and more features coming soon

License: MIT License

Makefile 0.93% C 87.29% C++ 9.26% GLSL 0.19% Batchfile 0.27% Shell 0.25% Python 1.81%
c 2d-to-3d 42 42heilbronn collision-detection cub3d minimap raycasting mlx42 ui

cub3d's Introduction

How to download & execute

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  • Download glfw with brew install glfw or any packet downloader of your choice
  • Go to the game folder (directory) where the Makefile is
  • Write this command to your terminal: make re
  • Write this command to your terminal to start the game: ./cub3d
  • Enjoy :)



Controls

W Move Forward

S Move Back

D Move Right

A Move Left

F Open Doors

ESC To Switch Main Menu

Mouse Move Look Around


Instructions

You are in a dungeon to collect some hidden quests. Use W A S D buttons to move and use mouse to look around. But be careful!

Quest guard Luci doesn't like people who try to steal his treasures.

Hence, it will be following you. Watch your six!




How to install brew to 42 computers?

rm -rf $HOME/.brew && rm -rf $HOME/goinfre/.brew && git clone --depth=1 https://github.com/Homebrew/brew $HOME/goinfre/.brew && echo 'export PATH=$HOME/goinfre/.brew/bin:$PATH' >> $HOME/.zshrc && source $HOME/.zshrc && brew update

cub3d's People

Contributors

ayogun avatar benzlinger avatar eschirni avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

benzlinger

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.