Commit 382b23b4 authored by yu's avatar yu

音频更换

parent 22cf2ee9
{
"ver": "2.0.1",
"uuid": "b6aca333-5981-4987-929a-0407f8272d5e",
"downloadMode": 0,
"duration": 0.313469,
"subMetas": {}
}
\ No newline at end of file
...@@ -2,6 +2,6 @@ ...@@ -2,6 +2,6 @@
"ver": "2.0.1", "ver": "2.0.1",
"uuid": "5c34a8d8-5e4e-4ae6-b4d1-b32446d54f67", "uuid": "5c34a8d8-5e4e-4ae6-b4d1-b32446d54f67",
"downloadMode": 0, "downloadMode": 0,
"duration": 1.48898, "duration": 5.172245,
"subMetas": {} "subMetas": {}
} }
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "8aabda59-186a-4f73-b55f-668d4c88fa92",
"downloadMode": 0,
"duration": 1.48898,
"subMetas": {}
}
\ No newline at end of file
This diff is collapsed.
...@@ -337,7 +337,7 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -337,7 +337,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
word.getComponent(cc.Label).string = data.text; word.getComponent(cc.Label).string = data.text;
word.data.CParent = data.parent; word.data.CParent = data.parent;
this.playLocalAudio("move") this.playLocalAudio("ytom");
if (this.checkRoundOver()) { if (this.checkRoundOver()) {
if (this.checkMoveRight()) { if (this.checkMoveRight()) {
this.playLocalAudio("right"); this.playLocalAudio("right");
...@@ -396,6 +396,7 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -396,6 +396,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
target.parent = data.parent; target.parent = data.parent;
target.setPosition(data.startPos); target.setPosition(data.startPos);
if (!itemBg) return; if (!itemBg) return;
this.playLocalAudio("mtoy");
target.active = false; target.active = false;
let cloud = data.CParent; let cloud = data.CParent;
if (cloud) { if (cloud) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment