[Newbies] Re: Randomness + Pause/Delay?
Bert Freudenberg
bert at freudenbergs.de
Sat Apr 9 10:33:17 UTC 2011
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.
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.
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.
- Bert -
On 08.04.2011, at 21:40, michael rice wrote:
> Thanks.
>
> One forgets it's not a real-time simulation.
>
> Michael
>
> --- On Fri, 4/8/11, David Corking <lists at dcorking.com> wrote:
>
> From: David Corking <lists at dcorking.com>
> Subject: Re: [Newbies] Re: Randomness + Pause/Delay?
> To: "A friendly place to get answers to even the most basic questions about Squeak." <beginners at lists.squeakfoundation.org>
> Date: Friday, April 8, 2011, 2:01 PM
>
> On Thu, Apr 7, 2011 michael rice wrote:
>
> >
> > But the two scripts, blueAction and redAction, in sequence, appear to happen simultaneously.
> > Is there a delay mechanism, like a marktime tile, that could separate two scripts by a specified
> > number of ticks? If not, are there any plans for one?
>
> I saw these two posts last year. They might help:
>
> http://lists.squeakland.org/pipermail/etoys-dev/2010-October/005888.html
>
> http://lists.squeakland.org/pipermail/etoys-dev/2010-October/005887.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20110409/d185effb/attachment.htm
More information about the Beginners
mailing list