PDA

View Full Version : Random Falling Circles that disappear when clicked



Laxaria
August 23rd, 2008, 06:09 AM
Hello.

I am trying to have a game where there is around 5 or so random falling circles that fall from the top of the stage to the bottom. Clicking on any of one of these movie clips will cause it to disappear from the stage. At any one time there should be around 5 shapes on the stage.

Unfortunately, I've tried improvising on the Falling Snow tutorial but I simply can't seem to do the following things:

1) Make the movie clip fall as a duplicated movie clip
2) Make the movie clip disappear when clicked

Can I have some assistance please?

bluemagica
August 23rd, 2008, 09:13 AM
well what you are asking is really too easy, but before i tell you something, what are you using for this? as2 or as3?

Krabex
August 23rd, 2008, 03:16 PM
I had a few minutes so i knocked you up somthing to learn from, its messy lazy code but it works. The .fla is commented and the variables are descriptive so it shouldnt be to hard to understand. I suggest you read my code... then have a go at making your own, so no copy and pasting!!

SparK_BR
August 24th, 2008, 10:06 PM
MAN!
that game is too hard! XD
falling speed is killing me!

Krabex
August 25th, 2008, 02:06 PM
muhahahah