Skip to content

An OpenGL and GLUT based 3D videogame, where the player has to complete different levels shooting the targets with a certain amount of bullets.

License

Notifications You must be signed in to change notification settings

Lombavix-Team/FiringRange3D_OpenGL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FiringRange3D_OpenGL


Logo

Abstract

An OpenGL and GLUT based 3D videogame, where the player has to complete different levels shooting the targets with a certain amount of bullets.

Example of play:


Table of Contents

  1. About The Project
  2. Getting Started
  3. Contacts

About The Project

In this work we propose an OpenGL and GLUT based videogame where the player, in order to win the game, has to hit all the targets (two times, each shot removes 50% of their "life"). The project is basically composed by three scenes: the menù, the game area and the scoreboard. The goal of the game is to eliminate all targets in a set time interval with a certain number of bullets available; the target movement speed and the amount of bullets available are dependent on the selected difficulty.

Libraries

Getting Started

Istructions for code and installation are down below.

Code structure

src
├── main.cpp
│   ──> contains the window creation, the callbacks and the drawing routine
├── GameAssets.cpp
│   ──> contains the class for the texture loading
├── GenericModel.h
│   ──> contains the 3D model class that is extendes by Bullet, Target etc...
| ...

Installation and usage

The project has been developed by using Visual Studio Code 2022, so we highly recommend this IDE in order to clone this repo and try to develop and improve this work. The VSC files are missing, so you need to create first a blank project and inputting the source code of this repo into it.

Contacts

About

An OpenGL and GLUT based 3D videogame, where the player has to complete different levels shooting the targets with a certain amount of bullets.

Topics

Resources

License

Stars

Watchers

Forks