Etoys: Difference between revisions

From OLPC
Jump to navigation Jump to search
Line 136: Line 136:


=== Programming for the OLPC using Etoys Squeak ===
=== Programming for the OLPC using Etoys Squeak ===
There is a tutorial how to set up the Squeak Smalltalk development environment on XO. See [[Smalltalk_Development_on_XO]]. Bert Freudenberg has a way to create .xo file from an Etoys project or Smalltalk change set. If we write it in Squeak and incorporate that into Etoys image, making activity can be done XO as well.

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.
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.



Revision as of 21:48, 14 December 2007

  english | español | 日本語 | 한국어 | română | français HowTo [ID# 84845]  +/-  
Activity1.png This activity was core
TST Etoys
Trac print.png Tickets all - active - new
Translate-icon-55px.svg etoys.laptop.org - POT
| en | es | fr | pt 
Others de, it, ja, ko, zh_CN
POT Online translation of POT files in launchpad.net
TST Etoys
OlpcProject.png Bert Freudenberg, Ted Kaehler, Alan Kay, Yoshiki Ohshima, Ian Piumarta, Kim Rose, Scott Wallace, Takashi Yamamiya, and many others

see more templates or propose new

Etoys running on the OLPC display for the first time (Sep 11 2006)

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 it 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 the USA, Europe, South America (Brazil, Colombia, Argentina), Asia (Japan, Korea, India, Nepal), and elsewhere.

An essay about Etoys on the OLPC: http://laptop.org/OLPCEtoys.pdf

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


Mailing list

There is a mailing list specifically discussing Etoys in the OLPC environment. Please subscribe to keep in touch!


  For the general public

For Teachers and Learners



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!


For Etoys Translators

gettext files are available at http://etoys.laptop.org/svn/trunk/etoys/po/.

Also it is registered at https://translations.launchpad.net/etoys/first-deployment/.

Translation work has moved to Pootle.

Documentation

  • Powerful Ideas in the Classroom, Using Squeak to Enhance Math and Science Learning by B. J. Allen-Conn and Kim Rose, 2003, Viewpoints Research Institute, Inc., 86 pages, ISBN 0974313106
  • Inside Etoys there are more than 50 pages of help. These Etoys Quickguides are also available as web pages at the Etoys QuickGuides Index.

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.

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

Remember to update your image!

User Images are the ones actually deployed on the laptop, but since this is Squeak they work on other platforms too:

The Virtual Machine is built from the "olpc" branch:

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. Download and install from http://etoys.laptop.org/rpms

SRPMs and spec files are at http://etoys.laptop.org/srpm

See Etoys RPM and XO bundle for the release process.

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

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

Etoys are built by default in sugar-jhbuild.

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

Building etoys.image from developer's image

  • place project files for 'Launcher', 'Gallery', and 'Tutorials" in the image directory.
  • set screen size to 1200@900 ("Display inspect" helps).
  • save as 'etoys.image'.
  • and execute:
ReleaseBuilderSqueakland new prepareReleaseImageForOLPC.

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 (Easiest) - Use Squeakland 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.

How to install OLPC Etoys on your system? (Skip Step 1 and 2 below if you already have Squeak installed.)

  • On Windows
    1. Download and install Etoys from Squeakland. Go to the Squeakland link; in the middle of the page, click on the "Download Squeak" button. On the next page, click on the "Download Squeak" link. 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 install Squeak on your system, and create an item on your desktop named Squeak, which looks like this: Squeak Desktop Item
    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, or 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 the newly created folder.
    4. Running OLPC Etoys: Now we are ready to run OLPC Etoys downloaded in Step 3, using the Squeak desktop item created in Step 2. The simplest 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. Try it - it works! You should see the OLPC Etoys menu page: OLPC Etoys menu, and are ready to create OLPC Etoys content, test, or just play.
  • 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 descriptions on how to do it using Windows, Linux, FreeBSD, or MacOS.

Method 3 - Install RPMs (Linux Only)

If you are on any reasonably recent version of Linux, there are pre-built RPMs that you can 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

There is a tutorial how to set up the Squeak Smalltalk development environment on XO. See Smalltalk_Development_on_XO. Bert Freudenberg has a way to create .xo file from an Etoys project or Smalltalk change set. If we write it in Squeak and incorporate that into Etoys image, making activity can be done XO as well.

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, the tutorials are currently 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

Mostly in French, but 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 independent 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

Most of the French pages are now translated in english, see: En-V-toys

Version history

Build 406 (pre-installed on B4 machines)
Etoys-37.xo, etoys-2.0.1283, squeak-vm-3.9-10olpc5. Still used Python wrapper.
Build 542 (Trial-2)
Etoys-53.xo, etoys-2.0.1468, squeak-vm-3.9-11olpc4. Native activity.
Build 623 (Trial-3/Ship.1, factory-installed on first mass-produced machines)
Etoys-60.xo, etoys-2.1.1664, squeak-vm-3.9-11olpc5.
Build 650 (Ship.2, final version for first mass-produced machines)
Etoys-71.xo, etoys-2.2.1796, squeak-vm-3.9-12olpc3.

See also