Skip to content

Punyaslok/3D-Obstacle-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

3D-Obstacle-Game

A simple 3D obstacle course game made in OpenGL

The final completed lies in Part2_2 folder. Readme can be found inside this folder.

To compile, run "g++ -o sample2D Sample_GL3_2D.cpp glad.c -lGL -lglfw -lftgl -lSOIL -ldl -I/usr/local/include -I/usr/local/include/freetype2 -L/usr/local/lib"

Gameplay : Reach the last tile of the maze. Running into an empty spot will mkae you fall down, and game will restart. Colliding with a fast moving tile will lead to loss of a life.

Controls : UP, DOWN, LEFT, RIGHT : Move player up, down, left, right respectively.
Player faces the mouse at all times.
SPACE : jump
Number keys 1 to 4 : Toggle camera views.
1 : Top view
2 : Tower view
3 : Adventurer view
4 : Follow me view
5 : Helicopter view => Scroll up/down to zoom in/out. Right Click + drag to change angle. Drag up/down to adjust elevation, left/right to adjust azimuthal angle.

Scoring : Reach the last block of the maze as fast as possible. As time taken increases, score decreases. Loss of a life leads to -1000.

About

A simple 3D obstacle course game made in OpenGL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages