Hi,
So I have a function that attaches a uniquely named emitter to each individual bullet that the user fires. The problem is I can’t stop&remove the emitter in my enemy tank collision function because the emitter is localized to my shootBullet function.
Here is a video explaining in more detail:
video
(HD when downloaded)
Edit: the video should be 16:25 - when I went to view it, at first it said it was only 15:00 … -_- it seems to have fixed itself.
I worked for quite a while yesterday on this, but after moving code around (removing local from within the functions so other function could reference things, rewriting certain functions to try and make use of the forward declarations) everything just became a mess which is why I went back to my original function.
Thoughts, tips and advice are all welcome.
-Saer