Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

Reply
 
Thread Tools Display Modes
How do I share objects between worlds?
Old
mleblanc@wheatonma.edu
Guest
 
Status:
Posts: n/a
Default How do I share objects between worlds? - 05-09-2008, 08:58 AM

I am hoping to allow each student to build a model (using built-in-ALICE objects) with specific relational behaviors (e.g., greeting, etc) and then have them bring their models all together into one world where the models randomly move around and "interact" with models they encounter.

Can I build an object in one world and then export just that object and import that object into another ALICE world?
   
Reply With Quote
Old
DickBaldwin
Guest
 
Status:
Posts: n/a
Default 05-09-2008, 10:38 AM

Quote:
Originally Posted by mleblanc@wheatonma.edu View Post
I am hoping to allow each student to build a model (using built-in-ALICE objects) with specific relational behaviors (e.g., greeting, etc) and then have them bring their models all together into one world where the models randomly move around and "interact" with models they encounter.

Can I build an object in one world and then export just that object and import that object into another ALICE world?
Go go Google and search for the following keywords:

"save object" site:www.dickbaldwin.com

This will expose a couple of tutorials that I have published involving the so-called "save object" feature of Alice 2.0. See if any of that material is helpful.

Dick Baldwin
Free Alice tutorials: http://www.dickbaldwin.com/tocalice.htm
Free Scratch tutorials: http://www.dickbaldwin.com/tocHomeSchool.htm
Free Java/C#, etc. tutorials: http://www.dickbaldwin.com/toc.htm
   
Reply With Quote
Naming Conventions for Shared Ojeccts
Old
DrJim
Guest
 
Status:
Posts: n/a
Default Naming Conventions for Shared Ojeccts - 05-10-2008, 07:52 AM

One thing to note that is sometimes overlooked is that if you are going to share object methods - a rather nice thing for a team effort - the naming conventions for everything have to be identical. You can't, for example, have one object with something called "left hand" and another with the same part called "left fist".

Not a big restriction - in fact, IMO, actually good programming practice - but something that does need to be defined at the start of a project. If some object doesn't actually use a part - just make a dummy part and tag it "not shown."
   
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright ©2017, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.