public void act1Scene2Setup ( ) {
|
|
print( act1Scene2Setup ); |
// Make the camera face papa while still invisible |
camera .turnToFace( papa ); |
doTogether { |
|
// Make the objects fade into view |
ground .set( opacity , 1 (100%) ); duration = 2 seconds |
papa .set( opacity , 1 (100%) ); duration = 2 seconds |
mama .set( opacity , 1 (100%) ); duration = 2 seconds |
baby .set( opacity , 1 (100%) ); duration = 2 seconds |
hole .set( opacity , 1 (100%) ); duration = 2 seconds |
} |
doTogether { |
|
// Make the camera zoom in and do a barrel roll |
camera .moveToward( target = papa , amount = 5 meters ); duration = 4 seconds |
camera .roll( RIGHT , 1 revolution ); duration = 4 seconds |
} |
doTogether { |
|
// Make the camera do a helicopter circle around papa |
// Zoom back out in the process |
camera .turnToFace( papa ); duration = 0 seconds |
camera .turn( LEFT , 1 revolution ); asSeenBy = papa duration = 5 seconds |
camera .moveAwayFrom( target = papa , amount = 5 meters ); duration = 5 seconds |
} |
// Turn the camera to face the hole. |
camera .turnToFace( hole ); |
} |