<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Yeah, I was surprised (shocked?) it didn't work in Etoys. Oh, well...<br><br>MIchael<br><br><br>--- On <b>Sun, 4/10/11, Bert Freudenberg <i><bert@freudenbergs.de></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Bert Freudenberg <bert@freudenbergs.de><br>Subject: Re: [Newbies] Re: Randomness + Pause/Delay?<br>To: "A friendly place to get answers to even the most basic questions about Squeak." <beginners@lists.squeakfoundation.org><br>Date: Sunday, April 10, 2011, 1:49 PM<br><br><div id="yiv661050539"><div>That just freezes the world during the path following. Which I would consider a bug - in the Etoys image, path following happens simultaneously with all other animations.</div><div><br></div><div>Adding such a delay would be trivial, just have a textual script with
something like "(Delay forSeconds: 1) wait". But that would not be a substitute for a real "wait" tile. It does not just stop the script it is in, but *every* script in the whole system.</div><div><br class="yiv661050539webkit-block-placeholder"></div><div><span class="yiv661050539Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Lucida Grande'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px;"><div style="font-family: Helvetica;"><span class="yiv661050539Apple-style-span" style="font-family: Helvetica;">- Bert -</span></div><br class="yiv661050539Apple-interchange-newline"></span></div><div><div>On 10.04.2011, at 16:34, michael rice wrote:</div><br class="yiv661050539Apple-interchange-newline"><blockquote type="cite"><table border="0"
cellpadding="0" cellspacing="0"><tbody><tr><td style="font: inherit;" valign="top">Delay can be accomplished with "follow path."<br><br>1) Put an ellipse morph at 100@100<br>2) Give it a path from present location straight up to top of screen.<br>3) Create script named "delay" for ellipse<br> Ellipse do menu item follow existing path<br> Ellipse x <- 100<br> Ellipse y <- 100<br>4) Put a rectangle morph at bottom center of screen<br>5) Create script for rectangle<br> Ellipse delay<br> Rectangle forward by 5<br><br>Click on ! to execute rectangle script. Ellipse follows path and returns to 100@100, delaying move of rectangle.<br><br>Michael<br><br>--- On <b>Sat, 4/9/11, Bert Freudenberg <i><<a rel="nofollow" ymailto="mailto:bert@freudenbergs.de" target="_blank"
href="/mc/compose?to=bert@freudenbergs.de">bert@freudenbergs.de</a>></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Bert Freudenberg <<a rel="nofollow" ymailto="mailto:bert@freudenbergs.de" target="_blank" href="/mc/compose?to=bert@freudenbergs.de">bert@freudenbergs.de</a>><br>Subject: Re: [Newbies] Re: Randomness + Pause/Delay?<br>To: "A friendly place to get answers to even the most basic questions about Squeak." <<a rel="nofollow" ymailto="mailto:beginners@lists.squeakfoundation.org" target="_blank" href="/mc/compose?to=beginners@lists.squeakfoundation.org">beginners@lists.squeakfoundation.org</a>><br>Date: Saturday, April 9, 2011, 6:33 AM<br><br><div id="yiv661050539"><div>Well, often in Etoys you need a slight shift in perspective to make the solution fit a lot better. Approaches from other systems do not always map well.</div><div><br></div><div>E.g., a
typical approach to implement PacMan would be to have PacMan object with a script to eat peas. In Etoys it's a lot easier for each pea to have a script checking if it was eaten.</div><div><br></div><div>So if you could let us know, in high-level terms, what the intended behavior is, we might be able to come up with ideas how to do that in
Etoys.</div><div><br></div><span class="yiv661050539Apple-style-span" style="font-family: Helvetica; font-size: 12px;">- Bert -</span><div><font class="yiv661050539Apple-style-span" face="Helvetica"><br></font><div><div>On 08.04.2011, at 21:40, michael rice wrote:</div><br class="yiv661050539Apple-interchange-newline"><blockquote type="cite"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font: inherit;" valign="top">Thanks.<br><br>One forgets it's not a real-time simulation.<br><br>Michael<br><br>--- On <b>Fri, 4/8/11, David Corking <i><<a rel="nofollow">lists@dcorking.com</a>></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: David Corking <<a rel="nofollow">lists@dcorking.com</a>><br>Subject: Re: [Newbies] Re: Randomness + Pause/Delay?<br>To: "A friendly place to get answers to even the most basic questions about Squeak." <<a
rel="nofollow">beginners@lists.squeakfoundation.org</a>><br>Date: Friday, April 8, 2011, 2:01 PM<br><br><div class="yiv661050539plainMail">On Thu, Apr 7, 2011 michael rice wrote:<br><br>><br>> But the two scripts, blueAction and redAction, in sequence, appear to happen simultaneously.<br>> Is there a delay mechanism, like a marktime tile, that could separate two scripts by a specified<br>> number of ticks? If not,
are there any plans for one?<br><br>I saw these two posts last year. They might help:<br><br><a rel="nofollow" target="_blank" href="http://lists.squeakland.org/pipermail/etoys-dev/2010-October/005888.html">http://lists.squeakland.org/pipermail/etoys-dev/2010-October/005888.html</a><br><br><a rel="nofollow" target="_blank" href="http://lists.squeakland.org/pipermail/etoys-dev/2010-October/005887.html">http://lists.squeakland.org/pipermail/etoys-dev/2010-October/005887.html</a><br></div></blockquote></td></tr></tbody></table></blockquote></div><div><br></div></div></div></blockquote></td></tr></tbody></table></blockquote></div><div>
<span class="yiv661050539Apple-style-span" style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Lucida Grande; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px;"><div style="font-family: Helvetica;"><font class="yiv661050539Apple-style-span" face="'Lucida Grande'"><span class="yiv661050539Apple-style-span" style="font-size: medium;"><font class="yiv661050539Apple-style-span" face="Helvetica"><br></font></span></font></div></span></div></div><br>-----Inline Attachment Follows-----<br><br><div class="plainMail">_______________________________________________<br>Beginners mailing list<br><a ymailto="mailto:Beginners@lists.squeakfoundation.org" href="/mc/compose?to=Beginners@lists.squeakfoundation.org">Beginners@lists.squeakfoundation.org</a><br><a
href="http://lists.squeakfoundation.org/mailman/listinfo/beginners" target="_blank">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a><br></div></blockquote></td></tr></table>