[squeak-dev] Re: Bootstrap logic in recent Tweak-Core (?)

David Faught dave.faught at gmail.com
Thu Jul 29 12:08:15 UTC 2010


On 7/29/2010, Andreas Raab wrote:
>On 7/28/2010 7:32 PM, Bert Freudenberg wrote:
>> On 28.07.2010, at 12:25, Andreas Raab wrote:

>>> was able to run a SimpleDemoMaster just fine (see screenshot).

>> Great!
>>
>> On a slightly related note, I chatted with Matthew (and Julian) at Squeakfest about tile scripting for 3D objects in Open Cobalt.
>> I seem to remember we once experimented with "remote-controlling" Croquet objects using a locally-run Tweak project. But
>> this was some time ago so I'm hazy on the details. Do you have an idea what would be needed for actual scripting of croquet
>> objects using a 2D Tweak tile interface?

>You have two options:
>
>1) Create a local proxy for the replicated object and have it control
>the replicated target. This has the advantage that you don't need to
>replicate the script but the disadvantage that the script is
>disassociated from the object and won't persist if the local user drops out.
>
>2) Replicate the script into the island and run it there. This is
>obviously more in line with the ideas of Croquet but the thought of all
>the things that could go wrong led me to never go down this path.

Option number 2 is what I used in the MockTurtle demo.  This project
only used a code editor in the local proxy instead of tile scripting,
and when the edit was accepted the script text was first locally
syntax checked and then sent to the associated replicated object.
This was actually lots of fun, but needed to have some "future"s
handcoded in the edited source as I recall.  Some keystrokes in the
harness directed to the target replicated object caused editing or
script execution to start.  In my isolated testing, this worked just
fine.

Cheers,
Dave



More information about the Squeak-dev mailing list