Login  Register

AW: Any hint how to use wrap?

Posted by "Hübner, Uwe" on Jul 17, 2008; 11:07am
URL: https://forum.world.st/Any-hint-how-to-use-wrap-tp115059p115061.html

Yes I expected that.
But it doesn't work.

Even in a newer image! (Squeak3.9-final-7067.image)

I thought, I was doing something wrong...

Is it broken?

Uwe (uwe4711 web.de)

-----Ursprüngliche Nachricht-----
Von: [hidden email] [mailto:[hidden email]] Im Auftrag von K. K. Subramaniam
Gesendet: Donnerstag, 17. Juli 2008 07:28
An: [hidden email]
Betreff: Re: [Squeakland] Any hint how to use wrap?

On Thursday 17 Jul 2008 2:19:30 am Uwe Hübner wrote:
> Dear Squeakers,
>
> can anybody give me a hint how to use the 'Sketch wrap' in the
> Squeakland-Squeak version 3.8-05 #556.
When an object moves beyond the limits of its container, wrap makes it re-appear on the other side. It is as if the container is a globe.

Try dragging a playfield out of Supplies into the world and then drag a star into this playfield. Open the viewer for the star and create the following script and start ticking that script.
        star forward by 5.
        star wrap.

You can turn the star around to see what happens as it moves disappears out of view in different edges.

HTH .. Subbu

_______________________________________________
Squeakland mailing list
[hidden email]
http://squeakland.org/mailman/listinfo/squeakland

_______________________________________________
Squeakland mailing list
[hidden email]
http://squeakland.org/mailman/listinfo/squeakland