On April 9, 2009, Bert Freudenberg wrote:
On 09.04.2009, at 06:49, Milan Zimmermann wrote:
Hi Bert,
This is very cool - I looked inside the FreeCell content viewer:
FreeCell activity, please. "Content viewer" does not really apply to Etoys.
i agree :)
this is basically an example that can be used to expose parts of Etoys for example, the speech synthetizer if it still exists, the painting tool, the MPeg player etc, as content or even activity
Right. I tried to communicate this several times before, but it seems to be worth repeating ;) The first was in July 2007 in fact:
http://lists.laptop.org/pipermail/etoys/2007-July/000684.html
Yes, I missed that.
Anyway, you can rather easily make your own Squeak-based activity, even on a Mac or Win box: select a .pr or .st file, and click the "XO" button in the FileList. Voila. You get a skeleton activity that should work out-of-the-box if you install it in Sugar. Then you still have to manually edit it of course, replacing the default icon etc. but it's a fine start and in fact exactly what I did for FreeCell.
Repeated that and it works as you are describing. I did not try to install and run the created activity yet.
(although without the Suger interactions I guess), right?
It could have full Sugar interaction. From time to time I do explain how to access the Journal from Squeak, that could be used to save/load state. Same for network collaboration.
If you are interested we can work on extending the FreeCell activity together. Like adding Journal save/resume.
That would be good - both accessing Journal and network sharing are of interest to me. Journal Save is a good start I think. Step one for me, if you have have some pointers to Squeak code that interacts with Journal so I can look at it first, please let me know. Or comments on steps to start We could document the steps on Wiki if others are interested.
Milan
PS: I also have to update my sugar on stick tomorrow, the version I have does not run browser, which makes getting files from internet difficult.
- Bert -
Etoys mailing list Etoys@lists.laptop.org http://lists.laptop.org/listinfo/etoys