[Newbies] Question about Etoys Custome Events and Triggering Objects

Bert Freudenberg bert at freudenbergs.de
Tue Sep 4 02:09:50 UTC 2018


On Mon, 3 Sep 2018 at 18:11, Bert Freudenberg <bert at freudenbergs.de> wrote:

>
> We generally try to design around it. For example, in Pac-Man, the obvious
> approach would be to move the player, check if it collided with a dot, then
> delete that dot. This doesn't work because it is not easy to check which
> dot it collided with. Instead, we have all the dots ticking to check if
> they collided with the player, and if so delete themselves and increase the
> global score.
>

Here is one idea:

[image: image.jpg]

- Bert -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/beginners/attachments/20180903/f2befc78/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.jpg
Type: image/jpeg
Size: 51654 bytes
Desc: not available
URL: <http://lists.squeakfoundation.org/pipermail/beginners/attachments/20180903/f2befc78/attachment-0001.jpg>


More information about the Beginners mailing list