[RESOLVED] Gradient

I upgraded Corona SDK to latest build to check new features. I just have starter version so I knew I won’t have best features. However, can somebody explain me why gradient , which was available for free for starter is marked as depreciated (it still works in simulator despite printing warning) and using .fill property is stated? As starter I do not have access to this property (not counting demo). Why was it “removed” from free version? :frowning:

piotrz55:

From a response to a comment on our recent blog post:


First, you can still set gradients via object:setFillColor() which is available to all tiers.

Second, you can still use graphics.newGradient but all it does is create a Lua table that defines a gradient. Starting in this release, you can also just create the table yourself, so that’s why graphics.newGradient is deprecated.


piotrz55:

From a response to a comment on our recent blog post:


First, you can still set gradients via object:setFillColor() which is available to all tiers.

Second, you can still use graphics.newGradient but all it does is create a Lua table that defines a gradient. Starting in this release, you can also just create the table yourself, so that’s why graphics.newGradient is deprecated.