Giter Club home page Giter Club logo

a-maze-gl's Introduction

a-maze-gl

Realtime OpenGL Maze Game

A simple yet pretty-looking interactive 3D first-person Maze Game built using OpenGL.

It's a maze game made with OpenGL. Geddit? ( ͡° ͜ʖ ͡°)

GAMEPLAY SNAPSHOT

Game Snapshot

GAMEPLAY VIDEO

Gameplay Video

MAP FORMAT

The map stores the world as a rectilinear map. The first row is width and height. The player will begin at the start point marked S and must reach the goal point marked G to finish the level. The player’s progress may be hindered by walls (marked W) and doors (marked with a capital letter A-E). Throughout the environment will be keys (marked with a lowercase a-e). A player may not cross through a door unless they have picked up the corresponding key. A player may never cross a wall.

No Doors Door w/ Key
5 5
0000G
WW0W0
0W0W0
0W0WW
S0000
5 5
0000G
WW0W0
0WAW0
0W0WW
S000a

BASIC FEATURES

  • Walls & Doors: Each map element type has a unique rendering. Walls look different than doors, and each of the five doors and keys look different than each other.
  • Keys: Each key is rendered as a physical object (key model). Whenever a player moves, the key is rendered in front of them moving with the character.
  • User Input: Users are able to move around the map with keyboard input. Rotate with the left and right keys, and move forward and back with the up and down keys.
  • Collision Detection: Users are not able to move through walls or locked doors.
  • Lighting: Ambient and diffuse lighting.

ADVANCED FEATURES - EXTRA CREDIT

  • Multiple point lights on the maze corners and an overhead directional light.
  • Soft-edged Flashlight that moves with the player.
  • Textured walls, floor, door, keys and goal.
  • Original models to represent keys, doors, walls, floor made with Wings3D.
  • Models can be loaded in the OBJ 3D models format. Supports v, vt, vn, f tags.
  • ENTER can be used to pick up a key or switch the key held by you.
  • The held key is always rendered pointing away from the user for a true first-person experience.
  • Holding SHIFT while moving or turning, does it faster.

a-maze-gl's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

game-works

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.