When a turtle walks over a turtle/pen trail there is no way for it to see it. The 'color sees' tile does not work with pen trails nor do the observation tile 'color under'.
Anybody have any suggestiones ?
Karl
This used to work. And still should be working .... Scott? Mike?
Cheers,
Alan
------
At 11:10 PM +0100 3/1/03, Karl Ramberg wrote:
When a turtle walks over a turtle/pen trail there is no way for it to see it. The 'color sees' tile does not work with pen trails nor do the observation tile 'color under'.
Anybody have any suggestiones ?
Karl
--
Hi Karl,
There seem to be two independent problems here. One is that apparently pen trails in the world are ignored completely (if you're interested check out PasteUpMorph>>patchAt:without:andNothingAbove: which fills the area with the world's color only so that anything but a plain color will be ignored ... ho hum). That means only pen trails in any "inner" playfields can actually work.
The second problem seems to be related to color depth - even within some playfield I couldn't get this to work for any display depth > 8. Most likely there's some odd problem with mapping the colors to indexes correctly. So the only workaround I can recommend is to use some playfield _and_ set the display depth to 8bpp.
Cheers, - Andreas
-----Original Message----- From: owner-squeakland@squeakland.org [mailto:owner-squeakland@squeakland.org] On Behalf Of Karl Ramberg Sent: Saturday, March 01, 2003 11:10 PM To: squeakland@squeakland.org Subject: turtle trails
When a turtle walks over a turtle/pen trail there is no way for it to see it. The 'color sees' tile does not work with pen trails nor do the observation tile 'color under'.
Anybody have any suggestiones ?
Karl
Andreas Raab wrote:
Hi Karl,
There seem to be two independent problems here. One is that apparently pen trails in the world are ignored completely (if you're interested check out PasteUpMorph>>patchAt:without:andNothingAbove: which fills the area with the world's color only so that anything but a plain color will be ignored ... ho hum). That means only pen trails in any "inner" playfields can actually work.
I had a look before I posted on the list. And it turned out to solve my problem faster than to hack that 'patchAt' method ;-)
The second problem seems to be related to color depth - even within some playfield I couldn't get this to work for any display depth > 8. Most likely there's some odd problem with mapping the colors to indexes correctly. So the only workaround I can recommend is to use some playfield _and_ set the display depth to 8bpp.
That did the trick. Thanks.
Karl
squeakland@lists.squeakfoundation.org