GithubHelp home page GithubHelp logo

ablaamim / cube3d_advanced_raycasting Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ael-bekk/cub3d-advanced-raycasting

1.0 0.0 0.0 98.84 MB

This project is a 3D game created from scratch written in C using an old graphic library mini-libx, presented with an old technology raycasting to make the 3D feeling looks pretty good

License: MIT License

C 87.07% Objective-C 12.19% Makefile 0.73%

cube3d_advanced_raycasting's Introduction

Cub3D ๐Ÿ‘พ

The goal of cub3d is to make something using raycasting (like Wolfenstein 3D).

First of all:

The more time I spend on the project, the much more I like it.

This project is written in c using mini-libx Library, This old library has a little builtin-funcs that's can make my project show on the graphics

Preview 1

Preview 2

Walk Through:

Documentation

Commands

KEY Action
ESC manual control
SPACE BAR run
ENTER jump
CONTROL crouch
A move left
D move right
W move forward
S move backward
โ†’ turn right
โ† turn left
shift hide/display map
MOUSE RIGHT CLICK shoot
MOUSE LEFT CLICK aim - focus
MOUSE SCROLL change weapon

you can customize the control keys inside the game settings

Run Programe:

_ if you'ar a 42-student :

  cd /Users/$USER/goinfre ; git clone [email protected]:ael-bekk/cube3d_advanced_raycasting.git
  cd cube3d_advanced_raycasting ; make ; ./cub3d maps/test.map

_ if not :

  git clone [email protected]:ael-bekk/cube3d_advanced_raycasting.git
  cd cube3d_advanced_raycasting ; make ; ./cub3d maps/test.cub

๐Ÿ“ License

This project is licensed under the MIT - see the LICENSE file for details.


cube3d_advanced_raycasting's People

Contributors

ael-bekk avatar

Stargazers

 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.