[Etoys] Custom accessors for custom morphs

Derek O'Connell doconnel at gmail.com
Sat Sep 22 00:54:13 EDT 2007

Thanks Matthew. I don't know the "correct" way to implement new etoys
and as you have probably discovered there is little if any
documentation for potential developers. This is a shame as I'm sure
there would be a lot more of them by now (fully scriptable ones that
is). According to others etoys is a demo that wouldn't die, which
maybe explains why no one seems to be going out of their way to
support/promote their development. Which leaves me, at least, a little
confused since etoys appear to be a well cited "feature" of the OLPC

Just glancing through etoy related classes leaves me a bit stunned at
the moment :-) But if I get anywhere I'll be sure to add something to
the wiki.


Derek O'Connell

On 9/22/07, Matthew Fulmer <tapplek at gmail.com> wrote:
> I was trying a custom morph/etoy and I wanted to make some of
> its instance variables (minAngle, maxAngle) accessible from the
> Viewer. I couldn't find any way to do this other than by adding
> four accessor methods to class Player. It seems this should only
> involve class modifications, but I don't see a way to make that
> happen. I did this in 3.10.
> Is there a better way to do this that I am missing, or is Player
> really that ugly?
> My code is attached. It was a monticello package, but attached
> is the fileout.
> --
> Matthew Fulmer -- http://mtfulmer.wordpress.com/
> Help improve Squeak Documentation: http://wiki.squeak.org/squeak/808

More information about the Etoys mailing list