Alice Community  

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

Reply
 
Thread Tools Display Modes
Scene change
Old
jbrown
Guest
 
Status:
Posts: n/a
Exclamation Scene change - 05-13-2010, 05:07 PM

Can i make a new scene in the middle of my alice program
   
Reply With Quote
Old
Dameria
Senior Member
 
Dameria's Avatar
 
Status: Offline
Posts: 978
Join Date: Sep 2009
Location: United States
Default 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).


Check out my best projects so far and please comment:

Tic-Tac-Toe 2.0 ................... http://www.alice.org/community/showthread.php?t=3548
Alice Paint ........................... http://www.alice.org/community/showthread.php?p=23408
Real-Time Clock .................. http://www.alice.org/community/showthread.php?p=12725
Maze Game ......................... http://www.alice.org/community/showthread.php?t=4301
   
Reply With Quote
Old
jediaction
Senior Member
 
jediaction's Avatar
 
Status: Offline
Posts: 5,064
Join Date: Jul 2009
Location: Bel Air, Maryland
Default 05-13-2010, 05:47 PM

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


Website: www.salokingames.com
FaceBook: www.facebook.com/SalokinGames
   
Reply With Quote
Old
Dameria
Senior Member
 
Dameria's Avatar
 
Status: Offline
Posts: 978
Join Date: Sep 2009
Location: United States
Default 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.

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


Check out my best projects so far and please comment:

Tic-Tac-Toe 2.0 ................... http://www.alice.org/community/showthread.php?t=3548
Alice Paint ........................... http://www.alice.org/community/showthread.php?p=23408
Real-Time Clock .................. http://www.alice.org/community/showthread.php?p=12725
Maze Game ......................... http://www.alice.org/community/showthread.php?t=4301
   
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 ©2019, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.