Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 598 Bytes

README.md

File metadata and controls

33 lines (22 loc) · 598 Bytes

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