Commit 4efe6d1b authored by wildfirecode's avatar wildfirecode

1

parent f5ab12ea
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"redbombtips2","version":5,"files":["../assets/redbombtips/redbagtips_ele.png","../assets/redbombtips/redbagtips_ele1.png","../assets/redbombtips/redbagtips_ele2.png","../assets/redbombtips/redbagtips_ele3.png","../assets/redbombtips/redbagtips_light.png","../assets/redbombtips/redbagtips按钮.png","../assets/redbombtips/redbagtips活动规则.png","../assets/redbombtips/redbagtipsbg.png","../assets/redbombtips/redbagtips_ele7.png"]} {"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"redbombtips2","version":5,"files":["../assets/redbombtips/redbagtips_ele.png","../assets/redbombtips/redbagtips_ele1.png","../assets/redbombtips/redbagtips_ele2.png","../assets/redbombtips/redbagtips_ele3.png","../assets/redbombtips/redbagtips_light.png","../assets/redbombtips/redbagtips按钮.png","../assets/redbombtips/redbagtips活动规则.png","../assets/redbombtips/redbagtipsbg.png","../assets/redbombtips/redbagtips_ele7.png","../assets/redbombtips/redbagtips_elexx.png"]}
\ No newline at end of file \ No newline at end of file
...@@ -201,7 +201,7 @@ ...@@ -201,7 +201,7 @@
"name": "redbombtips" "name": "redbombtips"
}, },
{ {
"keys": "redbagtips_ele_png,redbagtips_ele1_png,redbagtips_ele2_png,redbagtips_ele3_png,redbagtips_light_png,redbagtips按钮_png,redbagtips活动规则_png,redbagtipsbg_png,redbagtips_ele7_png", "keys": "redbagtips_ele_png,redbagtips_ele1_png,redbagtips_ele2_png,redbagtips_ele3_png,redbagtips_light_png,redbagtips按钮_png,redbagtips活动规则_png,redbagtipsbg_png,redbagtips_ele7_png,redbagtips_elexx_png",
"name": "redbombtips2" "name": "redbombtips2"
}, },
{ {
...@@ -4282,6 +4282,11 @@ ...@@ -4282,6 +4282,11 @@
"url": "assets/mainScene/ele22.png", "url": "assets/mainScene/ele22.png",
"type": "image", "type": "image",
"name": "ele22_png" "name": "ele22_png"
},
{
"url": "assets/redbombtips/redbagtips_elexx.png",
"type": "image",
"name": "redbagtips_elexx_png"
} }
] ]
} }
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<e:Skin class="RedBombTipsSkin" width="750" height="1206" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing"> <e:Skin class="RedBombTipsSkin" width="750" height="1206" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing">
<e:Group id="con1"/>
<e:Image id="rulebtn" source="redbagtips活动规则_png" y="814" horizontalCenter="0"/> <e:Image id="rulebtn" source="redbagtips活动规则_png" y="814" horizontalCenter="0"/>
<e:Image source="redbagtips_elexx_png" x="210" y="50"/>
<e:Group id="btn" y="693.31" horizontalCenter="0"> <e:Group id="btn" y="693.31" horizontalCenter="0">
<e:Image source="redbagtips按钮_png" y="0" x="0"/> <e:Image source="redbagtips按钮_png" y="0" x="0"/>
<e:Label text="找红包" verticalCenter="-10" horizontalCenter="0" size="38" strokeColor="0x0389ff" stroke="2" fontFamily="FZY3JW"/> <e:Label text="找红包" verticalCenter="-3.5" horizontalCenter="0" size="38" strokeColor="0x0389ff" stroke="2" fontFamily="FZY3JW"/>
</e:Group> </e:Group>
</e:Skin> </e:Skin>
\ No newline at end of file
...@@ -16,7 +16,19 @@ export default class BombTips2Panel extends Panel { ...@@ -16,7 +16,19 @@ export default class BombTips2Panel extends Panel {
loadSvga(getResPath() + 'resource/assets/svgas/redBombTip.svga').then( loadSvga(getResPath() + 'resource/assets/svgas/redBombTip.svga').then(
(mv: egret.DisplayObject) => { (mv: egret.DisplayObject) => {
mv.y = -190; mv.y = -190;
this.addChildAt(mv, 1); this['con1'].addChild(mv);
this.mv = mv;
mv.addEventListener(egret.Event.COMPLETE, () => {
// @ts-ignore
mv.gotoAndPlay(45, true);
}, this);
}
);
loadSvga(getResPath() + 'resource/assets/svgas/redBombTip2.svga').then(
(mv: egret.DisplayObject) => {
mv.y = 0;
this['con1'].addChild(mv);
this.mv = mv; this.mv = mv;
mv.addEventListener(egret.Event.COMPLETE, () => { mv.addEventListener(egret.Event.COMPLETE, () => {
// @ts-ignore // @ts-ignore
......
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