Skip to content

A 3D third-person score-based game in raw C++ with OpenGL for the Computer Graphics course

Notifications You must be signed in to change notification settings

GabrielLins64/Pirate-Ball_Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Game: The Pirate Ball

A little score-based 3D game written purely in C++ and OpenGL, made for the Computer Graphics college course.


Index


Requirements


Installation (Linux)

Install the dependencies:

$ sudo apt install freeglut3-dev freeglut3

Build the project. In the root directory:

$ make

*Or, alternatively:

$ mkdir -p bin
$ g++ src/*.cpp -Iinclude -o bin/game -lglut -lGL -lGLU

Executing the game (Linux)

After the project build, do:

$ ./bin/game


Objective

Grab the gold bar and take it to the treasure chest. Do not let the blue wave touch you.

Tips

  • When are you carrying the Gold Bar, you'll become slower and perform a lower jump. So, if the wave is nearby, just drop it and take back later.

Controls

W - Roll forward;
S - Roll back;
A - Roll left;
D - Roll right;
Spacebar - Jump;
i - Increase ball size;
k - Decrease ball size;
p - Pause / Unpause;
esc - Exit
Left mouse button - Grab the gold bar;
Right mouse button - Drop the gold bar;
Mouse scroll - Change camera distance;
Mouse movement - Rotate view.


About

A 3D third-person score-based game in raw C++ with OpenGL for the Computer Graphics course

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published