[Newbies] Re: Randomness + Pause/Delay?
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:
> One forgets it's not a real-time simulation.
> --- 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:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Beginners