"Uwe =?iso | 16 Jul 22:45

Any hint how to use wrap?

Dear Squeakers,

can anybody give me a hint how to use the 'Sketch wrap' in the
Squeakland-Squeak version 3.8-05 #556?

Uwe
K. K. Subramaniam | 17 Jul 07:27

Re: 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
| 17 Jul 13:07
Favicon

AW: Any hint how to use wrap?

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: squeakland-bounces@...
[mailto:squeakland-bounces@...] Im Auftrag von K. K. Subramaniam
Gesendet: Donnerstag, 17. Juli 2008 07:28
An: squeakland@...
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.
(Continue reading)

K. K. Subramaniam | 17 Jul 15:24

Re: AW: Any hint how to use wrap?

On Thursday 17 Jul 2008 4:37:21 pm Hübner, Uwe wrote:
> Yes I expected that.
> But it doesn't work.
What exactly happens?

The attached project works fine in my Squeakland image.

Subbu
Attachment (SunAndSnow.001.pr): application/x-squeak-project, 29 KiB
_______________________________________________
Squeakland mailing list
Squeakland@...
http://squeakland.org/mailman/listinfo/squeakland
| 17 Jul 17:47
Favicon

AW: AW: Any hint how to use wrap?

Unexpectedly your project works.
Thanks.
But it doesn't work with
star forward by 5
Try it!

Uwe

-----Ursprüngliche Nachricht-----
Von: K. K. Subramaniam [mailto:subbukk@...] 
Gesendet: Donnerstag, 17. Juli 2008 15:25
An: Hübner, Uwe
Cc: squeakland@...
Betreff: Re: AW: [Squeakland] Any hint how to use wrap?

On Thursday 17 Jul 2008 4:37:21 pm Hübner, Uwe wrote:
> Yes I expected that.
> But it doesn't work.
What exactly happens?

The attached project works fine in my Squeakland image.

Subbu
Bert Freudenberg | 17 Jul 19:03

Re: Any hint how to use wrap?

Strange indeed. It also does not work in the OLPC Etoys image. I filed  
a bug report:

http://dev.laptop.org/ticket/7550

- Bert -

Am 17.07.2008 um 08:47 schrieb Hübner, Uwe:

> Unexpectedly your project works.
> Thanks.
> But it doesn't work with
> star forward by 5
> Try it!
>
> Uwe
>
> -----Ursprüngliche Nachricht-----
> Von: K. K. Subramaniam [mailto:subbukk@...]
> Gesendet: Donnerstag, 17. Juli 2008 15:25
> An: Hübner, Uwe
> Cc: squeakland@...
> Betreff: Re: AW: [Squeakland] Any hint how to use wrap?
>
> On Thursday 17 Jul 2008 4:37:21 pm Hübner, Uwe wrote:
>> Yes I expected that.
>> But it doesn't work.
> What exactly happens?
>
> The attached project works fine in my Squeakland image.
(Continue reading)

K. K. Subramaniam | 17 Jul 20:56

Re: AW: AW: Any hint how to use wrap?

On Thursday 17 Jul 2008 9:17:09 pm you wrote:
> Unexpectedly your project works.
> Thanks.
> But it doesn't work with
> star forward by 5
forward command will not go beyond the fence if the playfield option "fence 
enabled" is set. So it will not wrap around. If you want morphs to wrap 
around in a playfield, turn the fence off (see attached project).

Subbu
Attachment (SunAndSnow.002.pr): application/x-squeak-project, 37 KiB
_______________________________________________
Squeakland mailing list
Squeakland@...
http://squeakland.org/mailman/listinfo/squeakland
"Uwe =?iso | 17 Jul 22:17

Re: AW: AW: Any hint how to use wrap?

You are absolutely right.
:-)
Many thanks!
Uwe

On 18 Jul 2008 at 0:26, K. K. Subramaniam wrote:

> On Thursday 17 Jul 2008 9:17:09 pm you wrote:
> > Unexpectedly your project works.
> > Thanks.
> > But it doesn't work with
> > star forward by 5
> forward command will not go beyond the fence if the playfield option "fence 
> enabled" is set. So it will not wrap around. If you want morphs to wrap 
> around in a playfield, turn the fence off (see attached project).
> 
> Subbu
> 

Gmane