Commit efbba2f5 authored by wildfirecode's avatar wildfirecode

1

parent f1dde60f
...@@ -18,8 +18,8 @@ ...@@ -18,8 +18,8 @@
background-repeat: no-repeat; background-repeat: no-repeat;
background-color: #000; background-color: #000;
background-size: 100%; background-size: 100%;
background-position: top; background-position:center;
background-image: url("https://yun.duiba.com.cn/db_games/activity/game/1577351394/resource/assets/startScene/startscenebg.jpg"); background-image: url("//localhost:8080/egret/resource/assets/startScene/startscenebg.jpg");
padding: 0; padding: 0;
border: 0; border: 0;
margin: 0; margin: 0;
......
egret/resource/assets/loading.jpg

89.2 KB | W: | H:

egret/resource/assets/loading.jpg

162 KB | W: | H:

egret/resource/assets/loading.jpg
egret/resource/assets/loading.jpg
egret/resource/assets/loading.jpg
egret/resource/assets/loading.jpg
  • 2-up
  • Swipe
  • Onion skin
...@@ -3,21 +3,22 @@ ...@@ -3,21 +3,22 @@
<w:Config id="16705cb4eec"/> <w:Config id="16705cb4eec"/>
<e:Label id="FZY3JW" text=" " y="1048" textColor="0x244B00" fontFamily="FZY3JW" horizontalCenter="0" visible="false"/> <e:Label id="FZY3JW" text=" " y="1048" textColor="0x244B00" fontFamily="FZY3JW" horizontalCenter="0" visible="false"/>
<e:Label id="FZY4JW" text=" " y="1048" textColor="0x244B00" fontFamily="FZY4JW" horizontalCenter="0" visible="false"/> <e:Label id="FZY4JW" text=" " y="1048" textColor="0x244B00" fontFamily="FZY4JW" horizontalCenter="0" visible="false"/>
<e:Component id="bg" width="750" height="1624"/> <e:Component id="bg" width="750" height="1624" verticalCenter="0"/>
<e:Component id="container2" width="20" height="20" x="0" y="0"/> <e:Component id="container2" x="0" width="750" height="1624" verticalCenter="0"/>
<e:Component id="container1" width="20" height="20" x="0" y="160"/> <e:Component id="container1" x="0" width="750" height="1624" verticalCenter="240"/>
<e:Group x="140" y="944.67"> <e:Group verticalCenter="475" width="750" x="0">
<e:Image source="loadingbg_png" y="0" x="0"/> <e:Group y="30.94" x="140">
<e:Group id="maskwrapper" x="14.56" y="7.14" locked="true"> <e:Image source="loadingbg_png" y="0" x="0"/>
<e:Group id="maskwrapper" x="14.56" y="7.14" locked="true">
<e:Group id="container4" x="0" y="0"> <e:Group id="container4" x="0" y="0">
<e:Group id="container3" x="0" y="0"/> <e:Group id="container3" x="0" y="0"/>
<e:Image source="mask3_png" x="0" y="4"/> <e:Image source="mask3_png" x="0" y="4"/>
</e:Group> </e:Group>
<e:Image id="progressmask" source="mask_png" x="-0.48" y="4.08" scaleX="1" scaleY="1" width="444" height="55"/> <e:Image id="progressmask" source="mask_png" x="-0.48" y="4.08" scaleX="1" scaleY="1" width="444" height="55"/>
</e:Group>
<e:Image id="progressmask2" y="9.14" x="16" source="mask2_png" width="444" height="60" scaleX="1"/>
</e:Group> </e:Group>
<e:Image id="progressmask2" y="9.14" x="16" source="mask2_png" width="444" height="60" scaleX="1"/> <e:Label id="tips" text="正在加载中,请稍后" y="0" size="24" textColor="0xfcd364" horizontalCenter="0"/>
<e:Label id="percentTxt" text="63%" y="117" textColor="0xfcd364" horizontalCenter="0"/>
</e:Group> </e:Group>
<e:Image source="头顶树丛_png" x="0" y="0" visible="false"/>
<e:Label id="tips" text="正在加载中,请稍后" y="913.73" horizontalCenter="0" size="24" textColor="0x000000"/>
<e:Label id="percentTxt" text="63%" y="1030.73" horizontalCenter="0.5" textColor="0x000000"/>
</e:Skin> </e:Skin>
\ No newline at end of file
...@@ -191,11 +191,11 @@ export const submitTran = { ...@@ -191,11 +191,11 @@ export const submitTran = {
6: 3, 6: 3,
9: 2, 9: 2,
10: 10, 10: 10,
22: 10, 22: 11,
23: 10, 23: 12,
24: 10, 24: 13,
25: 10, 25: 14,
26: 10 26: 15
} }
// SCORE(1, "分数"), // SCORE(1, "分数"),
......
...@@ -24,6 +24,7 @@ export default class StartScene extends Scene { ...@@ -24,6 +24,7 @@ export default class StartScene extends Scene {
async start(data?) { async start(data?) {
super.start(); super.start();
this.height=this.stage.stageHeight;
if (data) if (data)
this.level = data.level; this.level = data.level;
this['container1'].x = 20; this['container1'].x = 20;
...@@ -34,7 +35,6 @@ export default class StartScene extends Scene { ...@@ -34,7 +35,6 @@ export default class StartScene extends Scene {
this['percentTxt'].text = `0%`; this['percentTxt'].text = `0%`;
const index = Math.floor(Math.random() * list.length); const index = Math.floor(Math.random() * list.length);
this['tips'].text = list[index]; this['tips'].text = list[index];
// setGlow(this['tips'], 0xffffff, 1);
console.log(data); console.log(data);
if (data && Array.isArray(data)) { if (data && Array.isArray(data)) {
this['container3'].addChild(data[0]); this['container3'].addChild(data[0]);
......
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