Coder Social home page Coder Social logo

maze-3d's Introduction

Maze 3D

This is a simple maze game written in OpenGL. The objective of the game is to reach the end of the maze.

NOTE: This was done as a final project for the subject Computer Graphics. Some of the starter code was written by the professor, while the rest of it was written by me and my project partner.

Video link

https://www.youtube.com/watch?v=nXODF0Ps1uM

Screenshots

When the game starts -

The entire maze in the "Peek view" -

At the finish line -

Features

  • Aim of our project was to create a 3-D maze, much like the old game Wolfenstein-3D (1992)
  • Maze representation of walls
  • Collision detection (Bounding-box)
  • Sky-cube
  • Smoothing movements
  • Normals implementation on walls
  • Lighting
  • Animated finish point indicator

Keyboard/Mouse controls

  • You can turn around horizontally using the mouse.
  • w or - Move Forward
  • s or - Move back
  • a or - Move left
  • d or - Move right
  • q - Look up
  • e - Look down
  • p - Peek view - Camera is hoisting above the maze. You can still turn around, but moving forward or backward is disabled.
  • esc - Quit the game

Contributors

External resources

TODO/Improvements

  • Our maze is basically a static one. We had an intention of randomly generating a maze every time this program is run. We did not do it, primarily due to time constraints, and we wanted to work on more graphics-related aspects of the project.
  • Add Sliding collision - Right now, when brushing against the wall, the camera stops. Using sliding collision would avoid that.
  • Adding a sound whenever the camera moves (I want "Jump in the Fire" by Metallica)

maze-3d's People

Contributors

gnithin avatar mikeshah avatar wei-lihuang avatar

Watchers

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