diff --git a/public/button click.wav b/public/button click.wav index 426e04f..e48e6ee 100644 Binary files a/public/button click.wav and b/public/button click.wav differ diff --git a/public/freeze.wav b/public/freeze.wav new file mode 100644 index 0000000..4401352 Binary files /dev/null and b/public/freeze.wav differ diff --git a/public/level up coot v2.wav b/public/level up coot v2.wav new file mode 100644 index 0000000..440d4b0 Binary files /dev/null and b/public/level up coot v2.wav differ diff --git a/src/data/projEntry.tsx b/src/data/projEntry.tsx index 03cdcc3..a0c9d3a 100644 --- a/src/data/projEntry.tsx +++ b/src/data/projEntry.tsx @@ -94,6 +94,7 @@ const damage = new Audio("damage.wav"); const droppingCoots = new Audio("dropping coots in field.wav"); const lose = new Audio("lose.wav"); const reroll = new Audio("reroll.wav"); +const freeze = new Audio("freeze.wav"); export const characters: Record = { // Tier 1 @@ -1050,8 +1051,8 @@ export const main = createLayer("main", function (this: BaseLayer) { buttonClick.play(); } else if (selectedShopItem.value != null) { emit("freeze", selectedShopItem.value!); - buttonClick.currentTime = 0; - buttonClick.play(); + freeze.currentTime = 0; + freeze.play(); } else if (selectedStreamType.value != null) { if (gold.value > 2) { emit("change stream type", selectedStreamType.value); diff --git a/src/data/socket.tsx b/src/data/socket.tsx index b871ed2..994d0be 100644 --- a/src/data/socket.tsx +++ b/src/data/socket.tsx @@ -20,6 +20,8 @@ import healthParticles from "./health.json"; import presenceParticles from "./presence.json"; import { EmitterConfigV3 } from "@pixi/particle-emitter"; +const levelUp = new Audio("level up coot v2.wav"); + export const connected = ref(false); export const nickname = ref(""); export const room = ref(""); @@ -201,6 +203,8 @@ function setupSocket(socket: Socket) if (characters[char.type].abilityType === "LevelUp") { setTimeout(() => characters[char.type].performAbility(char), 1250); } + levelUp.currentTime = 0; + levelUp.play(); } }); socket.on("move", (index, otherIndex) => { @@ -222,6 +226,8 @@ function setupSocket(socket: Socket) if (characters[char.type].abilityType === "LevelUp") { setTimeout(() => characters[char.type].performAbility(char), 1250); } + levelUp.currentTime = 0; + levelUp.play(); } }); socket.on("stream", (enemy, outcome) => {