You could set up a lingo loop that defines and adds rects to a list (array)
and then use only one sprite to "stamp" the appropriate color at the right
point on the screen when the rext is clicked...

Boyd Speer
Touchstone Digital Design

At 11:07 PM 5/8/01 +0100, you wrote:
>I think I'll have to go the "loads of sprites" way, but is there a way of
>duplicating the one sprite to form the grid?
>
>Thanks
>
>Jim
>
>----- Original Message -----
>From: "R. Bhakti Klein" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Tuesday, May 08, 2001 10:20 PM
>Subject: Re: <lingo-l> returning to dir: making a grid with an array
>
>
>> you could do the whole crazy thing with one big bitmap and lots of
>> imaging lingo...
>>
>> otherwise that's a whole heck of a lot of sprites.  one way to do it is
>> to make a filmloop or linked movie containing one row of 50 squares, and
>> use 50 sprites of that linked movie to make the 50 rows....
>>
>> --bhakti
>>
>>
>> Jim Weekes wrote:
>> >
>> > Hello all,
>> > I've only just come back to using director, as my last few projects have
>> > been using Authorware, so i need to get my head round the timeline
>metaphor
>> > again. Although i'm not new to director, as some of you may know coming
>from
>> > Authorware to Director can be very confusing.
>> >
>> > I need to make a grid of squares 50 x 50 and all need to be
>referenceable as
>> > when each one is clicked on it needs to change colour. It needs to be in
>> > some kind of array as i need to check the state of the squares
>surrounding
>> > each square that is selected. Is there a way to produce this grid
>without
>> > having to draw out 2500 squares?
>> > Any ideas?
>> > I have the code solving my problem but it needs implementing with
>director
>> > and, as i said, getting back into lingo programming after a break is a
>very
>> > slow process.
>> >
>> > Thanks
>> >
>> > Jim
>> >
>> > [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!]
>>
>> --
>> R. Bhakti Klein
>> Educational Software R & D
>> http://www.DLWorkshop.net
>> ..
>> Baritone
>> ...
>> "On Earth, you can only do little things;
>> but you can do them with a lot of Love."
>>                               -- Mother Theresa
>>
>> [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!]
>>
>>
>
>[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!]
> 


[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