|
-
Some things I don't understand..
If there are 10 attached bullets, bullet0 .. bullet9, how do you skip checking for bullets that have been removed? If bullets 2 to 7 have hit an enemy and have been removed, how would you make a for loop to only check bullets 0,1,8 and 9?
edit: I think a for in loop would work, but according to test 4 on this site it's slower than a regular for loop.
Last edited by ballofsnow; 05-11-2004 at 04:55 PM.
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
|