angelicdreamweaver wrote: ↑Fri Nov 24, 2023 5:59 am
Because of the panning, I cannot simply hide the image and show it again with the new tinting values.
Actually, you can. Just use the "animation" keyword, so the panning animation isn't restarted.
Code: Select all
transform atl_tint:
# make sure to put this here first, before changing it
matrixcolor TintMatrix("#fff")
# now change it
linear 10.0 matrixcolor TintMatrix("#fa8e60")
transform atl_pan:
animation
xoffset 0
# put your pan code here, e.g.
linear 5.0 xoffset 500
linear 5.0 xoffset 0
repeat
label start:
show myimage at atl_pan
"Here we didn't arrive at the point in the story."
show myimage at atl_tint, atl_pan
"Now we just did..."
So far, I came up with this, using an invisible white tint as a timer.
The alpha channel is not touched with
TintMatrix(), so there is no invisible tint. It's just that tinting with "#fff" (white) means no tinting at all.