📮 Simple 3D shooting game written in C++ OpenGL for Computer Graphics classes in 2021/2.
To run the game, you'll need to install FreeGLUT dependencies:
Make sure you have FreeGLUT installed on your system:
Debian | Arch |
---|---|
freeglut3 | freeglut |
freeglut3-dev | glu |
The program was developed to be compatible with Linux, or, more specifically, with Ubuntu 20.04. Other platforms might not produce correct results or might not even work at all.
An executable can be obtained by calling make
within the project directory. make help
will display information about relevant recipes from the Makefile.
The program can receive up to 3 arguments, in the following order:
-
./trabalhocg
: the game executable; -
arena.svg
: path to the svg file with arena information; -
-d
: to enable debug mode (draws collision boxes, etc).
Example: ./trabalhocg input/arena_teste.svg -d