[Etoys] Saving an Etoys project in OLPC

Bert Freudenberg bert at freudenbergs.de
Thu Jul 19 13:00:47 EDT 2007


On Jul 19, 2007, at 18:48 , Shayne Czyzewski wrote:

> Hello,
>
> I recently posted a question about integrating an educational game I
> was creating into the OLPC image. I have created the game in the
> standard Squeak 3.9 image using standard Morphic calls.
>
> To load my code into the OLPC image, I opened the image, and dragged
> my .mcz file onto the interface, and selected 'Load'. I then opened a
> Workspace, opened my View by executing a command to start the game,
> and was able to play.
>
> Next, I attempted to save my project so it could be distributed to
> other OLPC images. I saved the project, but when I closed and
> re-opened the OLPC image, something strange happened. My project was
> still visible from the 'Gallery of Projects', but when I selected it
> to load it complained that it could not find a class that was in my
> game. It seems that the code is not exported with the project, nor
> stored in the image.
>
> I am pretty new to creating .pr files. Is there a way I can store the
> code associated with my game into its project file? Or, should I be
> going about this in a completely different manner?
>
> Very rough but playable implemenation can be found for those  
> interested at:
> http://www.squeaksource.com/UIUC4OLPC, Peg Game Version 6

After loading your MCZ, open a change sorter, select the cnageset  
that was created when loading your MCZ, and make it current. When  
storing as project, you will be asked if you want to include the  
current changeset, choose yes.

No need to save the image btw.

- Bert -




More information about the Etoys mailing list