Commit a7a6172d authored by Edwise's avatar Edwise 🍷

123

parent e21e77d0
...@@ -23,24 +23,6 @@ const resCanvasList = { ...@@ -23,24 +23,6 @@ const resCanvasList = {
url: 'https://yun.duiba.com.cn/spark/assets/blueCatHand.ebb0e7dfe53c3a347d8e1f118367eed31e0b486e.png', url: 'https://yun.duiba.com.cn/spark/assets/blueCatHand.ebb0e7dfe53c3a347d8e1f118367eed31e0b486e.png',
uuid: '3a105062-4474-4f37-abd2-fa9471e2536f' uuid: '3a105062-4474-4f37-abd2-fa9471e2536f'
}, },
'ceb650c2-9620-4b5b-ad34-c95af25d77ce': {
name: '寝室',
ext: '.png',
uuid: 'ceb650c2-9620-4b5b-ad34-c95af25d77ce',
url: 'https://yun.duiba.com.cn/spark/assets/5b641238d5b0c00f8740b355cc0f1130446c8b1c.png'
},
'52c9cc35-c220-4dac-9c26-639b88a043b3': {
name: '操场',
ext: '.png',
uuid: '52c9cc35-c220-4dac-9c26-639b88a043b3',
url: 'https://yun.duiba.com.cn/spark/assets/9c1601507f8730bcb0faf70316feec41bd73cb9b.png'
},
'3ebdda49-754c-42e5-bfb3-daefa9835fb5': {
name: '教室',
ext: '.png',
uuid: '3ebdda49-754c-42e5-bfb3-daefa9835fb5',
url: 'https://yun.duiba.com.cn/spark/assets/afd87964074d1773e12fe5cb8745dcccdf33dcbe.png'
},
'483dbc34-2962-4483-8968-71e3cc5182b9': { '483dbc34-2962-4483-8968-71e3cc5182b9': {
name: '玩耍猫', name: '玩耍猫',
ext: '.png', ext: '.png',
...@@ -628,6 +610,24 @@ const resCanvasList = { ...@@ -628,6 +610,24 @@ const resCanvasList = {
ext: '.png', ext: '.png',
url: 'https://yun.duiba.com.cn/spark/assets/XianluoCatTexture.5ddac07bcc3d692773d464ddace1879e95c9605f.png', url: 'https://yun.duiba.com.cn/spark/assets/XianluoCatTexture.5ddac07bcc3d692773d464ddace1879e95c9605f.png',
uuid: 'de2d1dca-ed1c-4fe0-93ef-684f4b96c87e' uuid: 'de2d1dca-ed1c-4fe0-93ef-684f4b96c87e'
},
'efaf990e-5392-49ad-94d8-25c04f651ede': {
name: '操场1',
ext: '.jpg',
url: '//yun.duiba.com.cn/spark/assets/操场1.b001a98dc403137934e6b7d7a17a7882ecd63478.jpg',
uuid: 'efaf990e-5392-49ad-94d8-25c04f651ede'
},
'c6d699b0-b276-4985-b3ea-47bcef13f2ea': {
name: '教室1',
ext: '.jpg',
url: '//yun.duiba.com.cn/spark/assets/教室1.b439ee3a59ed36c920c92e11df87b317e4ff048d.jpg',
uuid: 'c6d699b0-b276-4985-b3ea-47bcef13f2ea'
},
'b3c8c187-e5c9-4968-9a00-a118d18ab2fc': {
name: '寝室1',
ext: '.jpg',
url: '//yun.duiba.com.cn/spark/assets/寝室1.e9238ec5e71c328817026128dd0f41fdc65203f4.jpg',
uuid: 'b3c8c187-e5c9-4968-9a00-a118d18ab2fc'
} }
}; };
export default resCanvasList; export default resCanvasList;
...@@ -37,8 +37,8 @@ export class MainScene extends Scene{ ...@@ -37,8 +37,8 @@ export class MainScene extends Scene{
that.y = (Ins.stageH - 1624)>>1; that.y = (Ins.stageH - 1624)>>1;
that.mouseChildren = true; that.mouseChildren = true;
//0:教室,1:操场,2:寝室 //0:教室,1:操场,2:寝室
that.bgUUID = ["3ebdda49-754c-42e5-bfb3-daefa9835fb5","52c9cc35-c220-4dac-9c26-639b88a043b3","ceb650c2-9620-4b5b-ad34-c95af25d77ce"]; that.bgUUID = ["c6d699b0-b276-4985-b3ea-47bcef13f2ea","efaf990e-5392-49ad-94d8-25c04f651ede","b3c8c187-e5c9-4968-9a00-a118d18ab2fc"];
that.sceneBg = Ins.initSprite("ceb650c2-9620-4b5b-ad34-c95af25d77ce"); that.sceneBg = Ins.initSprite("b3c8c187-e5c9-4968-9a00-a118d18ab2fc");
that.addChild(that.sceneBg); that.addChild(that.sceneBg);
that.tlBtn = Ins.initSprite("1f8b040d-2fbc-4ff8-92f9-159773364fae",0,640); that.tlBtn = Ins.initSprite("1f8b040d-2fbc-4ff8-92f9-159773364fae",0,640);
......
...@@ -10,7 +10,7 @@ import { SelectCatPanel } from "../panels/selectcatpanel/SelectCatPanel"; ...@@ -10,7 +10,7 @@ import { SelectCatPanel } from "../panels/selectcatpanel/SelectCatPanel";
export class StartScene extends Scene { export class StartScene extends Scene {
initUi() { initUi() {
super.initUi(); super.initUi();
var sceneBg = Ins.initSprite("ceb650c2-9620-4b5b-ad34-c95af25d77ce"); var sceneBg = Ins.initSprite("b3c8c187-e5c9-4968-9a00-a118d18ab2fc");
this.addChild(sceneBg); this.addChild(sceneBg);
this.x = (Ins.stageW - 750)>>1; this.x = (Ins.stageW - 750)>>1;
this.y = (Ins.stageH - 1624)>>1; this.y = (Ins.stageH - 1624)>>1;
......
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