PDA

View Full Version : How to have different scenes in 1 project?


Sophie
06-02-2009, 10:15 AM
I'm building a complex project, with 3 different scenes (different backgrounds, different objects, etc.). The user interactions cause changes between scenes.

Can I create multi-scene worlds? How to manipulate them?

Thanks

ttkrakus
06-06-2009, 10:26 AM
Programmatically, I define a world-level method for each scene in my project. For example, for a birthday party I would have:
Scene0_Intro
Scene1_greeting_friends
Scene2_play_with_friends
Scene3_sing_and_cake
Scene4_open_presents
Scene5_say_goodbye

In the Alice world, I set up all my "studio sets" and drop "dummy" camera objects where I want the camera to be in each one of the different scenes. So, each scene starts with moving the camera to the dummy object corresponding to the scene (with time duration 0) --you do not have to do this if two or more scenes share the same "studio set." You can make a fade-in/out transition between scenes by using changing the values of the global lighting: set it to 0 at the end of a scene, and back to 100 (or some other value) at the beginning of the next scene; setting a non-zero duration for changing this property gives you a nice fade-in/out effect.

Hope this helps

lanceA
06-06-2009, 11:14 AM
I'm building a complex project, with 3 different scenes (different backgrounds, different objects, etc.). The user interactions cause changes between scenes.

Can I create multi-scene worlds? How to manipulate them?

Thanks

Sophie go to this site and download the files for Scene Change. It has a nice tutorial that walks you through how to have multiple scenes and ground templates in a single Alice world.

http://www.cs.duke.edu/csed/alice/aliceInSchools/workshop08/tutorials.php

Good luck,