When a Playfield is told to "look like" another morph it becomes a SketchMorph. I'd expect it to just change its appeareance. That is, it should change its sticky background morph to look like that other Morph. This would be consistent with the fact that I can just paint on it via the halo, which actually paints onto the background morph.
I'm not quite sure where to hook into, so no fix yet.
-- Bert
Bert --
Both of the "reasonable" options should be allowed. We've never quite gotten around to making all this consistent. The idea is that etoy players have costumes. "Look like" is supposed to change costumes.
What you suggest for Playfields makes some sense, but it isn't quite consistent with the costume view. Maybe you can figure out a nice scheme that accomodates all ...
Cheers,
Alan
------
At 12:45 AM +0200 10/1/02, Bert Freudenberg wrote:
When a Playfield is told to "look like" another morph it becomes a SketchMorph. I'd expect it to just change its appeareance. That is, it should change its sticky background morph to look like that other Morph. This would be consistent with the fact that I can just paint on it via the halo, which actually paints onto the background morph.
I'm not quite sure where to hook into, so no fix yet.
-- Bert
--
How about adding to Playfields the "graphics" category from SketchMorph, which forwards all requests to the background morph? That way we can have both, changing the "custom" and changing the graphic only.
I'd also proposing to rename "look like" to "wear custome of" or even "become image of" to make the distinction clear.
Also, choosing a new custome seems to alwas destroy a morph. If I tell a Polygon to "look like" another Polygon, even then it is converted to a Sketch. I wonder why? Also, it there the possibility to revert to the original custom?
I guess I haven't really grasped the idea of players vs. customes. Is that explained somewhere?
-- Bert
On Mon, 30 Sep 2002, Alan Kay wrote:
Bert --
Both of the "reasonable" options should be allowed. We've never quite gotten around to making all this consistent. The idea is that etoy players have costumes. "Look like" is supposed to change costumes.
What you suggest for Playfields makes some sense, but it isn't quite consistent with the costume view. Maybe you can figure out a nice scheme that accomodates all ...
Cheers,
Alan
At 12:45 AM +0200 10/1/02, Bert Freudenberg wrote:
When a Playfield is told to "look like" another morph it becomes a SketchMorph. I'd expect it to just change its appeareance. That is, it should change its sticky background morph to look like that other Morph. This would be consistent with the fact that I can just paint on it via the halo, which actually paints onto the background morph.
I'm not quite sure where to hook into, so no fix yet.
-- Bert
squeak-dev@lists.squeakfoundation.org