feat(audio): add new audio assets and replace old wav files
1. add new mp3 format audio files and their meta configuration files 2. delete old unused wav format audio files and their meta files 3. add flash effect audio playback logic in skill casting system
This commit is contained in:
Binary file not shown.
Binary file not shown.
BIN
assets/resources/music/BATTLE.mp3
Normal file
BIN
assets/resources/music/BATTLE.mp3
Normal file
Binary file not shown.
@@ -2,10 +2,10 @@
|
||||
"ver": "1.0.0",
|
||||
"importer": "audio-clip",
|
||||
"imported": true,
|
||||
"uuid": "7077f9ac-0d7f-49b2-b1fc-258f48ebcb92",
|
||||
"uuid": "db35468f-265d-4465-86ba-5186c6c1d0a2",
|
||||
"files": [
|
||||
".json",
|
||||
".wav"
|
||||
".mp3"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {
|
||||
Binary file not shown.
BIN
assets/resources/music/Critical.mp3
Normal file
BIN
assets/resources/music/Critical.mp3
Normal file
Binary file not shown.
@@ -2,10 +2,10 @@
|
||||
"ver": "1.0.0",
|
||||
"importer": "audio-clip",
|
||||
"imported": true,
|
||||
"uuid": "9d34eb17-93b0-4e19-817e-aa289eebf54e",
|
||||
"uuid": "82584d50-d744-4717-bba9-a74cf21c136d",
|
||||
"files": [
|
||||
".json",
|
||||
".wav"
|
||||
".mp3"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {
|
||||
Binary file not shown.
BIN
assets/resources/music/Fire.mp3
Normal file
BIN
assets/resources/music/Fire.mp3
Normal file
Binary file not shown.
@@ -2,10 +2,10 @@
|
||||
"ver": "1.0.0",
|
||||
"importer": "audio-clip",
|
||||
"imported": true,
|
||||
"uuid": "55262788-4684-484b-9273-5af16c12690d",
|
||||
"uuid": "b03d05c0-ce55-4f75-b4ef-214d0151a240",
|
||||
"files": [
|
||||
".json",
|
||||
".wav"
|
||||
".mp3"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {
|
||||
BIN
assets/resources/music/Hit.mp3
Normal file
BIN
assets/resources/music/Hit.mp3
Normal file
Binary file not shown.
@@ -2,10 +2,10 @@
|
||||
"ver": "1.0.0",
|
||||
"importer": "audio-clip",
|
||||
"imported": true,
|
||||
"uuid": "7788bbf2-19b3-4d2b-9b29-73c1a3611bf2",
|
||||
"uuid": "32a28430-53ab-4444-a65a-140412486986",
|
||||
"files": [
|
||||
".json",
|
||||
".wav"
|
||||
".mp3"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {
|
||||
Binary file not shown.
@@ -1,14 +0,0 @@
|
||||
{
|
||||
"ver": "1.0.0",
|
||||
"importer": "audio-clip",
|
||||
"imported": true,
|
||||
"uuid": "eab9c19a-d17b-44c1-8182-666328bfd379",
|
||||
"files": [
|
||||
".json",
|
||||
".wav"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {
|
||||
"downloadMode": 0
|
||||
}
|
||||
}
|
||||
BIN
assets/resources/music/button.mp3
Normal file
BIN
assets/resources/music/button.mp3
Normal file
Binary file not shown.
14
assets/resources/music/button.mp3.meta
Normal file
14
assets/resources/music/button.mp3.meta
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"ver": "1.0.0",
|
||||
"importer": "audio-clip",
|
||||
"imported": true,
|
||||
"uuid": "62669db4-c83b-4438-9a93-150260d92408",
|
||||
"files": [
|
||||
".json",
|
||||
".mp3"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {
|
||||
"downloadMode": 0
|
||||
}
|
||||
}
|
||||
BIN
assets/resources/music/dun.mp3
Normal file
BIN
assets/resources/music/dun.mp3
Normal file
Binary file not shown.
14
assets/resources/music/dun.mp3.meta
Normal file
14
assets/resources/music/dun.mp3.meta
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"ver": "1.0.0",
|
||||
"importer": "audio-clip",
|
||||
"imported": true,
|
||||
"uuid": "7c92881a-8fe9-4c48-bbe0-8f1989d6e3f1",
|
||||
"files": [
|
||||
".json",
|
||||
".mp3"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {
|
||||
"downloadMode": 0
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -1,14 +0,0 @@
|
||||
{
|
||||
"ver": "1.0.0",
|
||||
"importer": "audio-clip",
|
||||
"imported": true,
|
||||
"uuid": "4ced6d9e-6d28-40ed-a43e-7f1911ad5e22",
|
||||
"files": [
|
||||
".json",
|
||||
".wav"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {
|
||||
"downloadMode": 0
|
||||
}
|
||||
}
|
||||
BIN
assets/resources/music/flash.mp3
Normal file
BIN
assets/resources/music/flash.mp3
Normal file
Binary file not shown.
14
assets/resources/music/flash.mp3.meta
Normal file
14
assets/resources/music/flash.mp3.meta
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"ver": "1.0.0",
|
||||
"importer": "audio-clip",
|
||||
"imported": true,
|
||||
"uuid": "683c1c7a-97da-4694-a96a-f83df6575d73",
|
||||
"files": [
|
||||
".json",
|
||||
".mp3"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {
|
||||
"downloadMode": 0
|
||||
}
|
||||
}
|
||||
BIN
assets/resources/music/home.mp3
Normal file
BIN
assets/resources/music/home.mp3
Normal file
Binary file not shown.
14
assets/resources/music/home.mp3.meta
Normal file
14
assets/resources/music/home.mp3.meta
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"ver": "1.0.0",
|
||||
"importer": "audio-clip",
|
||||
"imported": true,
|
||||
"uuid": "8c59d18e-9b43-46e5-8249-39d98ffec825",
|
||||
"files": [
|
||||
".json",
|
||||
".mp3"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {
|
||||
"downloadMode": 0
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -1,14 +0,0 @@
|
||||
{
|
||||
"ver": "1.0.0",
|
||||
"importer": "audio-clip",
|
||||
"imported": true,
|
||||
"uuid": "70867b0a-df6f-4e16-be5d-761e17533c5b",
|
||||
"files": [
|
||||
".json",
|
||||
".wav"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {
|
||||
"downloadMode": 0
|
||||
}
|
||||
}
|
||||
@@ -229,6 +229,9 @@ export class SCastSystem extends ecs.ComblockSystem implements ecs.ISystemUpdate
|
||||
heroView.playOther('yellow')
|
||||
}
|
||||
|
||||
// 播放特殊技能触发音效
|
||||
oops.audio.playEffect("music/flash");
|
||||
|
||||
// 如果是敌方攻击技能,必须在战斗中才能释放;友方增益/护盾则允许在非战斗中释放
|
||||
let config = SkillSet[s_uuid];
|
||||
if (!config) return;
|
||||
|
||||
Reference in New Issue
Block a user