Lower music volume by 25% (0.5 → 0.375) for both overworld and battle tracks
This commit is contained in:
1 parent
dc32e1c7ab
commit
1791430923
2 files changed
+3
-3
No files matched your search
@@ -140,7 +140,7 @@ const Music = (() => {
|
|||||||
if (!audio) {
|
if (!audio) {
|
||||||
audio = new Audio('./music.mp3');
|
audio = new Audio('./music.mp3');
|
||||||
audio.loop = true;
|
audio.loop = true;
|
||||||
audio.volume = 0.5;
|
audio.volume = 0.375;
|
||||||
audio.preload = 'auto';
|
audio.preload = 'auto';
|
||||||
audio.addEventListener('canplaythrough', () => {
|
audio.addEventListener('canplaythrough', () => {
|
||||||
if (wantPlay && !muted) audio.play().catch(() => {});
|
if (wantPlay && !muted) audio.play().catch(() => {});
|
||||||
@@ -153,7 +153,7 @@ const Music = (() => {
|
|||||||
if (!rival) {
|
if (!rival) {
|
||||||
rival = new Audio('./music-rival.mp3');
|
rival = new Audio('./music-rival.mp3');
|
||||||
rival.loop = true;
|
rival.loop = true;
|
||||||
rival.volume = 0.5;
|
rival.volume = 0.375;
|
||||||
rival.preload = 'auto';
|
rival.preload = 'auto';
|
||||||
}
|
}
|
||||||
return rival;
|
return rival;
|
||||||
|
|||||||
@@ -419,7 +419,7 @@ html, body {
|
|||||||
.intro-npc.intro-npc-centered {
|
.intro-npc.intro-npc-centered {
|
||||||
right:auto !important;
|
right:auto !important;
|
||||||
left:50% !important;
|
left:50% !important;
|
||||||
bottom:30% !important;
|
bottom:20% !important;
|
||||||
transform:translate(-50%, 50%);
|
transform:translate(-50%, 50%);
|
||||||
font-size:clamp(80px,25vw,120px);
|
font-size:clamp(80px,25vw,120px);
|
||||||
text-align:center;
|
text-align:center;
|
||||||
|
|||||||
Reference in new issue
Block a user