Attach tentacle pulses to planet pulses
All checks were successful
On Push Deploy / deploy (push) Successful in 21s

This commit is contained in:
Johnny322
2026-02-10 16:35:37 +01:00
parent e4d4173c4b
commit 4a7ff80dd1
2 changed files with 6 additions and 5 deletions

View File

@@ -178,7 +178,10 @@
'--ray-hue': rayHue.toFixed(0)
}"
></div>
<div class="pulse-tentacles">
<div
class="pulse-tentacles"
:style="{ '--pulse': pulseLevel.toFixed(3) }"
>
<span
v-for="(level, index) in tentacleLevels"
:key="index"
@@ -199,9 +202,7 @@
@pause="handlePlayerPause"
@ended="handlePlayerPause"
></audio>
<div v-if="!currentClipUrl" class="player-empty">
Pick a tile to start the round.
</div>
<div v-if="!currentClipUrl" class="player-empty"></div>
</div>
</div>
</section>

View File

@@ -425,7 +425,7 @@ audio.hidden-audio {
top: 50%;
width: 100px;
height: 100px;
transform: translate(-50%, -50%);
transform: translate(-50%, -50%) scale(calc(1 + var(--pulse, 0) * 0.9));
z-index: 1;
pointer-events: none;
}