Skip to content

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

License

Notifications You must be signed in to change notification settings

khaledalam/arrow-shooting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages