Alice Community  

Go Back   Alice Community > Educators > Teaching with Alice

Reply
 
Thread Tools Display Modes
merging objects or worlds
Old
  (#1)
ecomino
Junior Member
 
Status: Offline
Posts: 1
Join Date: Oct 2009
Location: Hattiesburg, MS
Default merging objects or worlds - 10-28-2009, 10:47 AM

I have a group of Girl Scouts that are just starting to work with ALICE,
after they start creating their objects in their worlds, is there a way for me to merge what they have created? Take an object and its events in one world created by one user, and merge it into another world, with its own objects and events? What Im after is to create a group collaborative final "movie" of the events/objects the girls create individually, so that they can see it all together.

Is this possible, maybe under an import world, or import object type of feature?
   
Reply With Quote
Merging objects or worlds
Old
  (#2)
lanceA
Senior Member
 
lanceA's Avatar
 
Status: Offline
Posts: 429
Join Date: Mar 2006
Location: Baltimore, MD
Default Merging objects or worlds - 10-28-2009, 12:31 PM

Unfortunately you can not import worlds into Alice, you can only import objects.
   
Reply With Quote
Old
  (#3)
x2495iiii
Super Moderator
 
x2495iiii's Avatar
 
Status: Online
Posts: 665
Join Date: Dec 2008
Location: Somewhere in the Continental U.S.
Default 10-28-2009, 02:32 PM

That's not quite right. I found an intersting way to import other worlds into Alice. I explained it like this:

-First create the model. I recommend deleting the parts of the model you don't need (the ones that aren't connected to parts you need for your merged model, if youneed them all, then ignore this) to shrink the file down. Make sure the all necessary objects are properly vehicled to the the main object (the one you use to move the merged model).

-Delete the ground, the light, and the camera (it will tell you not to delete the camera, ignore this) and rename the world object "world2."

-Save the file as a .a2w file, then copy it

-Change the extension of the copy of the .a2w file to .a2c (see what we're doing here? We're going to fool Alice into thinking that the whole world is a class object)

-Import it into the world in which you'd like the model to be in. You should see a new object called world2 and all of your objects underneath it.

-Drag each object from underneath the world2 object to just above it so that they are with the other objects in the main world. As you do, you should notice that as you place an object properly, it suddenly appears in the main world.

-Make sure to change any vehicles from world2 to the entire world

-Finally, delete the (now empty) world2 object and save your main world. The model(s) with all vehicles, properties, and placements should be there

The original post is here:

Importing Worlds in Alice


If you're asking if the movie thing can be done, yes it can, but you'll have to have the girls write methods which are saved to the objects, not the world, and those methods will have to avoid referring to any object but itself (technically this is optional, as importing a method with an outside reference can be done, but you have to set that reference's value to <none> when you first import it, and then change it back when you import the object it refers to).


This video won a contest I entered for a local company. Hope you guys like it!

http://www.youtube.com/watch?v=4JZKwtDNCIk

Try my newest and biggest game: Resident Penguin.

http://www.alice.org/community/showthread.php?t=3205

Last edited by x2495iiii; 10-31-2009 at 03:56 AM.
   
Reply With Quote
Reply

Tags
import, merge, object, world

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 ©2009, Carnegie Mellon University