Hi I'm using AS2 to produce a simple platform game. So far so good I would like the character to collect coins or whatever. so what I have done is create a coin movie clip, I've run a hittest on the coin and my character and when this = true set the coin to _visible = false, move it way off screen and add 10 point to the _global.score. all is working fine but I haven't a clue about having more than one instance of the coin, or more precisely I do have a clue but I don't want to have to name all the instances differently and have reams of if statements (one for each instance). I'm sure that there is an easier way and I guess that I just need some direction.
I am new to AS2 so please go easy on me.
I am new to AS2 so please go easy on me.
Comment