This is my project for the course STE6249-001-1 18V Virtual Reality. Game itself is a 3D version game inspired by Space Invaders.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
NB If you are unable to run the game on your PC you can see the video showing off the game here: YouTube video or in the project folder.
You need to have QtCreator
installed on your PC as well as Clang
and C++
libraries. Other libraries required are: glm
, glu
, freeglut
, lib32-glu
, lib32-freeglut
, and soil
.
Arch: sudo pacman -S glm glu freeglut lib32-glu lib32-freeglut soil
Debian: sudo apt-get install libglm-dev libglu1-mesa-dev freeglut3 libsoil-dev
I am unsure if Debian packages are correct as I use Arch system myself.
IMPORTANT glm
cannot be of version 0.9.9.0 or later, it can be at latest of version 0.9.8.5-2, since in version 0.9.9.0 they changed how vectors and matrices are initialized.
In order to downgrade glm you will need to do following on Arch:
sudo pacman -S downgrade
sudo downgrade glm
You will then be asked to choose a specific version from the list. Choose version 0.9.8.5-2 and press enter to confirm.
On Debian systems this can be achieved by running:
sudo apg-get install libglm-dev=0.9.8.5-2
To run the game you will need to download the project and unzip it somewhere in your system. Then open QtCreator and choose the Open Project button. After that navigate to the project folder and choose the CMakeLists.txt
file.
On the following screen you will be asked to configure the project, choose a kit that uses Clang
as a compiler and setup the project to look something like you see on the screenshot. Confirm by clicking on Configure Project
.
After that choose the Projects
tab on the left. On the Build & Run
menu choose Run
, and set the project root folder as the Working Directory
.
Now you can run the application on your PC.
W
A
S
D
keys for movements.
Spacebar
key for pausing the game.
1
2
keys to change weapons.
Left mouse button
fire weapons.
Game is set on another planet with strange enemy ships made of colours (couldn't find a low poly model with textures) and mercury lakes that reflect the purple skies of this alien planet.
- QtCreator - C++ IDE.
- OpenGL - Graphics rendering system.
- GLM - OpenGL Mathematics.
- FreeGLUT - Free-Software alternative to OpenGL Utility Toolkit.
- SOIL - C library for uploading textures to OpenGL.
Daniel Salwerowicz - Developer - MormonJesus69420
Kent Arne Larsen - Co-student
Christopher Kragebøl Hagerup - Co-student
Victor Lindbäck - Co-student
Olav Kjartan Larseng - Co-student
This project is licensed under the WTFPL License - see the LICENSE.txt file for details.