Change Background Image with animation

creativeappscreativeapps Member Posts: 1,770
edited November -1 in Working with GS (Mac)
I want to change background image night to day with day in fad out effect on basis on score. For example game starting in a day with 0 score, after getting 50 it will afternoon and on 100 score i want to display night.
all this background change will happen with fade in out smooth animation effect.
Its that possible? any sample available? please let me know

Comments

  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    i would just have all the images regular like u would during the day, and have a black actor that covers the whole screen and has a alpha of like .7

    then just interpolate the alpha to 0 to fade into day

    cheers
  • creativeappscreativeapps Member Posts: 1,770
    thanks john but how dp I call that black actor with .7 alpha on score 50? means how to convert day zero score background to night 50 score background
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    so you want it to fade to night when the scores fifty?

    then have the actor the covers the whole screen and have its alpha set to 0

    then have a rule in that actor when attribute score equals or is greater then 50

    interpolate alpha to .7
Sign In or Register to comment.