Projectiles

If I wanted to make a Bullet shoot from something automatically as soon at the game starts and continue to shoot every say 2 or 3 seconds(creating a new object), What would I do? I'm using SDL/C++.
Last edited on
What is no one on? or no one want to help me? It seems everyone else gets helped and the new people that need help don't get it.
It's gone 10 minutes from when you created the topic, have some patience.
closed account (jwC5fSEw)
No one will want to help you if you can't be patient. The vast majority of questions get answered on here, and you'll see that some of them take hours to get answers. The members of this forum are answering questions because they want to help, not because they have to, so don't bump your question after 10 minutes.
On topic: It would help if you could just show us what you have til now.
Last edited on
Ooooooooh... mice... (as opposed to rats)... really, there's only so many of us actively helping the community. We think we do a fairly good job (at least I do), but...

Using a time.h is a potential solution to your time problem. Using a while loop and every time 2 or 3 seconds elapses creating one of several pointers to different but identical objects is a potential solution. I recommend using pointers, unless your game is really performance-intensive.

Any further details or other solutions will require an extra post from you. ;)

-Albatross
Topic archived. No new replies allowed.