Q: Does morphic 'touchesA' work?

Karl Ramberg karl.ramberg at chello.se
Sun Dec 15 17:38:07 UTC 2002


Dave Brown wrote:
> Hi
> I'm fairly new to squeak and I am having trouble getting 'touchesA' to work.
> 
> Does it work?

Not the way you think it should :-)


> I am creating a morphic game for my kids ( with their help ) and want to 
> get a torpedo to hit a battleship. However when the torpedo goes under / 
> over the ship the yes part of the test is not triggered however the no 
> part seems to get triggered as soon as you set the script running.

Try using the colorSees tiles instead. Or get a 3.4beta image and use the
exelent collision detection stuff there.

Karl




More information about the Squeak-dev mailing list