[Newbies] Question about Etoys Custome Events and Triggering Objects

Jeremy Landry hakyoku at gmail.com
Tue Sep 4 07:12:33 UTC 2018


Here's a book of experiments with various ways of implementing 'OVERLAPS
ANY (OBJECT)' along with commentary for each experiment. Maybe someone will
find it useful. Overall, at least on my slow machine, page 2 seems to
perform the fastest. I explain how each of the 7 versions is set up as the
idea evolves across the pages.

https://drive.google.com/file/d/1JopwojV1KcQar27BkZbrKSjufnkVX9j1/view?usp=sharing

I think in the end, having something very specific in mind with regards to
motion is probably far more useful than creating 'general behaviors', at
least where realtime behavior and many moving objects is concerned. As
well, the things I was moving about are a little large compared to what I
intend to move since there's a 'pixel limit' per frame which is hardware
dependent as well as dependent on whether the screen is being scaled or
not. I ran my experiments with no screen scaling at all.

If anyone has any further ideas on ways to cut screen update time or
further narrow the amount of 'observations' that happen during a single
update of all objects on screen, etc. let me know and I will try them out
and maybe add them to this book/project for others to learn from and use
for their own stuff.

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

> On Mon, 3 Sep 2018 at 19:38, Jeremy Landry <hakyoku at gmail.com> wrote:
>
>> What is the intended use for 'triggering object' tile?
>>
>
> I don't know. Never used that tile (it's hidden unless eToyFriendly is
> disabled).
>
> Reading the code it indeed is intended to find the object that triggered
> that event / script (meaning the object mentioned in the tellAllSiblings
> tile).
>
> - 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/20180904/5f16b3bf/attachment.html>


More information about the Beginners mailing list