|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread |
Rating:
|
Display Modes |
|
|
#1 |
|
Member (5 bit)
Join Date: May 2002
Location: Mtl,CAN
Posts: 16
|
Im sure this is quite easy but I can't figure it out!
So I have a space ship and I want to fire several shots by pressing a key. How do you do this??? Is one variable needed for every shot? Plz help |
|
|
|
|
|
#2 |
|
Member (4 bit)
Join Date: Jun 2002
Location: Ohio
Posts: 13
|
Yeah, keep an array of the max # of projectiles and turn them "on" when fired. Then for each on that is "on" check for collisions and move them, etc.
|
|
|
|
|
|
#3 |
|
Professional gadfly
|
It sounds like the perfect use for a class module and creating a shot class.
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|