Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: locate duplicate clips ? |
From: | Robert Bleeker |
Date: | Fri, 28 Apr 2000 03:10:38 +0100 |
Hi Fletch,
Inside your invader MC's you set variable "alive"=1 inside the first frame
of those MC's. Then when you are randomly selecting a duplicate MC you check
if that MC is alive:
If(randomMC:alive)
Comment: "Yes it is alive so you can use it"
End If
Maybe you want to loop the random selection until you get an alive MC. get
what I mean?
Robert
Robert Bleeker
CADRE design
http://www.cadre.com.au
+61-2-96859889
-+-
on 28/4/00 9:34 AM, Fletch at Fletchfree [dot] fr wrote:
> 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
Replies
Re: FLASH: locate duplicate clips ?, Fletch
Replies
FLASH: locate duplicate clips ?, Fletch
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]