Etoys

From OLPC
Jump to navigation Jump to search
Etoys running on the OLPC display

Squeak Etoys was inspired by LOGO, PARC-Smalltalk, Hypercard, and starLOGO. It is a media-rich authoring environment with a simple powerful scripted object model for many kinds of objects created by end-users that runs on many platforms, and is free and open source. It includes 2D and 3D graphics, images, text, particles, presentations, web-pages, videos, sound and MIDI, etc. It includes the ability to share desktops with other Etoy users in real-time, so many forms of immersive mentoring and play can be done over the Internet. It is multilingual, runs on more than 20 platforms bit-identically, and has been successfully used in USA, Europe, South America (Brazil, Colombia, Argentina), Asia (Japan, Korea, India, Nepal), and elsewhere.

Further reading: http://www.squeakland.org/school/HTML/essays/essays.html

Mailing list

There is a mailinglist specifically discussing Etoys in the OLPC environment: etoys(at)laptop.org. Please subscribe to keep in touch!

For Etoys designers

To build etoys, the best thing would be to use the actual OLPC image. However, etoys authored using the squeakland.org version should be fairly compatible. Remember that the actual screen of the kids machines will be very small, even though it has a 1200x900 resolution!

We are planning a contest for the best etoys designed to work on the OLPC machines. The winners will be included in the repository distributed with 5 million machines next year. Precise criteria and the format for submissions are being worked on; but a good entry should be fun, suitable for younger kids (text shouldn't be too complex), hackable (code should be elegant), compact (disk space is precious), and should illustrate some creative aspects of using Etoys. Of course the best examples might be existing etoys rewritten to work nicely on the laptops.

Come back to this page in a few days for more information...

For Developers

The current Etoys version for OLPC is based on the squeakland.org image. It runs on the latest Squeak VM with minimal Sugar glue code.

Images can be downloaded at http://tinlizzie.org/olpc, though "Tin Lizzie" is a different project.

Remember to update your image!

Activity Source: http://dev.laptop.org/git.do?p=projects/etoys

git clone git://dev.laptop.org/projects/etoys

There is a mirror of the latest git tree at http://etoys.laptop.org/src

RPMs: The Squeak VM and Etoys activity are packaged as RPMs. The easiest to get them is with yum:

wget http://etoys.laptop.org/olpc-etoys.repo
cp olpc-etoys.repo /etc/yum.repos.d/
yum install etoys

To stay up-to-date, just do

yum update etoys squeak-vm

Sugar: For running inside the Sugar emulator, use sugar-jhbuild:

./sugar-jhbuild buildone squeak
./sugar-jhbuild buildone etoys

Etoys are built by default in the latest sugar-jhbuild.

Bugs: Please submit tickets at http://dev.laptop.org/, select the "Etoys" component.

Running OLPC eToys if you do not have OLPC laptop yet - For Content Creators/Testers/Teachers

If you, as most of us, do not have the OLPC laptop, you can still develop OLPC eToys content. There will be a few minor integration points missing (Camera etc), but most content and testing can still be performed. This section describes how to achieve this.

Method 1 - Use Squekland installation and the OLPC image

The idea behind this method is to install, on your favorite operating system, the Squeakland eToys system, and download the OLPC eToys image and content. Then use the Squeakland virtual machine to run the OLPC image. While this approach will not give you some integration points with the OLPC (camera etc), it will allow you to use most of the features, you can do content development and testing that way.

How to do the above?

  • On Windows
    1. Download and install eToys from Squeakland. Go to the above page, in the middle of the page, click on the "Download Squeak" button. On the next page, click on the "Download Squeak" link, and on the popup, click "Open" on the browser dialog asking you to open or save the SqueakPluginInstaller.exe.
    2. A Squeak Plugin Installer installation dialog will come up, click on "Next", then "Close". This will create an item on your desktop named Squeak.
    3. Now Download the OLPC version of eToys. The latest version can be downloaded from this site. You will need an extract program (such as PKZip, WinZip, 7Zip) to extract this. Create a folder named "C:\eToys-OLPC" or similar, and extract the contents of the downloaded etoys-image-and-pr.zip into it.
    4. Running OLPC eToys: Now we are ready to run the OLPC eToys. downloaded in Step 3 with the Squeak desktop item created in Step 2. The simplies way to run OLPC eToys, is to drag the file eToys.image from the "C:\eToys-OLPC" folder you created in Step 3, on top of the Squeak icon created in Step 2.
  • On Linux: todo
  • On Mac: todo

Method 2 - Use emulation

Emulation allows to "pretend" you have the OLPC laptop - essentially the OLPC laptop runs "inside" your system. You can achieve this on any common operating system you have. Please follow instructions here for description on how to do it. The above link will work if you have Windows, Linux, FreeBSD or MacOS.

Method 3 - Install RPMs (Linux Only)

If you are on any reasonably recent version of Linux, there are pre-build RPMs that you should be able to install on your system (convert to apt first if applicable). Look on the etoys page for instructions and a link to the RPM download.

Benchmarks

Discussions

Feel free to edit below.

Programming for the OLPC using Etoys Squeak

We are beginning a tutorial series about programming using the OLPC Squeak. Not for kids, but for programmers trying to create activities inside the Etoys environment. We have also a customized kit for the installation of a Windows version of the emulator having Fedora+Sugar+Etoys. One click only... Read how to use it at the tutorials.

Unfortunately, now only in brazilian portuguese. The link is here. The pages are in the format to be accessed, in the future, by the OLPC browser.

V-toys, a visual programming language built with E-toys

Many stuff but in French, since the language is visual, you can download projects and learn by examples. A visual language for comments will be used so that v-toys will be independant of language in the future.

http://community.ofset.org/wiki/V-toys

I'll put some references to english examples in this page : v-toys English

See also