Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | RE: FLASH: locate duplicate clips ? |
From: | mark |
Date: | Fri, 28 Apr 2000 14:56:21 +0100 |
How about making an array up, of 1's and 0's when you destroy when set its
corresponding element in the array to 0. Then when you are doing the random
processing just check in the array to see if that has been removed.
10 X 10 array
"invader"&XVal&YVal for a 2 dimensional array then just name your movie
clips Invader00, Invader01, Invader02....Invader99
-----Original Message-----
From: Fletch [Fletchfree [dot] fr (mailto:Fletchfree [dot] fr)]
Sent: 28 April 2000 14:28
To: flasherchinwag [dot] com
Subject: FLASH: locate duplicate clips ?
hi,
i made a game, sort of space invaders, in which each invader is
a duplicate movie of one of the 4 families of invaders (blue, red,
green,
yellow).
Everything is ok for collision and remove movie clips ;
my problem is that for the invaders shoot ramdomly, i introduced
a process that can't work fine, as it asks to 1 (randomly ) of the 9
invaders
of each family to shoot. if this one (the invader) has been removed
it results in a bug in the game.
i need to call one of the duplicated movies present at the moment on the
scene.
how to locate them ?
how to catch their names ?
thanx a lot for any help.
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the last 100 messages from the flasher list NOW
http://www.chinwag.com/flasher/last100.shtml
Flash books http://www.chinwag.com/flasher/books.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the last 100 messages from the flasher list NOW
http://www.chinwag.com/flasher/last100.shtml
Flash books http://www.chinwag.com/flasher/books.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]