Hej again.

I guess I failed describing what I really wanted to know. I do know how put
a specific sprite at random position every mouseDown/mouseUp event. What I
would like to know is how to put a _new_ sprite, a _new_ instance of say
"abc.bmp", at a random position every time the mouse is pressed(or key is
pressed, or whatever). So that i finally end up with 100(or 200 or so)
instances of the same bitmap. Your sample code simply moves sprite no 1,
doesn't it?

I'm sure this is easily done, but I'm very new to this Director/Lingo thing.

At 07:22 2001-01-16 -0800, you wrote:
>on mouseUp
>  sprite(1).loch=random(600)
>  sprite(1).locv=random(400)
>end
>
>
>-----Original Message-----
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
>Behalf Of Marcus Adolfsson
>Sent: 15 January 2001 17:34
>To: [EMAIL PROTECTED]
>Subject: <lingo-l> Paint a vulgar picture... eller something
>
>Hej.
>
>Here is a newbie question for you:
>If I wanted an instance of the bitmap "abc.bmp" to appear, at random
>position, every time I press the mouse button, how would I do that? How do
>I add new sprites to "the stage" at run time?
>
>//Marcus


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to