Commit 7eccf685 authored by Tt's avatar Tt

上传测试

parent a19e7c55
......@@ -2159,7 +2159,7 @@
"_id": ""
},
{
"__type__": "34bbeVzOM1I+6k+WN82GN0o",
"__type__": "8abb42ac8VJlpQAtEOYvbUH",
"_name": "",
"_objFlags": 0,
"node": {
......
......@@ -25,11 +25,11 @@ export default class SceneComponent extends MyCocosSceneComponent {
addPreloadAudio() {
// TODO 根据自己的配置预加载音频资源
this._audioResList.push({ url: this.data.gameStartAudio });
this._audioResList.push({ url: this.data.gameLoadingAudio });
this._audioResList.push({ url: this.data.waitingWheel });
this._audioResList.push({ url: this.data.waitingPiece });
this._audioResList.push({ url: this.data.waitingTurn });
this.data.gameStartAudio && this._audioResList.push({ url: this.data.gameStartAudio });
this.data.gameLoadingAudio && this._audioResList.push({ url: this.data.gameLoadingAudio });
this.data.waitingWheel && this._audioResList.push({ url: this.data.waitingWheel });
this.data.waitingPiece && this._audioResList.push({ url: this.data.waitingPiece });
this.data.waitingTurn && this._audioResList.push({ url: this.data.waitingTurn });
}
addPreloadAnima() { }
......@@ -943,6 +943,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
await this.pieceFindRightBlock(rightBlock, idx);
}
this.updateProgress(idx);
pieceRed["cantMove"] = true;
pieceBlue["cantMove"] = true;
this._status.letter = "";
......
......@@ -3,7 +3,7 @@ import { asyncPlayDragonBoneAnimation } from "./util";
const { ccclass, property } = cc._decorator;
@ccclass
export default class SceneComponent extends cc.Component {
export default class L2_boardgame2SceneComponent extends cc.Component {
ctor() {
}
......
{
"ver": "1.0.8",
"uuid": "34bbe573-38cd-48fb-a93e-58df3618dd28",
"uuid": "8abb4d9a-73c5-4996-9400-b44398bdb507",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
......
......@@ -192,6 +192,11 @@ export class MyCocosSceneComponent extends cc.Component {
});
}
});
} else {
resolve(0);
if (cb) {
cb();
}
}
});
}
......
export const defaultData = {
gameStartAudio:
"http://staging-teach.cdn.ireadabc.com/7c18e0838dcf0707f885842ed09e1579.mp3",
"",
gameLoadingAudio:
"http://staging-teach.cdn.ireadabc.com/6b3846cee6afa2ae450234aeec835beb.mp3",
"",
waitingWheel:
"http://staging-teach.cdn.ireadabc.com/23376490a9ba0f4a3fe0618fc1c935e1.mp3",
"",
waitingPiece:
"http://staging-teach.cdn.ireadabc.com/b44fa51172b19b555fda30717c773027.mp3",
"",
waitingTurn:
"http://staging-teach.cdn.ireadabc.com/a6a5c388c636bc6d063946e91b4bd21a.mp3",
"",
};
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