[squeak-dev] [not really an announcement] Morph To Method

David T. Lewis lewis at mail.msen.com
Mon Mar 5 03:46:34 UTC 2018


On Sun, Mar 04, 2018 at 06:36:14PM -0800, Chris Cunningham wrote:
> Hi.
> 
> So, ever since I started actually using Morphic to build things with
> drag/drop, I've wanted to build a little tool to turn those morphs back
> into code/classes in Squeak.  I started out working on that, but got
> distracted (especially since I started hand-coding for each and every Morph
> how to encode them - and I wasn't going to have the patience for that).
> 
> When Tm Jhnsn wrote that he wanted the same thing, I dusted off my old
> approach, and made it work - mostly.  If you look in
> 
> MCHttpRepository
>     location: 'http://www.squeaksource.com/morphToMethod'
>     user: 'cbc'
>     password: ''
> 
> and version 9, it should take most simple morphs and encode them.  It can
> also take some morphs from EToys and encode them as well, although I really
> don't know enough about EToys to figure out how to trap the right pieces.
> 
> If you do this, please heed the warnings in the class!  My first attempt at
> the EToys with TileMap morph wound up bringing in the whole TileMaps -
> morph and tiles both.  At this point, it is more of a spike - is this a
> useful direction to go, or not?
> 
> Video: *https://youtu.be/ou9g1_eLszM <https://youtu.be/ou9g1_eLszM>*
> (Taken right after running through the TileMap video myself)
> 
> -CBC

Well that's pretty cool stuff!

Dave



More information about the Squeak-dev mailing list