Transition in Corona SDK
How to give transition for changing color in corona sdk. I have tried like this, but it's not working transition.to (show_text, {time=1000,color="rgb(0,0,0)"}); The following trick works. Unfortunately it doesn't allow for very sophisticated color manipulations without using multiple transitions: local function modify(text) local mt = { r = 0, g = 0, b = 0, __index = function(t, k) if k == "r" or k == "g" or k == "b" then return getmetatable(t)[k] end end, __newindex = function(t, k, v) getmetatable(t)[k] = v if k == "r" or k == "g" or k == "b" then t:setTextColor(math.round(t.r or 0), math