With the current game I am working on, it's my first, I will need "guns". I know how to detect the key, but how do I use a function something like:
void fire(GLvoid)
{
// I need this
}
To create a "bullet" and make it travel through the space along the y axis?