|
-
Sep 9th, 2002, 08:33 PM
#1
Thread Starter
New Member
Question about certain sub procedures
Hey, I'm making a fairly simple laser shooting game cuz i'm bored and i just would like to know how to make the same sub procedure run more than once at a time, since i'm shooting lasers, i need to shoot more than once at a time. Right now my previous laser is stopping whenever i shoot the next one. If you think you can help me and need my code, just ask for it.
Thanks.
-
Sep 9th, 2002, 09:00 PM
#2
PowerPoster
Well
Perhaps in a timer? Not sure, but can another instance be created and used?
Remaining quiet down here !!!
BRAD HAS GIVEN ME THE ULTIMATIVE. I have chosen to stay....
-
Sep 9th, 2002, 09:12 PM
#3
Good Ol' Platypus
You need to keep track of the lasers, and update them each frame. If you aren't, you wouldn't be coding in a neat manner and you should learn to do so. There's a lot on OOP and game loops, just search around.
I'm sorry if that came out a little harsh but if you want your programming to be fun and a learning experience, you should push yourself
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
Sep 10th, 2002, 02:17 PM
#4
Thread Starter
New Member
i think i might have it
i just think i figured it out, i'll ask more specifically next time if it doesn't work, thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|