Followers 0

# opengl question

## 13 posts in this topic

well it has been almost 2 months since I posted to this forum. is it still ok if I ask a very simple question?

0

##### Share on other sites

I have to admit I'm interested in seeing where this goes...

As far as I can tell, the forums are (still!) open for people asking questions. Keep in mind that, as L. Spiro (and probably others) has mentioned before, there are good/effective ways to ask questions, and there are bad/ineffective ways. This has all been said before, so I won't repeat it here.

If you have a simple question I would encourage you to ask it. If it's something which can be answered in a sensible manner, I'm sure people will answer.

Regardless, good luck with whatever you're trying to accomplish, even though I don't personally really see the point in making a thread to ask whether you can ask something.

2

##### Share on other sites

well it has been almost 2 months since I posted to this forum. is it still ok if I ask a very simple question?
If you don't know the answer, how do you know it is simple?
1

##### Share on other sites

well I have done a lot of reading about opengl, in fact I am reading the "red book" which is the opengl programming guide. however I have a very simple question to ask. I have searched the internet for answers but I am still a little confused. All I want to do is shoot a bullet sprite from a space ship sprite. I want to shoot bullets like in asteroids, in a machine gun fashion. I am using the space bar to shoot bullets. here is the code I working on.

void

bullet()
{
up += 0.5f;

if (up >= 18.0f)
{
up = 0.0f;
}
}
void

handleKeypress(unsigned char key, int x, int y) {

switch (key) {

case 27: //Escape key
exit(0);

break;

case 32: //Space Bar
bullet();

break;
}
glutPostRedisplay();
}


I know this is a very simple question but I need a new set of eyes to look at this problem.

thank you in advance for your patience. I am doing the best that I can do.

0

##### Share on other sites

then how do I ask a relevant question?

0

##### Share on other sites

how does everyone else get so good at game programming and I have such a hard time, am I just stupid?

0

##### Share on other sites

well then am I just stupid?

0

##### Share on other sites

well then am I just stupid?

Way to miss the point.

Edit:

To clarify. Yes. I now see you as a stupid person.

Edited by diventurer
1

##### Share on other sites

thanks I really appreciate that.

0