WIP
This commit is contained in:
Binary file not shown.
BIN
public/sfx/mp3/brick-castle.mp3
Normal file
BIN
public/sfx/mp3/brick-castle.mp3
Normal file
Binary file not shown.
BIN
public/sfx/mp3/brick-move.mp3
Normal file
BIN
public/sfx/mp3/brick-move.mp3
Normal file
Binary file not shown.
BIN
public/sfx/mp3/brick-take.mp3
Normal file
BIN
public/sfx/mp3/brick-take.mp3
Normal file
Binary file not shown.
BIN
public/sfx/mp3/cone-move.mp3
Normal file
BIN
public/sfx/mp3/cone-move.mp3
Normal file
Binary file not shown.
BIN
public/sfx/mp3/cone-take.mp3
Normal file
BIN
public/sfx/mp3/cone-take.mp3
Normal file
Binary file not shown.
BIN
public/sfx/mp3/fanfare.mp3
Normal file
BIN
public/sfx/mp3/fanfare.mp3
Normal file
Binary file not shown.
BIN
public/sfx/mp3/move.mp3
Normal file
BIN
public/sfx/mp3/move.mp3
Normal file
Binary file not shown.
BIN
public/sfx/mp3/neigh.mp3
Normal file
BIN
public/sfx/mp3/neigh.mp3
Normal file
Binary file not shown.
BIN
public/sfx/mp3/pipi-move.mp3
Normal file
BIN
public/sfx/mp3/pipi-move.mp3
Normal file
Binary file not shown.
BIN
public/sfx/mp3/pipi-take.mp3
Normal file
BIN
public/sfx/mp3/pipi-take.mp3
Normal file
Binary file not shown.
BIN
public/sfx/mp3/rewind.mp3
Normal file
BIN
public/sfx/mp3/rewind.mp3
Normal file
Binary file not shown.
BIN
public/sfx/mp3/snap.mp3
Normal file
BIN
public/sfx/mp3/snap.mp3
Normal file
Binary file not shown.
BIN
public/sfx/mp3/snort.mp3
Normal file
BIN
public/sfx/mp3/snort.mp3
Normal file
Binary file not shown.
BIN
public/sfx/mp3/swap.mp3
Normal file
BIN
public/sfx/mp3/swap.mp3
Normal file
Binary file not shown.
BIN
public/sfx/mp3/take.mp3
Normal file
BIN
public/sfx/mp3/take.mp3
Normal file
Binary file not shown.
BIN
public/sfx/ogg/brick-castle.ogg
Normal file
BIN
public/sfx/ogg/brick-castle.ogg
Normal file
Binary file not shown.
BIN
public/sfx/ogg/brick-move.ogg
Normal file
BIN
public/sfx/ogg/brick-move.ogg
Normal file
Binary file not shown.
BIN
public/sfx/ogg/brick-take.ogg
Normal file
BIN
public/sfx/ogg/brick-take.ogg
Normal file
Binary file not shown.
BIN
public/sfx/ogg/cone-move.ogg
Normal file
BIN
public/sfx/ogg/cone-move.ogg
Normal file
Binary file not shown.
BIN
public/sfx/ogg/cone-take.ogg
Normal file
BIN
public/sfx/ogg/cone-take.ogg
Normal file
Binary file not shown.
BIN
public/sfx/ogg/fanfare.ogg
Normal file
BIN
public/sfx/ogg/fanfare.ogg
Normal file
Binary file not shown.
BIN
public/sfx/ogg/move.ogg
Normal file
BIN
public/sfx/ogg/move.ogg
Normal file
Binary file not shown.
BIN
public/sfx/ogg/neigh.ogg
Normal file
BIN
public/sfx/ogg/neigh.ogg
Normal file
Binary file not shown.
BIN
public/sfx/ogg/pipi-move.ogg
Normal file
BIN
public/sfx/ogg/pipi-move.ogg
Normal file
Binary file not shown.
BIN
public/sfx/ogg/pipi-take.ogg
Normal file
BIN
public/sfx/ogg/pipi-take.ogg
Normal file
Binary file not shown.
BIN
public/sfx/ogg/rewind.ogg
Normal file
BIN
public/sfx/ogg/rewind.ogg
Normal file
Binary file not shown.
BIN
public/sfx/ogg/snap.ogg
Normal file
BIN
public/sfx/ogg/snap.ogg
Normal file
Binary file not shown.
BIN
public/sfx/ogg/snort.ogg
Normal file
BIN
public/sfx/ogg/snort.ogg
Normal file
Binary file not shown.
BIN
public/sfx/ogg/swap.ogg
Normal file
BIN
public/sfx/ogg/swap.ogg
Normal file
Binary file not shown.
BIN
public/sfx/ogg/take.ogg
Normal file
BIN
public/sfx/ogg/take.ogg
Normal file
Binary file not shown.
BIN
public/sfx/pipi-move.wav
Normal file
BIN
public/sfx/pipi-move.wav
Normal file
Binary file not shown.
BIN
public/sfx/pipi-take.wav
Normal file
BIN
public/sfx/pipi-take.wav
Normal file
Binary file not shown.
@@ -135,6 +135,9 @@ class Player {
|
|||||||
sfx.take.play();
|
sfx.take.play();
|
||||||
sfx.neigh.play();
|
sfx.neigh.play();
|
||||||
break;
|
break;
|
||||||
|
case "k":
|
||||||
|
sfx.pipiTake.play();
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
sfx.take.play();
|
sfx.take.play();
|
||||||
}
|
}
|
||||||
@@ -151,6 +154,9 @@ class Player {
|
|||||||
case "n":
|
case "n":
|
||||||
sfx.snort.play();
|
sfx.snort.play();
|
||||||
break;
|
break;
|
||||||
|
case "k":
|
||||||
|
sfx.pipiMove.play();
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
sfx.move.play();
|
sfx.move.play();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,55 +2,63 @@ import { Howl } from "howler";
|
|||||||
|
|
||||||
const sfx = {
|
const sfx = {
|
||||||
move: new Howl({
|
move: new Howl({
|
||||||
src: ["/sfx/move.wav"],
|
src: ["/sfx/mp3/move.mp3"],
|
||||||
volume: 0.3,
|
volume: 0.3,
|
||||||
}),
|
}),
|
||||||
take: new Howl({
|
take: new Howl({
|
||||||
src: ["/sfx/take.wav"],
|
src: ["/sfx/mp3/take.mp3"],
|
||||||
volume: 0.9,
|
volume: 0.9,
|
||||||
}),
|
}),
|
||||||
swap: new Howl({
|
swap: new Howl({
|
||||||
src: ["/sfx/swap.wav"],
|
src: ["/sfx/mp3/swap.mp3"],
|
||||||
volume: 0.6,
|
volume: 0.6,
|
||||||
}),
|
}),
|
||||||
snap: new Howl({
|
snap: new Howl({
|
||||||
src: ["/sfx/snap.wav"],
|
src: ["/sfx/mp3/snap.mp3"],
|
||||||
volume: 0.6,
|
volume: 0.6,
|
||||||
}),
|
}),
|
||||||
rewind: new Howl({
|
rewind: new Howl({
|
||||||
src: ["/sfx/rewind.wav"],
|
src: ["/sfx/mp3/rewind.mp3"],
|
||||||
volume: 0.2,
|
volume: 0.2,
|
||||||
}),
|
}),
|
||||||
snort: new Howl({
|
snort: new Howl({
|
||||||
src: ["/sfx/snort.wav"],
|
src: ["/sfx/mp3/snort.mp3"],
|
||||||
volume: 0.5,
|
volume: 0.5,
|
||||||
}),
|
}),
|
||||||
neigh: new Howl({
|
neigh: new Howl({
|
||||||
src: ["/sfx/neigh.wav"],
|
src: ["/sfx/mp3/neigh.mp3"],
|
||||||
volume: 0.5,
|
volume: 0.5,
|
||||||
}),
|
}),
|
||||||
fanfare: new Howl({
|
fanfare: new Howl({
|
||||||
src: ["/sfx/fanfare.wav"],
|
src: ["/sfx/mp3/fanfare.mp3"],
|
||||||
volume: 0.5,
|
volume: 0.5,
|
||||||
}),
|
}),
|
||||||
brickMove: new Howl({
|
brickMove: new Howl({
|
||||||
src: ["/sfx/brick-move.wav"],
|
src: ["/sfx/mp3/brick-move.mp3"],
|
||||||
volume: 0.3,
|
volume: 0.3,
|
||||||
}),
|
}),
|
||||||
brickTake: new Howl({
|
brickTake: new Howl({
|
||||||
src: ["/sfx/brick-take.wav"],
|
src: ["/sfx/mp3/brick-take.mp3"],
|
||||||
volume: 0.2,
|
volume: 0.2,
|
||||||
}),
|
}),
|
||||||
brickCastle: new Howl({
|
brickCastle: new Howl({
|
||||||
src: ["/sfx/brick-castle.wav"],
|
src: ["/sfx/mp3/brick-castle.mp3"],
|
||||||
volume: 0.3,
|
volume: 0.3,
|
||||||
}),
|
}),
|
||||||
coneMove: new Howl({
|
coneMove: new Howl({
|
||||||
src: ["/sfx/cone-move.wav"],
|
src: ["/sfx/mp3/cone-move.mp3"],
|
||||||
volume: 0.3,
|
volume: 1,
|
||||||
}),
|
}),
|
||||||
coneTake: new Howl({
|
coneTake: new Howl({
|
||||||
src: ["/sfx/cone-take.wav"],
|
src: ["/sfx/mp3/cone-take.mp3"],
|
||||||
|
volume: 0.3,
|
||||||
|
}),
|
||||||
|
pipiMove: new Howl({
|
||||||
|
src: ["/sfx/mp3/pipi-move.mp3"],
|
||||||
|
volume: 0.5,
|
||||||
|
}),
|
||||||
|
pipiTake: new Howl({
|
||||||
|
src: ["/sfx/mp3/pipi-take.mp3"],
|
||||||
volume: 0.3,
|
volume: 0.3,
|
||||||
}),
|
}),
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user