Hey everyone I just started to play with Corona, and I’ve got a problem. I’m trying to fade in an overlay rectangle to effectively blur out the screen contents like this:
[lua]_w = display.contentWidth
_h = display.contentHeight
_overlay = display.newRect(0, 0, _w, _h)
_overlay:setFillColor(255, 64, 64, 0)
transition.to(_overlay, { time = 1000, alpha = 0.3})[/lua]
But nothing happens
Even if I set alpha to 1.0, I don’t get the rectangle drawn.
If I change the _overlay:setFillColor(255, 64, 64, 0) alpha index to 255, it shows up fine, so I know that the rectangle is being drawn with the correct position and size.
Does anyone know whats going on? [import]uid: 50524 topic_id: 8606 reply_id: 308606[/import]