Skip to content
Arrow Shooting 2D Game in C++ using OpenGL and various Trigonometry and Geometry Algorithms.
C++
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
imgs
.gitignore
LICENSE
README.md
arrow.jpg
arrowGame
main.cpp
preview.gif fix score. Aug 10, 2019

README.md

Arrow-Shooting

Arrow Shooting 2D Game in C++ using OpenGL and various Trigonometry and Geometry Algorithms.

Preview:

Inital design of the game idea:

Design fire function:

Usage:

Build:

$ g++ main.cpp -o arrowGame -lGL -lGLU -lglut
$ ./arrowGame

Keys:

[Up] -> increase arrow angle
[Down] -> decrease arrow angle
[Left] -> reset arrow position to default
[Right] -> shoot arrow
[Space] -> shoot arrow
[R] -> restart game

You can’t perform that action at this time.