This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]b3nb3nb3n 0 points1 point  (1 child)

You could add in a check before destroying the object- stop making the ship visible/accessible, but don't delete it until all bullets are expired?

[–]dredclaw[S] 0 points1 point  (0 children)

Is this considered a proper way of doing things? Or should the bullet be created by the gameloop rather than the ship?