ShootIT is a basketball game developed using OpenGl and Glut library written in C.
ShootIt is developed as a project for Computer graphics course at the Faculty of Mathematics in Belgrade, Serbia.
These instructions will get you a copy of the game up and running on your local machine. This version is mainly tested on Ubuntu.
What things you need to install the software and how to install them
Install freeglut
$ apt-get install freeglut3-dev
How to install and run the game
- Download the repository
- Go to src folder and run
$ make
$ ./shootit
Ball is generated randomly on the field, and the time on the semaphore begins. A player has 90 seconds to score as many points as he can. Angle and strength shot can be altered using keyboard. As soon as the ball hits the floor a new one is generated. Score is printed on the scoreboard. Ball that is generated can be regular basketball or a bowling ball. Naturally the bowling ball is heavier and hence needs a greater shot power to score. Changing the angle and strength of the shot can be seen as small balls that represent in what direction is the ball heading. If hard mode is activated this shot assistance is not visible. Player can see the field from all angles and change the lighting.
Key | Description |
---|---|
a s |
Changing the camera location |
w a |
Changing the angle of the shot |
j k |
Increasing/Decreasing the strength of the shot |
l |
Turn on/off head lighting |
h |
Turn on/off hard mode |
space |
Shoot the ball |
ESC |
Exit |
- OpenGl and Glut
- LogoMakr for making the logo
- Nikola Dimić - dimaria95
This project is licensed under the MIT License - see the LICENSE.md file for details