Skip to content

A game finding the exit in the maze by using OpenGL

Notifications You must be signed in to change notification settings

SorasitWang/maze

Repository files navigation

maze

Collect all stars and find the goal!

Features :

  • Basic character movement and handle when collide with walls
  • Show the 2D direction to goal position by using compass
  • Collect object when walk through
  • Jumping simulation
  • Apply skybox for background
  • Light mode : flashlight and spotlight
  • Using instancing to create lost of rocks (100)
  • Create shadow

How to play :

  • W A S D : move forward left backward and right
  • MOUSE : rotate camera along x y axis (only in 1st person view)
  • SPACE : jump
  • TAB : change view mode between 1st person view (flashlight) and 3rd person view (spotlight from above)

You have to find the goal of this maze and also collect all stars for open it. when you collect then all, the spotlight will be on at the goal position. You can jumping to see the surroundings and use compass to navigate the way to goal.

Preview

maze.mp4

Credit

Study from https://learnopengl.com/ and also some of the code.

About

A game finding the exit in the maze by using OpenGL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published