touchesA: (Does anyone think it works?)

Karl Ramberg karl.ramberg at chello.se
Tue Jan 29 17:34:20 UTC 2002


Bob Arning wrote:
> 
> Rik,
> 
> The *feature* probably overlooked is that this only works for SketchMorphs and I'm gessing (Star) is a StarMorph. What it will do is something like
> 
>         paint a blue star freehand
>         name it "bluestar"
> 
>         some script can change its object's appearance by saying "foo look like bluestar"
> 
>         some other script can say "bar's touchesA bluestar" and you should get a true if foo overlaps bar.
> 
 
Maybe the test should work on all morphs( e.g. the rendered form of each
morph =
to avoid this confusion and have it work as a general collition
detection 
for the etoy scripting ?

All those kids making all those games need it :-)


Karl



More information about the Squeak-dev mailing list