What methods are people using to keep track of all their different object instances?
For example when a player fires a bullet instance, how do u track the number of bullets flying around? and when one is destroyed?
I was thinking of a variable size array! are these possible in BMax?
If it is possible, how would you re-organise the array when one is destroyed? Say for example u have 3 bullets, bullet[0], bullet[1], bullet[2]. Now assume bullet[1] is destroyed, you would want to move bullet[2] in to bullet[1] wouldn't you??
For example when a player fires a bullet instance, how do u track the number of bullets flying around? and when one is destroyed?
I was thinking of a variable size array! are these possible in BMax?
If it is possible, how would you re-organise the array when one is destroyed? Say for example u have 3 bullets, bullet[0], bullet[1], bullet[2]. Now assume bullet[1] is destroyed, you would want to move bullet[2] in to bullet[1] wouldn't you??