Page Brightening

Hi there,

I am trying to create a page in a book when, on a timer the page lightens up. Would i be right in saying that i need two pages, one darker than the other and after a certain amount of time the alpha of the darker page decreases? Since i am still learning Corona I am not sure where to start. Any help would be appreciated. Thank you! [import]uid: 97655 topic_id: 18165 reply_id: 318165[/import]

You could use a square or rectangle and set the opacity of the object during a transition.

good luck. [import]uid: 11860 topic_id: 18165 reply_id: 69473[/import]

The above suggestion is a good one.

To elaborate, you’d make a white rectangle the size of the page then set it’s alpha to say, 0.3, which would give the illusion of brightness adjusting.

If you wanted it to happen over a second or two rather than instantly when called, you’d use a transition.

Do you know how to use transitions yet?

Peach :slight_smile:

[import]uid: 52491 topic_id: 18165 reply_id: 69659[/import]