Moving images around randomly
Sarah
sarahr at genesearch.com.au
Mon Nov 25 21:59:01 EST 2002
I haven't done anything like yet, but I would recommend against having
the code in each object unless they all do different things. If the
objects all respond in the same way to a click, then put the script in
the card or stack and check "the target" to see what was actually
clicked.
The movement variables could be stored as custom properties of each
object.
Sarah
On Tuesday, November 26, 2002, at 05:58 am, Barry Levine wrote:
> Before I try to re-invent the wheel, has anyone done or seen anything
> similar to this (that you would like to share)? I would imagine that
> the code resides in each object. I also would think that the direction
> of each object's travel will need to be mapped to a variable that
> changes as the object collides with another object or one of the
> "walls".
More information about the use-livecode
mailing list