You could start with your graphics a full brightness and use a black overlay to tint them back. Then adjust the alpha of the black overlay to make the screen darker and brighter. Kind of like some of the samples in my tutorial here about full screen effects.
Comments
http://www.jamie-cross.net/?portfolio=gamesalad-full-screen-effects-tutorialdemo-blood-edge-daynight-cycle-night-vision-broken-glass-and-spotlight
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
Constrain self.Colour.Alpha to this:
0.5*sin( game.Time *100)+0.5
The '100' part controls the speed, higher values are faster.
If count = 0, then count+1 and fade screen
If count = 3, then count-1 and brighten screen
The problem is i cannot figure out how to make it count beyond 1
The button from jamie_c tutorial where you press it to change brightness.
Apologies, I don't understand any of that ? I might need more coffee.