Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sn02_playAudio
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
template admin
sn02_playAudio
Commits
7b16c50b
Commit
7b16c50b
authored
Oct 28, 2023
by
yu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
b1951871
Changes
38
Hide whitespace changes
Inline
Side-by-side
Showing
38 changed files
with
152 additions
and
144 deletions
+152
-144
sn02_playAudio.meta
assets/sn02_playAudio.meta
+1
-1
audios.meta
assets/sn02_playAudio/audios.meta
+1
-1
bgm_sn02_playAudio.mp3.meta
assets/sn02_playAudio/audios/bgm_sn02_playAudio.mp3.meta
+1
-1
gun_sn02_playAudio.mp3.meta
assets/sn02_playAudio/audios/gun_sn02_playAudio.mp3.meta
+1
-1
right_sn02_playAudio.mp3.meta
assets/sn02_playAudio/audios/right_sn02_playAudio.mp3.meta
+1
-1
dragonBones.meta
assets/sn02_playAudio/dragonBones.meta
+1
-1
fonts.meta
assets/sn02_playAudio/fonts.meta
+1
-1
AlibabaPuHuiTiBold_sn02_playAudio.ttf.meta
...layAudio/fonts/AlibabaPuHuiTiBold_sn02_playAudio.ttf.meta
+1
-1
ffft_sn02_playAudio.ttf.meta
assets/sn02_playAudio/fonts/ffft_sn02_playAudio.ttf.meta
+1
-1
scene.meta
assets/sn02_playAudio/scene.meta
+1
-1
sn02_playAudio.fire
assets/sn02_playAudio/scene/sn02_playAudio.fire
+22
-22
sn02_playAudio.fire.meta
assets/sn02_playAudio/scene/sn02_playAudio.fire.meta
+1
-1
sn02_playAudio.ts
assets/sn02_playAudio/scene/sn02_playAudio.ts
+7
-0
sn02_playAudio.ts.meta
assets/sn02_playAudio/scene/sn02_playAudio.ts.meta
+1
-1
tool.meta
assets/sn02_playAudio/scene/tool.meta
+1
-1
Game_sn02_playAudio.ts.meta
assets/sn02_playAudio/scene/tool/Game_sn02_playAudio.ts.meta
+1
-1
pg_sn02_playAudio.ts.meta
assets/sn02_playAudio/scene/tool/pg_sn02_playAudio.ts.meta
+1
-1
script.meta
assets/sn02_playAudio/script.meta
+1
-1
MyCocosSceneComponent_sn02_playAudio.ts.meta
...Audio/script/MyCocosSceneComponent_sn02_playAudio.ts.meta
+1
-1
defaultData_sn02_playAudio.ts
assets/sn02_playAudio/script/defaultData_sn02_playAudio.ts
+62
-61
defaultData_sn02_playAudio.ts.meta
.../sn02_playAudio/script/defaultData_sn02_playAudio.ts.meta
+1
-1
runtime_sn02_playAudio.js.meta
assets/sn02_playAudio/script/runtime_sn02_playAudio.js.meta
+1
-1
util_sn02_playAudio.ts.meta
assets/sn02_playAudio/script/util_sn02_playAudio.ts.meta
+1
-1
textures.meta
assets/sn02_playAudio/textures.meta
+1
-1
bg_audio_sn02_playAudio.png.meta
.../sn02_playAudio/textures/bg_audio_sn02_playAudio.png.meta
+3
-3
bg_audiotime_bg_sn02_playAudio.png.meta
...layAudio/textures/bg_audiotime_bg_sn02_playAudio.png.meta
+3
-3
bg_audiotime_progress_sn02_playAudio.png.meta
...io/textures/bg_audiotime_progress_sn02_playAudio.png.meta
+3
-3
bg_bg_sn02_playAudio.png.meta
assets/sn02_playAudio/textures/bg_bg_sn02_playAudio.png.meta
+3
-3
bg_book2_bg_sn02_playAudio.png.meta
...02_playAudio/textures/bg_book2_bg_sn02_playAudio.png.meta
+3
-3
bg_book2_shadow_sn02_playAudio.png.meta
...layAudio/textures/bg_book2_shadow_sn02_playAudio.png.meta
+3
-3
bg_book2_sn02_playAudio.png.meta
.../sn02_playAudio/textures/bg_book2_sn02_playAudio.png.meta
+3
-3
bg_bottom_sn02_playAudio.png.meta
...sn02_playAudio/textures/bg_bottom_sn02_playAudio.png.meta
+3
-3
btn_play_sn02_playAudio.png.meta
.../sn02_playAudio/textures/btn_play_sn02_playAudio.png.meta
+3
-3
btn_playall_sn02_playAudio.png.meta
...02_playAudio/textures/btn_playall_sn02_playAudio.png.meta
+3
-3
btn_replay_sn02_playAudio.png.meta
...n02_playAudio/textures/btn_replay_sn02_playAudio.png.meta
+3
-3
btn_stop_sn02_playAudio.png.meta
.../sn02_playAudio/textures/btn_stop_sn02_playAudio.png.meta
+3
-3
rect_sn02_audio.png.meta
assets/sn02_playAudio/textures/rect_sn02_audio.png.meta
+3
-3
buildCocos.js
bin/buildCocos.js
+1
-1
No files found.
assets/sn02_playAudio.meta
View file @
7b16c50b
{
{
"ver": "1.1.2",
"ver": "1.1.2",
"uuid": "
68e76a24-404b-4287-9e6c-46dea48ec65
4",
"uuid": "
e7df9397-ff0d-42d7-8627-80d45e914fb
4",
"isBundle": false,
"isBundle": false,
"bundleName": "",
"bundleName": "",
"priority": 1,
"priority": 1,
...
...
assets/sn02_playAudio/audios.meta
View file @
7b16c50b
{
{
"ver": "1.1.2",
"ver": "1.1.2",
"uuid": "
81976ddc-8485-4a74-8495-efd3dea5240a
",
"uuid": "
2c15eff7-3f0f-449c-bdee-dfec17e69f21
",
"isBundle": false,
"isBundle": false,
"bundleName": "",
"bundleName": "",
"priority": 1,
"priority": 1,
...
...
assets/sn02_playAudio/audios/bgm_sn02_playAudio.mp3.meta
View file @
7b16c50b
{
{
"ver": "2.0.1",
"ver": "2.0.1",
"uuid": "
4f07dbcf-4a58-4d34-a598-a86b0b06712d
",
"uuid": "
ee5190a8-81ad-4ade-8e22-20a1d3762073
",
"downloadMode": 0,
"downloadMode": 0,
"duration": 29.962449,
"duration": 29.962449,
"subMetas": {}
"subMetas": {}
...
...
assets/sn02_playAudio/audios/gun_sn02_playAudio.mp3.meta
View file @
7b16c50b
{
{
"ver": "2.0.1",
"ver": "2.0.1",
"uuid": "
8153a035-2a35-4a16-917c-c262c2d1a133
",
"uuid": "
d109f642-4486-4b67-9032-45fe7f8ad3fe
",
"downloadMode": 0,
"downloadMode": 0,
"duration": 0.156735,
"duration": 0.156735,
"subMetas": {}
"subMetas": {}
...
...
assets/sn02_playAudio/audios/right_sn02_playAudio.mp3.meta
View file @
7b16c50b
{
{
"ver": "2.0.1",
"ver": "2.0.1",
"uuid": "
7cc7c57b-a534-4543-9226-d558c66f734d
",
"uuid": "
4c99de9e-37ae-4443-8f01-befd8796a6f6
",
"downloadMode": 0,
"downloadMode": 0,
"duration": 2.716735,
"duration": 2.716735,
"subMetas": {}
"subMetas": {}
...
...
assets/sn02_playAudio/dragonBones.meta
View file @
7b16c50b
{
{
"ver": "1.1.2",
"ver": "1.1.2",
"uuid": "
c99869b1-3ac6-4172-8b08-6be06c654ef
e",
"uuid": "
9149147a-0002-4c46-b3f0-24dd117caec
e",
"isBundle": false,
"isBundle": false,
"bundleName": "",
"bundleName": "",
"priority": 1,
"priority": 1,
...
...
assets/sn02_playAudio/fonts.meta
View file @
7b16c50b
{
{
"ver": "1.1.2",
"ver": "1.1.2",
"uuid": "
0543a081-b5a8-4850-84bc-4a123344581c
",
"uuid": "
6bee7558-cacf-4017-ba62-3067a4da92ee
",
"isBundle": false,
"isBundle": false,
"bundleName": "",
"bundleName": "",
"priority": 1,
"priority": 1,
...
...
assets/sn02_playAudio/fonts/AlibabaPuHuiTiBold_sn02_playAudio.ttf.meta
View file @
7b16c50b
{
{
"ver": "1.1.0",
"ver": "1.1.0",
"uuid": "
8a213990-3b71-4787-b9e6-efc2854ba909
",
"uuid": "
47d4f7ea-431a-41e4-b7f8-f2248f5941f2
",
"subMetas": {}
"subMetas": {}
}
}
\ No newline at end of file
assets/sn02_playAudio/fonts/ffft_sn02_playAudio.ttf.meta
View file @
7b16c50b
{
{
"ver": "1.1.0",
"ver": "1.1.0",
"uuid": "
e03c0bb7-d7c6-4b87-b6ea-3c5a36b33305
",
"uuid": "
35dd97dd-388b-4187-bacf-c0b74e961152
",
"subMetas": {}
"subMetas": {}
}
}
\ No newline at end of file
assets/sn02_playAudio/scene.meta
View file @
7b16c50b
{
{
"ver": "1.1.2",
"ver": "1.1.2",
"uuid": "
454b93f3-ddce-4b07-b575-d3b9802eef8a
",
"uuid": "
c46433d7-a712-4eb6-af9c-17a321756c77
",
"isBundle": false,
"isBundle": false,
"bundleName": "",
"bundleName": "",
"priority": 1,
"priority": 1,
...
...
assets/sn02_playAudio/scene/sn02_playAudio.fire
View file @
7b16c50b
...
@@ -58,7 +58,7 @@
...
@@ -58,7 +58,7 @@
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"autoReleaseAssets": false,
"autoReleaseAssets": false,
"_id": "
c503dac0-5a2c-4cbf-8665-65a056ce4c1e
"
"_id": "
d9aca71e-e305-4ea7-8d3c-8f45bddd0ad7
"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
...
@@ -454,7 +454,7 @@
...
@@ -454,7 +454,7 @@
"_lineHeight": 40,
"_lineHeight": 40,
"_enableWrapText": true,
"_enableWrapText": true,
"_N$file": {
"_N$file": {
"__uuid__": "
e03c0bb7-d7c6-4b87-b6ea-3c5a36b33305
"
"__uuid__": "
35dd97dd-388b-4187-bacf-c0b74e961152
"
},
},
"_isSystemFontUsed": false,
"_isSystemFontUsed": false,
"_spacingX": 0,
"_spacingX": 0,
...
@@ -547,7 +547,7 @@
...
@@ -547,7 +547,7 @@
"_lineHeight": 40,
"_lineHeight": 40,
"_enableWrapText": true,
"_enableWrapText": true,
"_N$file": {
"_N$file": {
"__uuid__": "
8a213990-3b71-4787-b9e6-efc2854ba909
"
"__uuid__": "
47d4f7ea-431a-41e4-b7f8-f2248f5941f2
"
},
},
"_isSystemFontUsed": false,
"_isSystemFontUsed": false,
"_spacingX": 0,
"_spacingX": 0,
...
@@ -758,7 +758,7 @@
...
@@ -758,7 +758,7 @@
},
},
"_enabled": true,
"_enabled": true,
"_clip": {
"_clip": {
"__uuid__": "
8153a035-2a35-4a16-917c-c262c2d1a133
"
"__uuid__": "
d109f642-4486-4b67-9032-45fe7f8ad3fe
"
},
},
"_volume": 1,
"_volume": 1,
"_mute": false,
"_mute": false,
...
@@ -839,7 +839,7 @@
...
@@ -839,7 +839,7 @@
},
},
"_enabled": true,
"_enabled": true,
"_clip": {
"_clip": {
"__uuid__": "
7cc7c57b-a534-4543-9226-d558c66f734d
"
"__uuid__": "
4c99de9e-37ae-4443-8f01-befd8796a6f6
"
},
},
"_volume": 1,
"_volume": 1,
"_mute": false,
"_mute": false,
...
@@ -920,7 +920,7 @@
...
@@ -920,7 +920,7 @@
},
},
"_enabled": true,
"_enabled": true,
"_clip": {
"_clip": {
"__uuid__": "
4f07dbcf-4a58-4d34-a598-a86b0b06712d
"
"__uuid__": "
ee5190a8-81ad-4ade-8e22-20a1d3762073
"
},
},
"_volume": 1,
"_volume": 1,
"_mute": false,
"_mute": false,
...
@@ -1080,7 +1080,7 @@
...
@@ -1080,7 +1080,7 @@
"_srcBlendFactor": 770,
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_dstBlendFactor": 771,
"_spriteFrame": {
"_spriteFrame": {
"__uuid__": "
f0517069-3d9f-49d7-a303-d103f1b35893
"
"__uuid__": "
e4da3b6e-3069-4b98-9047-dd4ba2626778
"
},
},
"_type": 0,
"_type": 0,
"_sizeMode": 1,
"_sizeMode": 1,
...
@@ -1166,7 +1166,7 @@
...
@@ -1166,7 +1166,7 @@
"_srcBlendFactor": 770,
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_dstBlendFactor": 771,
"_spriteFrame": {
"_spriteFrame": {
"__uuid__": "3
4a6172b-8685-4010-8b6e-c42b18e522d5
"
"__uuid__": "3
77ddc31-9a5f-471e-b311-0adb9ac18708
"
},
},
"_type": 0,
"_type": 0,
"_sizeMode": 0,
"_sizeMode": 0,
...
@@ -1840,7 +1840,7 @@
...
@@ -1840,7 +1840,7 @@
"_srcBlendFactor": 770,
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_dstBlendFactor": 771,
"_spriteFrame": {
"_spriteFrame": {
"__uuid__": "
6096859d-4f11-4fd2-85b8-8edfe787679a
"
"__uuid__": "
b4c915b7-f136-4c97-9204-75aa353250e6
"
},
},
"_type": 0,
"_type": 0,
"_sizeMode": 1,
"_sizeMode": 1,
...
@@ -2030,7 +2030,7 @@
...
@@ -2030,7 +2030,7 @@
}
}
],
],
"_spriteFrame": {
"_spriteFrame": {
"__uuid__": "
53839116-c81a-4bae-aadc-7858f0b901a4
"
"__uuid__": "
b1950846-5a28-43ed-84a6-23a1a97ba276
"
},
},
"_type": 2,
"_type": 2,
"_segments": 10000,
"_segments": 10000,
...
@@ -2116,7 +2116,7 @@
...
@@ -2116,7 +2116,7 @@
"_srcBlendFactor": 770,
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_dstBlendFactor": 771,
"_spriteFrame": {
"_spriteFrame": {
"__uuid__": "
0775270c-6af3-4682-a459-ded33bb7a281
"
"__uuid__": "
91859f05-041f-4a7e-aa84-05949ad41a28
"
},
},
"_type": 0,
"_type": 0,
"_sizeMode": 2,
"_sizeMode": 2,
...
@@ -2148,7 +2148,7 @@
...
@@ -2148,7 +2148,7 @@
"_srcBlendFactor": 770,
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_dstBlendFactor": 771,
"_spriteFrame": {
"_spriteFrame": {
"__uuid__": "
9a944e86-f3a9-4c5d-bc6c-d99fbff5ec9e
"
"__uuid__": "
f8e3be70-0473-40cf-b92e-c743462fd448
"
},
},
"_type": 0,
"_type": 0,
"_sizeMode": 1,
"_sizeMode": 1,
...
@@ -2314,7 +2314,7 @@
...
@@ -2314,7 +2314,7 @@
"_srcBlendFactor": 770,
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_dstBlendFactor": 771,
"_spriteFrame": {
"_spriteFrame": {
"__uuid__": "
4a9d9bde-0091-46d6-9e08-67745a3b3d6
b"
"__uuid__": "
acdce790-03ea-4cd3-b670-bf74d7bfeaf
b"
},
},
"_type": 3,
"_type": 3,
"_sizeMode": 1,
"_sizeMode": 1,
...
@@ -2536,7 +2536,7 @@
...
@@ -2536,7 +2536,7 @@
"_srcBlendFactor": 770,
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_dstBlendFactor": 771,
"_spriteFrame": {
"_spriteFrame": {
"__uuid__": "
0c34e886-d77c-4279-b0aa-18a108c3f61f
"
"__uuid__": "
3f8c53ca-843f-40aa-b047-8c7adbb7210b
"
},
},
"_type": 0,
"_type": 0,
"_sizeMode": 1,
"_sizeMode": 1,
...
@@ -2704,7 +2704,7 @@
...
@@ -2704,7 +2704,7 @@
"_lineHeight": 40,
"_lineHeight": 40,
"_enableWrapText": true,
"_enableWrapText": true,
"_N$file": {
"_N$file": {
"__uuid__": "
8a213990-3b71-4787-b9e6-efc2854ba909
"
"__uuid__": "
47d4f7ea-431a-41e4-b7f8-f2248f5941f2
"
},
},
"_isSystemFontUsed": false,
"_isSystemFontUsed": false,
"_spacingX": 0,
"_spacingX": 0,
...
@@ -2801,7 +2801,7 @@
...
@@ -2801,7 +2801,7 @@
"_lineHeight": 40,
"_lineHeight": 40,
"_enableWrapText": true,
"_enableWrapText": true,
"_N$file": {
"_N$file": {
"__uuid__": "
8a213990-3b71-4787-b9e6-efc2854ba909
"
"__uuid__": "
47d4f7ea-431a-41e4-b7f8-f2248f5941f2
"
},
},
"_isSystemFontUsed": false,
"_isSystemFontUsed": false,
"_spacingX": 0,
"_spacingX": 0,
...
@@ -2831,7 +2831,7 @@
...
@@ -2831,7 +2831,7 @@
"_srcBlendFactor": 770,
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_dstBlendFactor": 771,
"_spriteFrame": {
"_spriteFrame": {
"__uuid__": "
8a013bd3-83dc-4ab3-9189-1fda3ba9bd82
"
"__uuid__": "
ebf3b9ab-9cca-4a54-8be5-79cd00a06443
"
},
},
"_type": 0,
"_type": 0,
"_sizeMode": 1,
"_sizeMode": 1,
...
@@ -3115,7 +3115,7 @@
...
@@ -3115,7 +3115,7 @@
"_srcBlendFactor": 770,
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_dstBlendFactor": 771,
"_spriteFrame": {
"_spriteFrame": {
"__uuid__": "
67b5cb1c-1405-48f3-96ed-396544fd79c8
"
"__uuid__": "
ac9740b2-b667-4aeb-b480-70c2fe9cb1c0
"
},
},
"_type": 0,
"_type": 0,
"_sizeMode": 1,
"_sizeMode": 1,
...
@@ -3379,7 +3379,7 @@
...
@@ -3379,7 +3379,7 @@
"_srcBlendFactor": 770,
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_dstBlendFactor": 771,
"_spriteFrame": {
"_spriteFrame": {
"__uuid__": "
1ea182df-9841-4cd1-85b9-638e6fd63d9b
"
"__uuid__": "
8cfc7142-7618-480f-a8b0-bbfb2079acad
"
},
},
"_type": 0,
"_type": 0,
"_sizeMode": 1,
"_sizeMode": 1,
...
@@ -3473,7 +3473,7 @@
...
@@ -3473,7 +3473,7 @@
"_srcBlendFactor": 770,
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_dstBlendFactor": 771,
"_spriteFrame": {
"_spriteFrame": {
"__uuid__": "
c310312f-ddd1-4f71-8a4f-502a63bfc871
"
"__uuid__": "
1295f12e-4aad-497a-9727-67cc3c91cd3c
"
},
},
"_type": 0,
"_type": 0,
"_sizeMode": 1,
"_sizeMode": 1,
...
@@ -3885,7 +3885,7 @@
...
@@ -3885,7 +3885,7 @@
"_srcBlendFactor": 770,
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_dstBlendFactor": 771,
"_spriteFrame": {
"_spriteFrame": {
"__uuid__": "
71507564-db65-4e1a-bbfc-f6e591372e76
"
"__uuid__": "
2d2bbc5b-04c6-47cc-9163-d1e8b3f029ac
"
},
},
"_type": 0,
"_type": 0,
"_sizeMode": 1,
"_sizeMode": 1,
...
@@ -3946,7 +3946,7 @@
...
@@ -3946,7 +3946,7 @@
"_id": "29zXboiXFBKoIV4PQ2liTe"
"_id": "29zXboiXFBKoIV4PQ2liTe"
},
},
{
{
"__type__": "
73373H834pNfamD5xA2SJyw
",
"__type__": "
86cf3I2Bs9FJq2+ZUDIpZHF
",
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
...
...
assets/sn02_playAudio/scene/sn02_playAudio.fire.meta
View file @
7b16c50b
{
{
"ver": "1.2.9",
"ver": "1.2.9",
"uuid": "
c503dac0-5a2c-4cbf-8665-65a056ce4c1e
",
"uuid": "
d9aca71e-e305-4ea7-8d3c-8f45bddd0ad7
",
"asyncLoadAssets": false,
"asyncLoadAssets": false,
"autoReleaseAssets": false,
"autoReleaseAssets": false,
"subMetas": {}
"subMetas": {}
...
...
assets/sn02_playAudio/scene/sn02_playAudio.ts
View file @
7b16c50b
...
@@ -177,6 +177,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -177,6 +177,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
this
.
playAll
=
true
;
this
.
playAll
=
true
;
if
(
this
.
isPlayAudio
)
return
;
if
(
this
.
isPlayAudio
)
return
;
this
.
autoPlayAudio
();
this
.
autoPlayAudio
();
this
.
btn_replay
.
active
=
false
;
}
}
private
onReplay
()
{
private
onReplay
()
{
this
.
btn_replay
.
active
=
false
;
this
.
btn_replay
.
active
=
false
;
...
@@ -187,6 +188,9 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -187,6 +188,9 @@ export default class SceneComponent extends MyCocosSceneComponent {
let
op
=
Game
.
getIns
().
getCurrentPage
().
optionList
[
this
.
itemIdx
];
let
op
=
Game
.
getIns
().
getCurrentPage
().
optionList
[
this
.
itemIdx
];
if
(
!
op
)
{
if
(
!
op
)
{
this
.
btn_replay
.
active
=
true
;
this
.
btn_replay
.
active
=
true
;
this
.
playAll
=
false
;
this
.
itemIdx
=
-
1
;
this
.
updateItems
();
return
;
return
;
}
}
pg
.
audio
.
playAudioByUrl
(
Game
.
getIns
().
getCurrentPage
().
optionList
[
this
.
itemIdx
].
audioUrl
,
(
id
)
=>
{
pg
.
audio
.
playAudioByUrl
(
Game
.
getIns
().
getCurrentPage
().
optionList
[
this
.
itemIdx
].
audioUrl
,
(
id
)
=>
{
...
@@ -200,6 +204,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -200,6 +204,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
});
});
// this.showLeft();
// this.showLeft();
this
.
updateItems
();
this
.
updateItems
();
this
.
btn_replay
.
active
=
false
;
}
}
private
itemAudioId
;
private
itemAudioId
;
private
itemIdx
=
0
;
private
itemIdx
=
0
;
...
@@ -220,11 +225,13 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -220,11 +225,13 @@ export default class SceneComponent extends MyCocosSceneComponent {
btn_play
.
on
(
cc
.
Node
.
EventType
.
TOUCH_END
,
()
=>
{
btn_play
.
on
(
cc
.
Node
.
EventType
.
TOUCH_END
,
()
=>
{
btn_stop
.
active
=
true
;
btn_stop
.
active
=
true
;
btn_play
.
active
=
false
;
btn_play
.
active
=
false
;
// this.isPlayAudio = false;
if
(
this
.
itemAudioId
)
cc
.
audioEngine
.
stopEffect
(
this
.
itemAudioId
);
if
(
this
.
itemAudioId
)
cc
.
audioEngine
.
stopEffect
(
this
.
itemAudioId
);
let
progress
=
cc
.
find
(
"
progress
"
,
this
.
pro_time
).
getComponent
(
cc
.
Sprite
);
let
progress
=
cc
.
find
(
"
progress
"
,
this
.
pro_time
).
getComponent
(
cc
.
Sprite
);
cc
.
Tween
.
stopAllByTarget
(
progress
);
cc
.
Tween
.
stopAllByTarget
(
progress
);
})
})
btn_stop
.
on
(
cc
.
Node
.
EventType
.
TOUCH_END
,
()
=>
{
btn_stop
.
on
(
cc
.
Node
.
EventType
.
TOUCH_END
,
()
=>
{
this
.
btn_replay
.
active
=
false
;
cc
.
audioEngine
.
stopAllEffects
();
cc
.
audioEngine
.
stopAllEffects
();
btn_stop
.
active
=
false
;
btn_stop
.
active
=
false
;
btn_play
.
active
=
true
;
btn_play
.
active
=
true
;
...
...
assets/sn02_playAudio/scene/sn02_playAudio.ts.meta
View file @
7b16c50b
{
{
"ver": "1.0.8",
"ver": "1.0.8",
"uuid": "
733731fc-df8a-4d7d-a983-e71036489cb0
",
"uuid": "
86cf3236-06cf-4526-adbe-6540c8a591c5
",
"isPlugin": false,
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInNative": true,
...
...
assets/sn02_playAudio/scene/tool.meta
View file @
7b16c50b
{
{
"ver": "1.1.2",
"ver": "1.1.2",
"uuid": "
d179653c-fbf3-45bd-9471-057ef22df6b0
",
"uuid": "
2f4ca739-a958-42a9-acf7-9ccf8b43389e
",
"isBundle": false,
"isBundle": false,
"bundleName": "",
"bundleName": "",
"priority": 1,
"priority": 1,
...
...
assets/sn02_playAudio/scene/tool/Game_sn02_playAudio.ts.meta
View file @
7b16c50b
{
{
"ver": "1.0.8",
"ver": "1.0.8",
"uuid": "
7ccdfe4f-2920-48c2-84f7-c0153da39890
",
"uuid": "
0cdaf6e5-4c64-40a0-b50b-0b37eb5f081a
",
"isPlugin": false,
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInNative": true,
...
...
assets/sn02_playAudio/scene/tool/pg_sn02_playAudio.ts.meta
View file @
7b16c50b
{
{
"ver": "1.0.8",
"ver": "1.0.8",
"uuid": "
0747213a-623e-4b47-ac1c-4972fd1d57ab
",
"uuid": "
1ec9d7e1-e982-45cc-8065-9194417c620e
",
"isPlugin": false,
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInNative": true,
...
...
assets/sn02_playAudio/script.meta
View file @
7b16c50b
{
{
"ver": "1.1.2",
"ver": "1.1.2",
"uuid": "
f22a0370-da43-41e2-b5d1-53d6d51951b9
",
"uuid": "
9bc31090-bff4-4fc5-aa55-97c8f29eb6a7
",
"isBundle": false,
"isBundle": false,
"bundleName": "",
"bundleName": "",
"priority": 1,
"priority": 1,
...
...
assets/sn02_playAudio/script/MyCocosSceneComponent_sn02_playAudio.ts.meta
View file @
7b16c50b
{
{
"ver": "1.0.8",
"ver": "1.0.8",
"uuid": "
8dd9c03b-6aab-41d1-91e9-10fdd2def73f
",
"uuid": "
2880ea07-207e-4326-b8e5-6dc253349c23
",
"isPlugin": false,
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInNative": true,
...
...
assets/sn02_playAudio/script/defaultData_sn02_playAudio.ts
View file @
7b16c50b
...
@@ -40,67 +40,68 @@ export const defaultData = {
...
@@ -40,67 +40,68 @@ export const defaultData = {
"
time
"
:
""
,
"
time
"
:
""
,
"
right
"
:
false
,
"
right
"
:
false
,
"
audioName
"
:
"
cape.mp3
"
"
audioName
"
:
"
cape.mp3
"
},
{
},
"
type
"
:
"
txt
"
,
// {
"
image
"
:
""
,
// "type": "txt",
"
audio
"
:
"
http://staging-teach.cdn.ireadabc.com/7934cdcec68eabe639020bad5420d7f8_l.mp3
"
,
// "image": "",
"
text
"
:
"
Theme sone - Track 5
"
,
// "audio": "http://staging-teach.cdn.ireadabc.com/7934cdcec68eabe639020bad5420d7f8_l.mp3",
"
desc
"
:
""
,
// "text": "Theme sone - Track 5",
"
audioTitle
"
:
""
,
// "desc": "",
"
time
"
:
""
,
// "audioTitle": "",
"
right
"
:
false
,
// "time": "",
"
audioName
"
:
"
dsdasdsdasdsdasdsdasdsdasdsdasdsdasdsdasdsdasdsdasdsdasdsdas.mp3
"
// "right": false,
},
{
// "audioName": "dsdasdsdasdsdasdsdasdsdasdsdasdsdasdsdasdsdasdsdasdsdasdsdas.mp3"
"
type
"
:
"
txt
"
,
// }, {
"
image
"
:
""
,
// "type": "txt",
"
audio
"
:
"
http://staging-teach.cdn.ireadabc.com/c3b69ad3d51385eac7d4195773ef59f7_l.mp3
"
,
// "image": "",
"
text
"
:
"
Theme sone - Track 6
"
,
// "audio": "http://staging-teach.cdn.ireadabc.com/c3b69ad3d51385eac7d4195773ef59f7_l.mp3",
"
desc
"
:
""
,
// "text": "Theme sone - Track 6",
"
audioTitle
"
:
""
,
// "desc": "",
"
time
"
:
""
,
// "audioTitle": "",
"
right
"
:
false
,
// "time": "",
"
audioName
"
:
"
极速滑雪 游戏说明.MP3
"
// "right": false,
},
{
// "audioName": "极速滑雪 游戏说明.MP3"
"
type
"
:
"
txt
"
,
// }, {
"
image
"
:
""
,
// "type": "txt",
"
audio
"
:
"
http://staging-teach.cdn.ireadabc.com/83268f4def70e408cf9243bc214592b6_l.mp3
"
,
// "image": "",
"
text
"
:
"
Theme sone - Track 7
"
,
// "audio": "http://staging-teach.cdn.ireadabc.com/83268f4def70e408cf9243bc214592b6_l.mp3",
"
desc
"
:
""
,
// "text": "Theme sone - Track 7",
"
audioTitle
"
:
""
,
// "desc": "",
"
time
"
:
""
,
// "audioTitle": "",
"
right
"
:
false
,
// "time": "",
"
audioName
"
:
"
bear_1.mp3
"
// "right": false,
},
{
// "audioName": "bear_1.mp3"
"
type
"
:
"
txt
"
,
// }, {
"
image
"
:
""
,
// "type": "txt",
"
audio
"
:
"
http://staging-teach.cdn.ireadabc.com/944ae51b57fb9390dd03104d9651e5f4_l.mp3
"
,
// "image": "",
"
text
"
:
"
Theme sone - Track 8
"
,
// "audio": "http://staging-teach.cdn.ireadabc.com/944ae51b57fb9390dd03104d9651e5f4_l.mp3",
"
desc
"
:
""
,
// "text": "Theme sone - Track 8",
"
audioTitle
"
:
""
,
// "desc": "",
"
time
"
:
""
,
// "audioTitle": "",
"
right
"
:
false
,
// "time": "",
"
audioName
"
:
"
bear_2.mp3
"
// "right": false,
},
{
// "audioName": "bear_2.mp3"
"
type
"
:
"
txt
"
,
// }, {
"
image
"
:
""
,
// "type": "txt",
"
audio
"
:
"
http://staging-teach.cdn.ireadabc.com/36067f9e2415d59fa37c3795a3929087_l.mp3
"
,
// "image": "",
"
text
"
:
"
Theme sone - Track 9
"
,
// "audio": "http://staging-teach.cdn.ireadabc.com/36067f9e2415d59fa37c3795a3929087_l.mp3",
"
desc
"
:
""
,
// "text": "Theme sone - Track 9",
"
audioTitle
"
:
""
,
// "desc": "",
"
time
"
:
""
,
// "audioTitle": "",
"
right
"
:
false
,
// "time": "",
"
audioName
"
:
"
bear_3.mp3
"
// "right": false,
},
{
// "audioName": "bear_3.mp3"
"
type
"
:
"
txt
"
,
// }, {
"
image
"
:
""
,
// "type": "txt",
"
audio
"
:
"
http://staging-teach.cdn.ireadabc.com/449e65975d358514cc3494f9f67bc012_l.mp3
"
,
// "image": "",
"
text
"
:
"
Theme sone - Track 10
"
,
// "audio": "http://staging-teach.cdn.ireadabc.com/449e65975d358514cc3494f9f67bc012_l.mp3",
"
desc
"
:
""
,
// "text": "Theme sone - Track 10",
"
audioTitle
"
:
""
,
// "desc": "",
"
time
"
:
""
,
// "audioTitle": "",
"
right
"
:
false
,
// "time": "",
"
audioName
"
:
"
cape.mp3
"
// "right": false,
}
// "audioName": "cape.mp3"
// }
],
],
"
type
"
:
"
img
"
,
"
type
"
:
"
img
"
,
"
text
"
:
"
Starter 1
"
,
"
text
"
:
"
Starter 1
"
,
...
...
assets/sn02_playAudio/script/defaultData_sn02_playAudio.ts.meta
View file @
7b16c50b
{
{
"ver": "1.0.8",
"ver": "1.0.8",
"uuid": "
86cd4fe1-e757-495c-9cf2-9a187e9e249e
",
"uuid": "
1d8b47fe-61eb-4d23-9b9a-16b982360478
",
"isPlugin": false,
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInNative": true,
...
...
assets/sn02_playAudio/script/runtime_sn02_playAudio.js.meta
View file @
7b16c50b
{
{
"ver": "1.0.8",
"ver": "1.0.8",
"uuid": "
08ad1952-295c-4551-ad6a-07fca7dd79b
3",
"uuid": "
5c6fd694-2664-45bd-b994-f55f195b2f6
3",
"isPlugin": true,
"isPlugin": true,
"loadPluginInWeb": true,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInNative": true,
...
...
assets/sn02_playAudio/script/util_sn02_playAudio.ts.meta
View file @
7b16c50b
{
{
"ver": "1.0.8",
"ver": "1.0.8",
"uuid": "
6afbfeeb-788a-40a1-8320-7360d6f3a6f6
",
"uuid": "
37211a51-1941-4e04-80e0-53fd755f8fe3
",
"isPlugin": false,
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInNative": true,
...
...
assets/sn02_playAudio/textures.meta
View file @
7b16c50b
{
{
"ver": "1.1.2",
"ver": "1.1.2",
"uuid": "
f82dbcd3-1bc5-4353-9f12-002bca34c6cc
",
"uuid": "
44a06353-9dde-45c9-8409-b714e6ce0f75
",
"isBundle": false,
"isBundle": false,
"bundleName": "",
"bundleName": "",
"priority": 1,
"priority": 1,
...
...
assets/sn02_playAudio/textures/bg_audio_sn02_playAudio.png.meta
View file @
7b16c50b
{
{
"ver": "2.3.5",
"ver": "2.3.5",
"uuid": "
2982a61e-8709-418d-b688-441bd3584a57
",
"uuid": "
b91fdc7a-94a3-422d-bddb-d882e1c94314
",
"type": "sprite",
"type": "sprite",
"wrapMode": "clamp",
"wrapMode": "clamp",
"filterMode": "bilinear",
"filterMode": "bilinear",
...
@@ -13,8 +13,8 @@
...
@@ -13,8 +13,8 @@
"subMetas": {
"subMetas": {
"bg_audio_sn02_playAudio": {
"bg_audio_sn02_playAudio": {
"ver": "1.0.4",
"ver": "1.0.4",
"uuid": "
71507564-db65-4e1a-bbfc-f6e591372e76
",
"uuid": "
2d2bbc5b-04c6-47cc-9163-d1e8b3f029ac
",
"rawTextureUuid": "
2982a61e-8709-418d-b688-441bd3584a57
",
"rawTextureUuid": "
b91fdc7a-94a3-422d-bddb-d882e1c94314
",
"trimType": "auto",
"trimType": "auto",
"trimThreshold": 1,
"trimThreshold": 1,
"rotated": false,
"rotated": false,
...
...
assets/sn02_playAudio/textures/bg_audiotime_bg_sn02_playAudio.png.meta
View file @
7b16c50b
{
{
"ver": "2.3.5",
"ver": "2.3.5",
"uuid": "
1581af7e-3487-42e4-aa06-8a8b602e519e
",
"uuid": "
8d9833d0-61fc-4089-b59a-05a37214adc5
",
"type": "sprite",
"type": "sprite",
"wrapMode": "clamp",
"wrapMode": "clamp",
"filterMode": "bilinear",
"filterMode": "bilinear",
...
@@ -13,8 +13,8 @@
...
@@ -13,8 +13,8 @@
"subMetas": {
"subMetas": {
"bg_audiotime_bg_sn02_playAudio": {
"bg_audiotime_bg_sn02_playAudio": {
"ver": "1.0.4",
"ver": "1.0.4",
"uuid": "
0c34e886-d77c-4279-b0aa-18a108c3f61f
",
"uuid": "
3f8c53ca-843f-40aa-b047-8c7adbb7210b
",
"rawTextureUuid": "
1581af7e-3487-42e4-aa06-8a8b602e519e
",
"rawTextureUuid": "
8d9833d0-61fc-4089-b59a-05a37214adc5
",
"trimType": "auto",
"trimType": "auto",
"trimThreshold": 1,
"trimThreshold": 1,
"rotated": false,
"rotated": false,
...
...
assets/sn02_playAudio/textures/bg_audiotime_progress_sn02_playAudio.png.meta
View file @
7b16c50b
{
{
"ver": "2.3.5",
"ver": "2.3.5",
"uuid": "
aca1fb27-955e-4f24-9c54-8b85c127e153
",
"uuid": "
159db90c-e202-4b7b-a3a1-ea91ebf125e5
",
"type": "sprite",
"type": "sprite",
"wrapMode": "clamp",
"wrapMode": "clamp",
"filterMode": "bilinear",
"filterMode": "bilinear",
...
@@ -13,8 +13,8 @@
...
@@ -13,8 +13,8 @@
"subMetas": {
"subMetas": {
"bg_audiotime_progress_sn02_playAudio": {
"bg_audiotime_progress_sn02_playAudio": {
"ver": "1.0.4",
"ver": "1.0.4",
"uuid": "
4a9d9bde-0091-46d6-9e08-67745a3b3d6
b",
"uuid": "
acdce790-03ea-4cd3-b670-bf74d7bfeaf
b",
"rawTextureUuid": "
aca1fb27-955e-4f24-9c54-8b85c127e153
",
"rawTextureUuid": "
159db90c-e202-4b7b-a3a1-ea91ebf125e5
",
"trimType": "auto",
"trimType": "auto",
"trimThreshold": 1,
"trimThreshold": 1,
"rotated": false,
"rotated": false,
...
...
assets/sn02_playAudio/textures/bg_bg_sn02_playAudio.png.meta
View file @
7b16c50b
{
{
"ver": "2.3.5",
"ver": "2.3.5",
"uuid": "
d7673756-baa3-4b99-8836-71e825e3d860
",
"uuid": "
661949b0-63be-4e6b-ace4-44d95a5f0bfb
",
"type": "sprite",
"type": "sprite",
"wrapMode": "clamp",
"wrapMode": "clamp",
"filterMode": "bilinear",
"filterMode": "bilinear",
...
@@ -13,8 +13,8 @@
...
@@ -13,8 +13,8 @@
"subMetas": {
"subMetas": {
"bg_bg_sn02_playAudio": {
"bg_bg_sn02_playAudio": {
"ver": "1.0.4",
"ver": "1.0.4",
"uuid": "3
4a6172b-8685-4010-8b6e-c42b18e522d5
",
"uuid": "3
77ddc31-9a5f-471e-b311-0adb9ac18708
",
"rawTextureUuid": "
d7673756-baa3-4b99-8836-71e825e3d860
",
"rawTextureUuid": "
661949b0-63be-4e6b-ace4-44d95a5f0bfb
",
"trimType": "auto",
"trimType": "auto",
"trimThreshold": 1,
"trimThreshold": 1,
"rotated": false,
"rotated": false,
...
...
assets/sn02_playAudio/textures/bg_book2_bg_sn02_playAudio.png.meta
View file @
7b16c50b
{
{
"ver": "2.3.5",
"ver": "2.3.5",
"uuid": "
615dbf78-a910-45e5-a58d-8123e0f13700
",
"uuid": "
2bb3de38-09e3-43ec-af61-a87e4a6752e8
",
"type": "sprite",
"type": "sprite",
"wrapMode": "clamp",
"wrapMode": "clamp",
"filterMode": "bilinear",
"filterMode": "bilinear",
...
@@ -13,8 +13,8 @@
...
@@ -13,8 +13,8 @@
"subMetas": {
"subMetas": {
"bg_book2_bg_sn02_playAudio": {
"bg_book2_bg_sn02_playAudio": {
"ver": "1.0.4",
"ver": "1.0.4",
"uuid": "
9a944e86-f3a9-4c5d-bc6c-d99fbff5ec9e
",
"uuid": "
f8e3be70-0473-40cf-b92e-c743462fd448
",
"rawTextureUuid": "
615dbf78-a910-45e5-a58d-8123e0f13700
",
"rawTextureUuid": "
2bb3de38-09e3-43ec-af61-a87e4a6752e8
",
"trimType": "auto",
"trimType": "auto",
"trimThreshold": 1,
"trimThreshold": 1,
"rotated": false,
"rotated": false,
...
...
assets/sn02_playAudio/textures/bg_book2_shadow_sn02_playAudio.png.meta
View file @
7b16c50b
{
{
"ver": "2.3.5",
"ver": "2.3.5",
"uuid": "
53299edc-f7a0-4df2-a843-ca04fa494359
",
"uuid": "
1370334c-b9dc-4791-bbb9-a75eb5248be4
",
"type": "sprite",
"type": "sprite",
"wrapMode": "clamp",
"wrapMode": "clamp",
"filterMode": "bilinear",
"filterMode": "bilinear",
...
@@ -13,8 +13,8 @@
...
@@ -13,8 +13,8 @@
"subMetas": {
"subMetas": {
"bg_book2_shadow_sn02_playAudio": {
"bg_book2_shadow_sn02_playAudio": {
"ver": "1.0.4",
"ver": "1.0.4",
"uuid": "
0775270c-6af3-4682-a459-ded33bb7a281
",
"uuid": "
91859f05-041f-4a7e-aa84-05949ad41a28
",
"rawTextureUuid": "
53299edc-f7a0-4df2-a843-ca04fa494359
",
"rawTextureUuid": "
1370334c-b9dc-4791-bbb9-a75eb5248be4
",
"trimType": "auto",
"trimType": "auto",
"trimThreshold": 1,
"trimThreshold": 1,
"rotated": false,
"rotated": false,
...
...
assets/sn02_playAudio/textures/bg_book2_sn02_playAudio.png.meta
View file @
7b16c50b
{
{
"ver": "2.3.5",
"ver": "2.3.5",
"uuid": "
ed7eb1b2-cb3e-4543-afec-16f05770ad7d
",
"uuid": "
9907aeb7-722c-4a8d-91a4-1af7d3898045
",
"type": "sprite",
"type": "sprite",
"wrapMode": "clamp",
"wrapMode": "clamp",
"filterMode": "bilinear",
"filterMode": "bilinear",
...
@@ -13,8 +13,8 @@
...
@@ -13,8 +13,8 @@
"subMetas": {
"subMetas": {
"bg_book2_sn02_playAudio": {
"bg_book2_sn02_playAudio": {
"ver": "1.0.4",
"ver": "1.0.4",
"uuid": "
6096859d-4f11-4fd2-85b8-8edfe787679a
",
"uuid": "
b4c915b7-f136-4c97-9204-75aa353250e6
",
"rawTextureUuid": "
ed7eb1b2-cb3e-4543-afec-16f05770ad7d
",
"rawTextureUuid": "
9907aeb7-722c-4a8d-91a4-1af7d3898045
",
"trimType": "auto",
"trimType": "auto",
"trimThreshold": 1,
"trimThreshold": 1,
"rotated": false,
"rotated": false,
...
...
assets/sn02_playAudio/textures/bg_bottom_sn02_playAudio.png.meta
View file @
7b16c50b
{
{
"ver": "2.3.5",
"ver": "2.3.5",
"uuid": "
23464358-3d72-408b-ad6f-d9da39fec177
",
"uuid": "
cfd40922-3911-427f-bcf0-e0f7c98213f5
",
"type": "sprite",
"type": "sprite",
"wrapMode": "clamp",
"wrapMode": "clamp",
"filterMode": "bilinear",
"filterMode": "bilinear",
...
@@ -13,8 +13,8 @@
...
@@ -13,8 +13,8 @@
"subMetas": {
"subMetas": {
"bg_bottom_sn02_playAudio": {
"bg_bottom_sn02_playAudio": {
"ver": "1.0.4",
"ver": "1.0.4",
"uuid": "
f0517069-3d9f-49d7-a303-d103f1b35893
",
"uuid": "
e4da3b6e-3069-4b98-9047-dd4ba2626778
",
"rawTextureUuid": "
23464358-3d72-408b-ad6f-d9da39fec177
",
"rawTextureUuid": "
cfd40922-3911-427f-bcf0-e0f7c98213f5
",
"trimType": "auto",
"trimType": "auto",
"trimThreshold": 1,
"trimThreshold": 1,
"rotated": false,
"rotated": false,
...
...
assets/sn02_playAudio/textures/btn_play_sn02_playAudio.png.meta
View file @
7b16c50b
{
{
"ver": "2.3.5",
"ver": "2.3.5",
"uuid": "
d6cc7909-7775-48c1-820e-e7063c9cb97
e",
"uuid": "
f9e849d7-715b-42a1-b1d2-e9f0d575464
e",
"type": "sprite",
"type": "sprite",
"wrapMode": "clamp",
"wrapMode": "clamp",
"filterMode": "bilinear",
"filterMode": "bilinear",
...
@@ -13,8 +13,8 @@
...
@@ -13,8 +13,8 @@
"subMetas": {
"subMetas": {
"btn_play_sn02_playAudio": {
"btn_play_sn02_playAudio": {
"ver": "1.0.4",
"ver": "1.0.4",
"uuid": "
1ea182df-9841-4cd1-85b9-638e6fd63d9b
",
"uuid": "
8cfc7142-7618-480f-a8b0-bbfb2079acad
",
"rawTextureUuid": "
d6cc7909-7775-48c1-820e-e7063c9cb97
e",
"rawTextureUuid": "
f9e849d7-715b-42a1-b1d2-e9f0d575464
e",
"trimType": "auto",
"trimType": "auto",
"trimThreshold": 1,
"trimThreshold": 1,
"rotated": false,
"rotated": false,
...
...
assets/sn02_playAudio/textures/btn_playall_sn02_playAudio.png.meta
View file @
7b16c50b
{
{
"ver": "2.3.5",
"ver": "2.3.5",
"uuid": "
ada16367-b978-4efd-a718-c96cfa554065
",
"uuid": "
b36ff77c-fd2b-4ed8-942f-447d571e7606
",
"type": "sprite",
"type": "sprite",
"wrapMode": "clamp",
"wrapMode": "clamp",
"filterMode": "bilinear",
"filterMode": "bilinear",
...
@@ -13,8 +13,8 @@
...
@@ -13,8 +13,8 @@
"subMetas": {
"subMetas": {
"btn_playall_sn02_playAudio": {
"btn_playall_sn02_playAudio": {
"ver": "1.0.4",
"ver": "1.0.4",
"uuid": "
8a013bd3-83dc-4ab3-9189-1fda3ba9bd82
",
"uuid": "
ebf3b9ab-9cca-4a54-8be5-79cd00a06443
",
"rawTextureUuid": "
ada16367-b978-4efd-a718-c96cfa554065
",
"rawTextureUuid": "
b36ff77c-fd2b-4ed8-942f-447d571e7606
",
"trimType": "auto",
"trimType": "auto",
"trimThreshold": 1,
"trimThreshold": 1,
"rotated": false,
"rotated": false,
...
...
assets/sn02_playAudio/textures/btn_replay_sn02_playAudio.png.meta
View file @
7b16c50b
{
{
"ver": "2.3.5",
"ver": "2.3.5",
"uuid": "
1ca0e700-5645-4722-9e0b-9f79a92a8a9
c",
"uuid": "
a1ff5514-baa4-4cfb-bc63-861e9204b62
c",
"type": "sprite",
"type": "sprite",
"wrapMode": "clamp",
"wrapMode": "clamp",
"filterMode": "bilinear",
"filterMode": "bilinear",
...
@@ -13,8 +13,8 @@
...
@@ -13,8 +13,8 @@
"subMetas": {
"subMetas": {
"btn_replay_sn02_playAudio": {
"btn_replay_sn02_playAudio": {
"ver": "1.0.4",
"ver": "1.0.4",
"uuid": "
67b5cb1c-1405-48f3-96ed-396544fd79c8
",
"uuid": "
ac9740b2-b667-4aeb-b480-70c2fe9cb1c0
",
"rawTextureUuid": "
1ca0e700-5645-4722-9e0b-9f79a92a8a9
c",
"rawTextureUuid": "
a1ff5514-baa4-4cfb-bc63-861e9204b62
c",
"trimType": "auto",
"trimType": "auto",
"trimThreshold": 1,
"trimThreshold": 1,
"rotated": false,
"rotated": false,
...
...
assets/sn02_playAudio/textures/btn_stop_sn02_playAudio.png.meta
View file @
7b16c50b
{
{
"ver": "2.3.5",
"ver": "2.3.5",
"uuid": "
4d30e490-d6cf-4bf4-805e-147bb130f2f5
",
"uuid": "
95758061-4e44-4756-9ea0-dbba159bda57
",
"type": "sprite",
"type": "sprite",
"wrapMode": "clamp",
"wrapMode": "clamp",
"filterMode": "bilinear",
"filterMode": "bilinear",
...
@@ -13,8 +13,8 @@
...
@@ -13,8 +13,8 @@
"subMetas": {
"subMetas": {
"btn_stop_sn02_playAudio": {
"btn_stop_sn02_playAudio": {
"ver": "1.0.4",
"ver": "1.0.4",
"uuid": "
c310312f-ddd1-4f71-8a4f-502a63bfc871
",
"uuid": "
1295f12e-4aad-497a-9727-67cc3c91cd3c
",
"rawTextureUuid": "
4d30e490-d6cf-4bf4-805e-147bb130f2f5
",
"rawTextureUuid": "
95758061-4e44-4756-9ea0-dbba159bda57
",
"trimType": "auto",
"trimType": "auto",
"trimThreshold": 1,
"trimThreshold": 1,
"rotated": false,
"rotated": false,
...
...
assets/sn02_playAudio/textures/rect_sn02_audio.png.meta
View file @
7b16c50b
{
{
"ver": "2.3.5",
"ver": "2.3.5",
"uuid": "
a461299f-bb6e-4313-a78f-e10cf2cad81d
",
"uuid": "
d17bd957-85a1-4b82-ab83-576ac9b09c39
",
"type": "sprite",
"type": "sprite",
"wrapMode": "clamp",
"wrapMode": "clamp",
"filterMode": "bilinear",
"filterMode": "bilinear",
...
@@ -13,8 +13,8 @@
...
@@ -13,8 +13,8 @@
"subMetas": {
"subMetas": {
"rect_sn02_audio": {
"rect_sn02_audio": {
"ver": "1.0.4",
"ver": "1.0.4",
"uuid": "
53839116-c81a-4bae-aadc-7858f0b901a4
",
"uuid": "
b1950846-5a28-43ed-84a6-23a1a97ba276
",
"rawTextureUuid": "
a461299f-bb6e-4313-a78f-e10cf2cad81d
",
"rawTextureUuid": "
d17bd957-85a1-4b82-ab83-576ac9b09c39
",
"trimType": "auto",
"trimType": "auto",
"trimThreshold": 1,
"trimThreshold": 1,
"rotated": false,
"rotated": false,
...
...
bin/buildCocos.js
View file @
7b16c50b
...
@@ -52,7 +52,7 @@ function execCmd(cmd, params, path) {
...
@@ -52,7 +52,7 @@ function execCmd(cmd, params, path) {
}
}
let
creatorBasePath
=
'
CocosCreator
'
;
let
creatorBasePath
=
'
D:/ProgramData/cocos/editors/2.4.5/CocosCreator.exe
'
;
if
(
process
.
platform
!==
'
win32
'
)
{
if
(
process
.
platform
!==
'
win32
'
)
{
creatorBasePath
=
"
/Applications/CocosCreator/Creator/2.4.5/CocosCreator.app/Contents/MacOS/CocosCreator
"
;
creatorBasePath
=
"
/Applications/CocosCreator/Creator/2.4.5/CocosCreator.app/Contents/MacOS/CocosCreator
"
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment