Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
if (lightColor.a > 0) {
ctx.globalAlpha = lightColor.a / 1.5;
ctx.drawImage(screenLight, 0, 0);
ctx.globalAlpha = 1;
}
change the "lightColor.a / x" to higher number and it will lower the brightness.
A few lines about those code, u can see these
ctx.globalAlpha = lightColor.a / 1.5;
ctx.drawImage(phoneLight, 860, 437);
ctx.globalAlpha = 1;
do the same as u did for screenLight
https://imgur.com/a/16UY3kV
19:Night, 18:Dusk, 13:Afternoon, 12:Noon,7:Late Morning, 6:Dawn, 1:Early Morning, 0:Midnight