Actor - Interpolate self.Color.Alpha To: 0 - Rule when Attribute: self.Color.Alpha = 0 ---- changeAttribute: self.Image To: newImageName - Rule when Attribute: self.Image = newImage ---- Interpolate self.Color.Alpha To: 1
2. Interpolate the Actor's size:
Actor - Interpolate self.Size.Width To: 0 - Interpolate self.Size.Height To: 0 - Rule when Attribute: self.Size.Width ≤ 10 ---- changeAttribute: self.Image To: newImageName - Rule when Attribute: self.Image = newImage ---- Interpolate self.Size.Width To: correctWidth ---- Interpolate self.Size.Height To: correctHeight
3. Use a black maskActor to cover original image and fade its alpha from 0 to 1 --trigger it with a sceneAttribute image or a timer or Rule condition --change the image when the mask alpha =1
4. do an animationBehavior with the 2 images and set FPS to 1 (you could get fancy and create a new graphic with the 1st image then layer over it the 2nd image at opacity 50% … then have a 3 image animation)
MH
tenrdrmerMember, Sous Chef, Senior Sous-ChefPosts: 9,934
I would actually interpolate the actor color to black then change the image and interpolate the color back to white.
thats how the backgrounds change in this template for an example.
Comments
--trigger it with a sceneAttribute image or a timer or Rule condition
--change the image when the mask alpha =1
4. do an animationBehavior with the 2 images and set FPS to 1
(you could get fancy and create a new graphic with the 1st image then layer over it the 2nd image at opacity 50% … then have a 3 image animation)
MH
thats how the backgrounds change in this template for an example.