Giter Site home page Giter Site logo

leizar06001 / 42_cube_3d Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 53.68 MB

Jeu cube 3d (wolfenstein) ecole 42 - Raycasting

Makefile 0.19% CMake 1.28% Shell 2.03% C 83.27% M4 1.47% Java 1.03% Perl 0.49% Batchfile 0.01% Objective-C 3.50% C++ 6.37% Python 0.03% Metal 0.02% Assembly 0.16% JavaScript 0.09% HTML 0.01% Roff 0.07%
cube3d cube3d42 wolfenstein-3d

42_cube_3d's Introduction

ESCAPE THE CUBE

Projet Cube 3D - Ecole 42 Perpignan

Be prepared to face your biggest fears !

Requirements

run:

sudo apt install -y build-essential cmake libx11-dev libxext-dev zlib1g-dev libbsd-dev

To compile: go into 'Bonus'

make all

run with

./cube3d

list of commands :

./cube3d help

This is the final version with bonuses, I won't give you the easy simple version !

Items, chainsaw, SOUNDS..

Controls :

W > up | A > left | S > down | D > right | Shift > run | Space > attack

You should be able to use the mouse to rotate and attack but under some systems it doesn't work properly so use Q and E instead. If you are using a VM, it can cause this problem, try disabling mouse integration (automatic switching between host and VM)

If you get this error :

Parent window has XID 0x2c5
Found child window with XID 0x60000a
Move window = 1
Move window = 1
munmap_chunk(): invalid pointer
[1]    20008 IOT instruction (core dumped)  ./cube3d

Try running this

./cube3d diswin

Works under linux

til

42_cube_3d's People

Contributors

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