When trying to go.animate a vector 3 or 4 the vector doesn’t change from its original values but it still runs the on_complete-function at the end of the animation.
Example:
go.property("tint", vmath.vector4(1, 1, 1, 1))
...
local on_complete = function()
print "Done!"
end
go.animate("#", "tint", go.PLAYBACK_ONCE_FORWARD, vmath.vector4(1,0,0,1), go.EASING_LINEAR, 1, 0, on_complete)
print(self.tint) in update shows only vector4 ( 1, 1, 1, 1 ) during that one second and then prints “Done!”
When trying to animate sub-components of script-properties like “tint.x” the console tells me
’[default:/monster#script_sprite]’ does not have any property called ‘tint.x’