Java Reference
In-Depth Information
values: spotLight.pointsAtX => 30 tween Interpolator.EASEBOTH
},
KeyFrame{
time: 3s
values: spotLight.pointsAtY => yCenter-100 tween Interpolator.EASEBOTH
},
KeyFrame{
time: 4s
values: spotLight.pointsAtX => 320 tween Interpolator.EASEBOTH
},
KeyFrame{
time: 5s
values: spotLight.pointsAtY => yCenter+100 tween Interpolator.EASEBOTH
},
KeyFrame{
time: 6s
values: spotLight.pointsAtX => 610 tween Interpolator.EASEBOTH
},
KeyFrame{
time: 7s
values: spotLight.pointsAtY => yCenter-100 tween Interpolator.EASEBOTH
},
KeyFrame{
time: 8s
values: [spotLight.pointsAtX => 320 tween Interpolator.EASEBOTH,
spotLight.pointsAtY => yCenter tween Interpolator.EASEBOTH]
}
]
}
return anim;
}
function initStartScreen():Void{
simplifyGradients(startScreen);
lightAnim = addLights(startScreen);
removeFromParent(startScreen.aboutPanel);
removeFromParent(startScreen.waitingClownGroup);
removeFromParent(startScreen.startGameInstructions);
removeFromParent(startScreen.endButtons);
removeFromParent(startScreen.gameOverText);
makeButton(startScreen.startButton, startGame);
makeButton(startScreen.aboutButton, showAbout);
}
function initAboutScreen():Void{
simplifyGradients(aboutScreen);
removeFromParent(aboutScreen.startButton);
removeFromParent(aboutScreen.aboutButton);
removeFromParent(aboutScreen.startGameInstructions);
removeFromParent(aboutScreen.waitingClownGroup);
removeFromParent(aboutScreen.endButtons);
Search WWH ::




Custom Search