Alice Community

Alice Community (http://www.alice.org/community/index.php)
-   How do I...? (http://www.alice.org/community/forumdisplay.php?f=16)
-   -   Scene change (http://www.alice.org/community/showthread.php?t=4411)

jbrown 05-13-2010 05:07 PM

Scene change
 
Can i make a new scene in the middle of my alice program

Dameria 05-13-2010 05:27 PM

Yes, there are several ways to do this. One way (this might be the best way, but also one that takes the most work) is to put everything in your world that is already there (the scene you have) and put it in a list. Then put everything in your new scene in a list also. When you want the scene to change, just do the For All Together in the list and set everything in list isShowing = false, and everything in the other scene list isShowing = true, and then work from there.

Another great way of changing scenes is to just move the camera really far away into another part of the map, and build the scene there. Add a dummy for the camera so you can set the camera to the dummy when the next scene comes. This way of doing it is great for movie-type programs, but if it is a game where the player can explore, they might come upon the other scene stage before it is time for them to see it (you could always just put it in a list like the other one and set it to false until you want the scene to play).

jediaction 05-13-2010 05:47 PM

For an example of the scenes far apart. look at my When Roska Fell movie i made

Dameria 05-13-2010 06:30 PM

Or you can look at my Science Project film that I made for science class a few months ago. I had the scene switch from the room to the cell. You can look around and see that if you turn the camera around, the cell is right behind the room.

[url]http://www.alice.org/community/showthread.php?t=3728[/url]


All times are GMT -5. The time now is 02:18 AM.

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