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

View File

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