How will i be able to change the brightness of the screen ? I am trying to make the screen darker when i click my pause button. [import]uid: 132369 topic_id: 25533 reply_id: 325533[/import]
Just make a display.newRect that covers the whole screen and has a black colour with around 70% alpha. Overlay this rect on top of your “game” screen so it darkens it out. Then show your pause interface on top of it. [import]uid: 51654 topic_id: 25533 reply_id: 103201[/import]
I will just add in addition to what Naveen said that you cannot adjust the actual brightness of the screen as one does in settings. (The rectangle will work just fine, this was more just to clarify in case anyone wonders this in the future.) [import]uid: 52491 topic_id: 25533 reply_id: 103252[/import]