Skip to content

Latest commit

 

History

History
35 lines (28 loc) · 1.43 KB

File metadata and controls

35 lines (28 loc) · 1.43 KB

3D_Maze Project

  • The Maze is a 3D Maze game that uses ray casting to render a 2D map into a 3D navigable world!.
  • This game was written in C using SDL2 library. Deveploment was performed using Ubuntu 14.04 LTS - gcc (Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4.

Requirements to Play

  • Linux/ubuntu
  • SDL2 and its sdl2_image

Installation

  • Sdl2 installation download the installation script install_SDL2.sh and run it in your ubuntu Terminal as follows: root@h:cd ~/Downloads$ ls install_SDL2.sh root@h:cd ~/Downloads$chmod 755 install_SDL2.sh root@h:cd ~/Downloads$sudo ./install_SDL2.sh

Play the game

  • clone the github repository

  • Type make in the terminal at the MVP directory

  • Execute ./play and enjoy the game!.

  • Use up and down arrow keys to move forward and backward (keys w and s serve the same function)

  • Use right and left arrow keys to turn the camera arround (keys d and a serve the same function)

Controls

  • W or up arrow key - Moving forward
  • S or down arrow - Moving backward
  • left arrow key - to rotate the player in counter clock wise direction
  • right arrow key - to rotate the player in clock wise direction

project Demo

Authors