Commit 082ea1f2 authored by AU-Pro-mac's avatar AU-Pro-mac

add new code

parent ea6172bc
......@@ -1695,13 +1695,13 @@ const resCanvasListCsd = {
'27abf038-2a6b-4914-a212-143628fc7d47': {
name: '引导2_修改',
ext: '.png',
url: '//yun.duiba.com.cn/spark/assets/引导2_修改617.a2b8101b6dbe454f4aa61167e2b2d581d2911c56.png',
url: 'https://yun.duiba.com.cn/spark/assets/引导2_修改617.a2b8101b6dbe454f4aa61167e2b2d581d2911c56.png',
uuid: '27abf038-2a6b-4914-a212-143628fc7d47'
},
'b006e393-b6a4-4757-8b56-9762ff9a3319': {
name: 'lottie_new_new',
ext: '.png',
url: '//yun.duiba.com.cn/spark/assets/lottie_new_newb.a684e7c3ffed151626dc9e00d0eb09c9ead79e80.png',
url: 'https://yun.duiba.com.cn/spark/assets/lottie_new_newb.a684e7c3ffed151626dc9e00d0eb09c9ead79e80.png',
uuid: 'b006e393-b6a4-4757-8b56-9762ff9a3319'
}
};
......@@ -1920,15 +1920,9 @@ var Main = (function () {
_a.sent();
ctrls_1.changeScene(MainScene_2.OpenAni);
resCanvasList = Object.assign(resCanvasList_1.default, resCanvasListCsd_1.default);
return [4, RES_1.RES.loadSparkAssets(resCanvasList)];
case 2:
_a.sent();
return [4, this.loadImageTexturesCsd01(resCanvasList)];
case 3:
_a.sent();
return [4, this.loadImageTexturesCsd02(resCanvasList)];
case 4:
_a.sent();
RES_1.RES.loadSparkAssets(resCanvasList);
this.loadImageTexturesCsd01(resCanvasList);
this.loadImageTexturesCsd02(resCanvasList);
console.log('resloadingList 加载完毕');
FYGE.GDispatcher.dispatchEvent("loadEnd");
return [2];
......
This diff is collapsed.
......@@ -1697,13 +1697,13 @@ const resCanvasListCsd = {
'27abf038-2a6b-4914-a212-143628fc7d47': {
name: '引导2_修改',
ext: '.png',
url: '//yun.duiba.com.cn/spark/assets/引导2_修改617.a2b8101b6dbe454f4aa61167e2b2d581d2911c56.png',
url: 'https://yun.duiba.com.cn/spark/assets/引导2_修改617.a2b8101b6dbe454f4aa61167e2b2d581d2911c56.png',
uuid: '27abf038-2a6b-4914-a212-143628fc7d47'
},
'b006e393-b6a4-4757-8b56-9762ff9a3319': {
name: 'lottie_new_new',
ext: '.png',
url: '//yun.duiba.com.cn/spark/assets/lottie_new_newb.a684e7c3ffed151626dc9e00d0eb09c9ead79e80.png',
url: 'https://yun.duiba.com.cn/spark/assets/lottie_new_newb.a684e7c3ffed151626dc9e00d0eb09c9ead79e80.png',
uuid: 'b006e393-b6a4-4757-8b56-9762ff9a3319'
}
};
......@@ -1922,15 +1922,9 @@ var Main = (function () {
_a.sent();
ctrls_1.changeScene(MainScene_2.OpenAni);
resCanvasList = Object.assign(resCanvasList_1.default, resCanvasListCsd_1.default);
return [4, RES_1.RES.loadSparkAssets(resCanvasList)];
case 2:
_a.sent();
return [4, this.loadImageTexturesCsd01(resCanvasList)];
case 3:
_a.sent();
return [4, this.loadImageTexturesCsd02(resCanvasList)];
case 4:
_a.sent();
RES_1.RES.loadSparkAssets(resCanvasList);
this.loadImageTexturesCsd01(resCanvasList);
this.loadImageTexturesCsd02(resCanvasList);
console.log('resloadingList 加载完毕');
FYGE.GDispatcher.dispatchEvent("loadEnd");
return [2];
......
......@@ -158,13 +158,13 @@ const resCanvasListCsd = {
'27abf038-2a6b-4914-a212-143628fc7d47': {
name: '引导2_修改',
ext: '.png',
url: '//yun.duiba.com.cn/spark/assets/引导2_修改617.a2b8101b6dbe454f4aa61167e2b2d581d2911c56.png',
url: 'https://yun.duiba.com.cn/spark/assets/引导2_修改617.a2b8101b6dbe454f4aa61167e2b2d581d2911c56.png',
uuid: '27abf038-2a6b-4914-a212-143628fc7d47'
},
'b006e393-b6a4-4757-8b56-9762ff9a3319': {
name: 'lottie_new_new',
ext: '.png',
url: '//yun.duiba.com.cn/spark/assets/lottie_new_newb.a684e7c3ffed151626dc9e00d0eb09c9ead79e80.png',
url: 'https://yun.duiba.com.cn/spark/assets/lottie_new_newb.a684e7c3ffed151626dc9e00d0eb09c9ead79e80.png',
uuid: 'b006e393-b6a4-4757-8b56-9762ff9a3319'
}
};
......
......@@ -166,9 +166,9 @@ export class Main {
let resCanvasList = Object.assign(resCanvasList_, resCanvasListCsd)
await RES.loadSparkAssets(resCanvasList)
await this.loadImageTexturesCsd01(resCanvasList)
await this.loadImageTexturesCsd02(resCanvasList)
RES.loadSparkAssets(resCanvasList)
this.loadImageTexturesCsd01(resCanvasList)
this.loadImageTexturesCsd02(resCanvasList)
console.log('resloadingList 加载完毕')
FYGE.GDispatcher.dispatchEvent("loadEnd");
......
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