-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsfx.js
More file actions
37 lines (36 loc) · 733 Bytes
/
sfx.js
File metadata and controls
37 lines (36 loc) · 733 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
import { Howl, Howler } from "howler";
export const SFX = {
text: new Howl({
src: ["./sounds/text.wav"],
}),
attack1: new Howl({
src: ["./sounds/attack1.wav"],
}),
attack2: new Howl({
src: ["./sounds/attack2.wav"],
}),
smash: new Howl({
src: ["./sounds/smash.wav"],
}),
enemyHit: new Howl({
src: ["./sounds/enemyhit.wav"],
}),
psi: new Howl({
src: ["./sounds/psi.wav"],
}),
heal1: new Howl({
src: ["./sounds/heal1.wav"],
}),
heal2: new Howl({
src: ["./sounds/heal2.wav"],
}),
freeze1: new Howl({
src: ["./sounds/freeze1.wav"],
}),
freeze2: new Howl({
src: ["./sounds/freeze2.wav"],
}),
freeze3: new Howl({
src: ["./sounds/freeze3.wav"],
}),
};