diff options
| author | Eltrac <hi@guhub.cn> | 2025-03-14 09:33:26 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-03-14 09:33:26 +0800 |
| commit | 1065dc41e5c223ceed4530b8958ce163bcb0a355 (patch) | |
| tree | 25ba06138d6f57fa27bee9600a16e5b5da4c188d | |
| parent | 5f8ea036eb7ac672639901108a8ececc3fdb7995 (diff) | |
feat(audio): add party music to some room
| -rw-r--r-- | README.md | 1 | ||||
| -rw-r--r-- | data/roomData.lua | 5 | ||||
| -rw-r--r-- | resources/music/disco_fight.wav | bin | 0 -> 28105914 bytes | |||
| -rw-r--r-- | utils/audio.lua | 1 |
4 files changed, 7 insertions, 0 deletions
@@ -21,3 +21,4 @@ mostly from freesound - `briskFight` - [8-bit Brisk Music Loop.wav](https://freesound.org/people/EVRetro/sounds/583613/) - `beginning` - [Pixel Flute Melody Loop](https://freesound.org/people/orginaljun/sounds/531459/) +- `discoFight` - [Raising heartbeats (Spicy version)](https://freesound.org/people/Victor_Natas/sounds/642313/)(CC0) diff --git a/data/roomData.lua b/data/roomData.lua index c331670..5bcbfa3 100644 --- a/data/roomData.lua +++ b/data/roomData.lua @@ -19,10 +19,14 @@ local roomData = { {"lancer", "topLeft"}, {"lancer", "bottomRight"}, {"lancer", "bottomLeft"}, + {"lancer", "center"}, + {"lancer", "center"}, + {"lancer", "center"}, }, obstacles = { {"pillar", "center"} }, + music = "discoFight" }, blueberries = { name = "Blueberries", @@ -60,6 +64,7 @@ local roomData = { {"pillar", "leftCenter"}, {"pillar", "rightCenter"}, }, + music = "discoFight" }, library = { name = "Library", diff --git a/resources/music/disco_fight.wav b/resources/music/disco_fight.wav Binary files differnew file mode 100644 index 0000000..7fe1fdc --- /dev/null +++ b/resources/music/disco_fight.wav diff --git a/utils/audio.lua b/utils/audio.lua index 73f9da4..30f4137 100644 --- a/utils/audio.lua +++ b/utils/audio.lua @@ -14,6 +14,7 @@ local soundResources = { local musicResources = { briskFight = "brisk_fight.wav", intenseFight = "intense_fight.wav", + discoFight = "disco_fight.wav", beginning = "beginning.wav" } |
