Am 06.10.2004 um 14:55 schrieb Hilaire Fernandes:
Hello,
I cannot get an expected result with the "overlaps" tile to make overlaps test.
I can get it work with one instance of a player 'krill', let's say:
'fish overlaps krill'
however this test does not work with a clone of krill.
I was expecting that the overlaps method was working at a class level and not at an instance level. Or maybe there is something I have not understand.
The "overlaps" test only checks for collision with exactly the given object.
Concening the toucheA I did not succeed to use it in test condition.
Works for me. The touchesA tile should do exactly what you want, the test succeeds for any copy of a given sketch. See attached project.
- Bert -