Scaled World

Ned Konz ned at bike-nomad.com
Mon Mar 24 22:37:55 UTC 2003


On Monday 24 March 2003 02:08 pm, Daniel Parnell wrote:
> Thankyou very much.
> I've had a bit of a play.  What would be really cool is if I could
> scale the world, but when I open a browser (or some other window)
> it is opened with a scale factor such that at the current world
> scale it is full size, so I can have all sorts of stuff going on at
> different scales.

You'd have to adjust the Morphic user interaction. Normally when you 
drop something (say a browser) on a PasteUpMorph (the World or 
another one), the browser becomes a child of that pasteUpMorph, and 
so would be scaled. If you had a PasteUpMorph with a different scale 
with some things in it, and then told it not to accept drops, then 
new Morphs opened in the World would stay at normal scale.

> -----Original Message-----
> From: Alan Kay [mailto:Alan.Kay at squeakland.org]
> Sent: Tuesday, 25 March 2003 1:22 AM
> To: The general-purpose Squeak developers list
> Subject: RE: Scaled World
>
>
> There are performance hits, but everything should work in a scaled
> playfield.
>
> Cheers,
> Alan
>
> ----At 5:11 PM +1100 3/24/03, Daniel Parnell wrote:
>
> Excellent, so I should be able to get things like browser windows
> and so on to live in there as well?
>
>
>
> Daniel
>
>
> -----Original Message-----
> From: Alan Kay [mailto:Alan.Kay at squeakland.org]
> Sent: Monday, 24 March 2003 4:01 PM
> To: The general-purpose Squeak developers list
> Subject: Re: Scaled World
>
>
> Hi Daniel --
>
>
> Try putting everything in a playfield (found in the supplies flap),
> get its halo of handles (cmd-click (MAC) alt-click PC), get its
> viewer (click on the blue eyeball handle at left-center), look in
> the geometry category and set the scale factor to something other
> than one. You can then use the yellow handle to rescale the
> playfield and everything inside will follow suit.
>
>
> Cheers,
>
>
> Alan
>
>
> -----
>
>
> At 3:10 PM +1100 3/24/03, Daniel Parnell wrote:
>
>
> G'day All,
>
>
>
>
>
>     what I'm wanting to do is scale a world and all the things in
> it.
>
>
> What I'd like to be able to do is have a simple way to set the
> scale factor for a world and have everything in that world change
> size accordingly.
>
>
>
>
>
> Is this sort of thing even possible?
>
>
> I've tried messing about with the TransformationMorph, which
> doesn't seem to do quite what I expected.
>
>
>
>
>
> Thanks
>
>
>
>
>
> Daniel
>
>
>
>
> --

-- 
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE



More information about the Squeak-dev mailing list