[squeakland] text conversation in etoys

Bill Kerr billkerr at gmail.com
Sat Nov 14 18:57:51 EST 2009

I'm trying to setup a text based dialogue b/w 2 objects

I dragged out two Text objects from Supplies, named them first and second

The best I can do is write a series of scripts for the Text objects, one
script for each part of the conversation

Then I made a clock with a time variable and setting the ticker to one per

Then write a controller script, using world
Test: clock's time > 2
 Yes: first do script1
Test: clock's time > 4
 Yes: second do script1
Test: clock's time > 6
 Yes: first do script 2

Also made a reset script, using world

Is there a better way?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakland.org/pipermail/squeakland/attachments/20091115/c585ef7c/attachment.html

More information about the squeakland mailing list