Hi!
I am trying to make a label slowly disappear by animating its alpha channel to zero. If I animate it with this line
go.animate("#text", "color.w", go.PLAYBACK_ONCE_FORWARD, 0, go.EASING_OUTSINE, self.duration)
that makes it fade to black. Looking around the forums I see mentions of being able to animate the tint
property in the forum. However this doesn’t appear to apply to labels as the built in fragment program for fonts has no tint
property.
I barely understand what is happening in the fragment shader, is there a reason it doesn’t have a tint
attribute? Should I learn how to write a shader so that I can add one? Also, how come the animating the color attribute didn’t work?