[Newbies] Question about Etoys Custome Events and Triggering Objects

Jeremy Landry hakyoku at gmail.com
Tue Sep 4 03:04:34 UTC 2018


It turns out using siblings of specific names works fine and they can
'hide' underneath the actual graphical elements.

Will post a demo project soon, there's quite a bit of options that opened
up with this. :)

On Mon, Sep 3, 2018 at 7:09 PM, Bert Freudenberg <bert at freudenbergs.de>
wrote:

> 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 -
>
> _______________________________________________
> Beginners mailing list
> Beginners at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/beginners
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/beginners/attachments/20180903/044ba89c/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/044ba89c/attachment-0001.jpg>


More information about the Beginners mailing list