Commit 109fb9e2 authored by huangwenjie's avatar huangwenjie

修复第一次分享白色底图不出现问题

parent 44871fc1
{
"engineVersion": "5.2.13",
"compilerVersion": "5.2.13",
"engineVersion": "5.2.7",
"compilerVersion": "5.2.7",
"template": {},
"target": {
"current": "web"
......
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"CmPig_4","version":5,"files":["..\\assets\\mainScene\\cm\\kouhong0.png","..\\assets\\mainScene\\cm\\kouhong.png","..\\assets\\mainScene\\cm\\cmRightHandVip2.png","..\\assets\\mainScene\\cm\\cmRightHandVip1.png","..\\assets\\mainScene\\cm\\cmRightHandOn2.png","..\\assets\\mainScene\\cm\\cmRightHandOn1.png","..\\assets\\mainScene\\cm\\cmRightHandDownVip2.png","..\\assets\\mainScene\\cm\\cmRightHandDownVip1.png","..\\assets\\mainScene\\cm\\cmRightHandDownOn2.png","..\\assets\\mainScene\\cm\\cmRightHandDownOn1.png","..\\assets\\mainScene\\cm\\cmNose.png","..\\assets\\mainScene\\cm\\cmMouth2.png","..\\assets\\mainScene\\cm\\cmMouth1.png","..\\assets\\mainScene\\cm\\cmMouth0.png","..\\assets\\mainScene\\cm\\cmMeimaoRight.png","..\\assets\\mainScene\\cm\\cmMeimaoLeft.png","..\\assets\\mainScene\\cm\\cmLegRight.png","..\\assets\\mainScene\\cm\\cmLegLeft.png","..\\assets\\mainScene\\cm\\cmLeftHandVip2.png","..\\assets\\mainScene\\cm\\cmLeftHandVip1.png","..\\assets\\mainScene\\cm\\cmLeftHandOn2.png","..\\assets\\mainScene\\cm\\cmLeftHandOn1.png","..\\assets\\mainScene\\cm\\cmLeftHandDownVip2.png","..\\assets\\mainScene\\cm\\cmLeftHandDownVip1.png","..\\assets\\mainScene\\cm\\cmLeftHandDownOn2.png","..\\assets\\mainScene\\cm\\cmLeftHandDownOn1.png","..\\assets\\mainScene\\cm\\cmLand.png","..\\assets\\mainScene\\cm\\cmHeadOn8.png","..\\assets\\mainScene\\cm\\cmHeadOn7.png","..\\assets\\mainScene\\cm\\cmHeadOn6.png","..\\assets\\mainScene\\cm\\cmHeadOn5.png","..\\assets\\mainScene\\cm\\cmHeadOn4.png","..\\assets\\mainScene\\cm\\cmHeadOn3.png","..\\assets\\mainScene\\cm\\cmHeadOn2.png","..\\assets\\mainScene\\cm\\cmHeadOn1.png","..\\assets\\mainScene\\cm\\cmHeadOn0.png","..\\assets\\mainScene\\cm\\cmHeadExtOn1.png","..\\assets\\mainScene\\cm\\cmHead8.png","..\\assets\\mainScene\\cm\\cmHead7.png","..\\assets\\mainScene\\cm\\cmHead6.png","..\\assets\\mainScene\\cm\\cmHead5.png","..\\assets\\mainScene\\cm\\cmHead4.png","..\\assets\\mainScene\\cm\\cmHead3.png","..\\assets\\mainScene\\cm\\cmHead2.png","..\\assets\\mainScene\\cm\\cmHead1.png","..\\assets\\mainScene\\cm\\cmHead0.png","..\\assets\\mainScene\\cm\\cmHandRightUp.png","..\\assets\\mainScene\\cm\\cmHandRightDown.png","..\\assets\\mainScene\\cm\\cmHandRight.png","..\\assets\\mainScene\\cm\\cmHandLeftUp.png","..\\assets\\mainScene\\cm\\cmHandLeftDown.png","..\\assets\\mainScene\\cm\\cmHandLeft.png","..\\assets\\mainScene\\cm\\cmFootRight2.png","..\\assets\\mainScene\\cm\\cmFootRight1.png","..\\assets\\mainScene\\cm\\cmFootRight0.png","..\\assets\\mainScene\\cm\\cmFootLeft2.png","..\\assets\\mainScene\\cm\\cmFootLeft1.png","..\\assets\\mainScene\\cm\\cmFootLeft0.png","..\\assets\\mainScene\\cm\\cmFace.png","..\\assets\\mainScene\\cm\\cmEye2.png","..\\assets\\mainScene\\cm\\cmEye1.png","..\\assets\\mainScene\\cm\\cmEye0.png","..\\assets\\mainScene\\cm\\cmEarRight.png","..\\assets\\mainScene\\cm\\cmEarLeft.png","..\\assets\\mainScene\\cm\\cmBodyVip2.png","..\\assets\\mainScene\\cm\\cmBodyVip1.png","..\\assets\\mainScene\\cm\\cmBodyOn4.png","..\\assets\\mainScene\\cm\\cmBodyOn3.png","..\\assets\\mainScene\\cm\\cmBodyOn2.png","..\\assets\\mainScene\\cm\\cmBodyOn1.png","..\\assets\\mainScene\\cm\\cmBodyOn0.png","..\\assets\\mainScene\\cm\\cmBody4.png","..\\assets\\mainScene\\cm\\cmBody3.png","..\\assets\\mainScene\\cm\\cmBody2.png","..\\assets\\mainScene\\cm\\cmBody1.png","..\\assets\\mainScene\\cm\\cmBody0.png","..\\assets\\mainScene\\cm\\cmBody.png"]}
\ No newline at end of file
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"Delay_2","version":5,"files":["..\\assets\\calendar\\cal_sportyHead.png","..\\assets\\calendar\\cal_socialHead.png","..\\assets\\calendar\\cal_moreHead.png","..\\assets\\calendar\\cal_how.png","..\\assets\\calendar\\cal_check.png","..\\assets\\calendar\\cal_beautyHead.png","..\\assets\\calendar\\cal_back.png","..\\assets\\rule\\rule.png","..\\assets\\share\\shareTips.png","..\\assets\\share\\ewm.png"]}
\ No newline at end of file
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"Delay_2","version":5,"files":["..\\assets\\calendar\\cal_sportyHead.png","..\\assets\\calendar\\cal_socialHead.png","..\\assets\\calendar\\cal_moreHead.png","..\\assets\\calendar\\cal_how.png","..\\assets\\calendar\\cal_check.png","..\\assets\\calendar\\cal_beautyHead.png","..\\assets\\calendar\\cal_back.png"]}
\ No newline at end of file
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"Normal_1","version":5,"files":["..\\assets\\choose\\whiteChoose.png","..\\assets\\choose\\vip3_emblem.png","..\\assets\\choose\\vip2_emblem.png","..\\assets\\choose\\vip1_emblem.png","..\\assets\\choose\\switchBtn.png","..\\assets\\choose\\socialPigBtn.png","..\\assets\\choose\\rope.png","..\\assets\\choose\\point3.png","..\\assets\\choose\\point2.png","..\\assets\\choose\\point1.png","..\\assets\\choose\\noChooseBtn.png","..\\assets\\choose\\newPigTip.png","..\\assets\\choose\\chooseTips .png","..\\assets\\choose\\cho_vip3_title.png","..\\assets\\choose\\cho_vip3_bg.png","..\\assets\\choose\\cho_vip2_title.png","..\\assets\\choose\\cho_vip2_bg.png","..\\assets\\choose\\cho_vip1_title.png","..\\assets\\choose\\cho_vip1_bg.png","..\\assets\\choose\\cho_toast.png","..\\assets\\choose\\cho_soc_vip3.png","..\\assets\\choose\\cho_soc_vip2.png","..\\assets\\choose\\cho_soc_vip1.png","..\\assets\\choose\\cho_rechoose_btn.png","..\\assets\\choose\\cho_lockMask.png","..\\assets\\choose\\cho_choose_btn.png","..\\assets\\choose\\cho_bg_title.png","..\\assets\\choose\\cho_bea_vip3.png","..\\assets\\choose\\cho_bea_vip2.png","..\\assets\\choose\\cho_bea_vip1.png","..\\assets\\choose\\cho_ath_vip3.png","..\\assets\\choose\\cho_ath_vip2.png","..\\assets\\choose\\cho_ath_vip1.png","..\\assets\\choose\\beautyPigBtn.png","..\\assets\\choose\\athleticPigBtn.png","..\\assets\\common\\lock.png","..\\assets\\common\\commonTitleEle.png","..\\assets\\common\\commonPanelBg2.png","..\\assets\\common\\commonPanelBg.png","..\\assets\\common\\closeBtn.png","..\\assets\\gift\\useBtn.png","..\\assets\\gift\\rePunchCardBtn.png","..\\assets\\gift\\heartBreak.png","..\\assets\\gift\\giftBox.png","..\\assets\\gift\\giftBg.png","..\\assets\\gift\\giftb.png","..\\assets\\gift\\bigGiftBox.png","..\\assets\\gift\\acceptBtn.png","..\\assets\\mainScene\\heart1.png","..\\assets\\mainScene\\heart0.png","..\\assets\\mainScene\\headBtn0.png","..\\assets\\mainScene\\headBtn.png","..\\assets\\mainScene\\feedMouth.png","..\\assets\\mainScene\\feedBtn.png","..\\assets\\mainScene\\drawGiftTips.png","..\\assets\\mainScene\\bubble2.png","..\\assets\\mainScene\\bubble1.png","..\\assets\\mainScene\\bubble0.png","..\\assets\\mainScene\\bodyBtn0.png","..\\assets\\mainScene\\bodyBtn.png","..\\assets\\mainScene\\awardBtn.png","..\\assets\\mainScene\\propIconBg.png","..\\assets\\mainScene\\propBarHideBtn.png","..\\assets\\mainScene\\propBarBg.png","..\\assets\\mainScene\\newpTips.png","..\\assets\\mainScene\\loveBg.png","..\\assets\\mainScene\\lockMask.png","..\\assets\\mainScene\\lightPoint.png","..\\assets\\mainScene\\wearTips.png","..\\assets\\mainScene\\WearBtn.png","..\\assets\\mainScene\\wave7.png","..\\assets\\mainScene\\wave6.png","..\\assets\\mainScene\\wave5.png","..\\assets\\mainScene\\wave4.png","..\\assets\\mainScene\\wave3.png","..\\assets\\mainScene\\wave2.png","..\\assets\\mainScene\\wave1.png","..\\assets\\mainScene\\wave0.png","..\\assets\\mainScene\\washBtn.png","..\\assets\\mainScene\\vipBody2.png","..\\assets\\mainScene\\vipBody1.png","..\\assets\\mainScene\\vip2.png","..\\assets\\mainScene\\vip1.png","..\\assets\\mainScene\\vip0.png","..\\assets\\mainScene\\touchBtn.png","..\\assets\\mainScene\\timeRecordBtn.png","..\\assets\\mainScene\\signInBoxOpen2.png","..\\assets\\mainScene\\signInBoxOpen1.png","..\\assets\\mainScene\\signInBoxOpen0.png","..\\assets\\mainScene\\signInBoxClose2.png","..\\assets\\mainScene\\signInBoxClose1.png","..\\assets\\mainScene\\signInBoxClose0.png","..\\assets\\mainScene\\shareBtn.png","..\\assets\\mainScene\\saveWear.png","..\\assets\\mainScene\\redPoint.png","..\\assets\\mainScene\\redlinePoint.png","..\\assets\\mainScene\\redline1.png","..\\assets\\mainScene\\redline0.png"]}
\ No newline at end of file
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"Normal_1","version":5,"files":["..\\assets\\common\\lock.png","..\\assets\\common\\commonTitleEle.png","..\\assets\\common\\commonPanelBg2.png","..\\assets\\common\\commonPanelBg.png","..\\assets\\common\\closeBtn.png","..\\assets\\choose\\whiteChoose.png","..\\assets\\choose\\vip3_emblem.png","..\\assets\\choose\\vip2_emblem.png","..\\assets\\choose\\vip1_emblem.png","..\\assets\\choose\\switchBtn.png","..\\assets\\choose\\socialPigBtn.png","..\\assets\\choose\\rope.png","..\\assets\\choose\\point3.png","..\\assets\\choose\\point2.png","..\\assets\\choose\\point1.png","..\\assets\\choose\\noChooseBtn.png","..\\assets\\choose\\newPigTip.png","..\\assets\\choose\\chooseTips .png","..\\assets\\choose\\cho_vip3_title.png","..\\assets\\choose\\cho_vip3_bg.png","..\\assets\\choose\\cho_vip2_title.png","..\\assets\\choose\\cho_vip2_bg.png","..\\assets\\choose\\cho_vip1_title.png","..\\assets\\choose\\cho_vip1_bg.png","..\\assets\\choose\\cho_toast.png","..\\assets\\choose\\cho_soc_vip3.png","..\\assets\\choose\\cho_soc_vip2.png","..\\assets\\choose\\cho_soc_vip1.png","..\\assets\\choose\\cho_rechoose_btn.png","..\\assets\\choose\\cho_lockMask.png","..\\assets\\choose\\cho_choose_btn.png","..\\assets\\choose\\cho_bg_title.png","..\\assets\\choose\\cho_bea_vip3.png","..\\assets\\choose\\cho_bea_vip2.png","..\\assets\\choose\\cho_bea_vip1.png","..\\assets\\choose\\cho_ath_vip3.png","..\\assets\\choose\\cho_ath_vip2.png","..\\assets\\choose\\cho_ath_vip1.png","..\\assets\\choose\\beautyPigBtn.png","..\\assets\\choose\\athleticPigBtn.png","..\\assets\\gift\\useBtn.png","..\\assets\\gift\\rePunchCardBtn.png","..\\assets\\gift\\heartBreak.png","..\\assets\\gift\\giftBox.png","..\\assets\\gift\\giftBg.png","..\\assets\\gift\\giftb.png","..\\assets\\gift\\bigGiftBox.png","..\\assets\\gift\\acceptBtn.png","..\\assets\\mainScene\\bubble2.png","..\\assets\\mainScene\\bubble1.png","..\\assets\\mainScene\\bubble0.png","..\\assets\\mainScene\\bodyBtn0.png","..\\assets\\mainScene\\bodyBtn.png","..\\assets\\mainScene\\awardBtn.png","..\\assets\\mainScene\\heart1.png","..\\assets\\mainScene\\heart0.png","..\\assets\\mainScene\\headBtn0.png","..\\assets\\mainScene\\headBtn.png","..\\assets\\mainScene\\feedMouth.png","..\\assets\\mainScene\\feedBtn.png","..\\assets\\mainScene\\drawGiftTips.png","..\\assets\\mainScene\\propIconBg.png","..\\assets\\mainScene\\propBarHideBtn.png","..\\assets\\mainScene\\propBarBg.png","..\\assets\\mainScene\\newpTips.png","..\\assets\\mainScene\\loveBg.png","..\\assets\\mainScene\\lockMask.png","..\\assets\\mainScene\\lightPoint.png","..\\assets\\mainScene\\saveWear.png","..\\assets\\mainScene\\redPoint.png","..\\assets\\mainScene\\redlinePoint.png","..\\assets\\mainScene\\redline1.png","..\\assets\\mainScene\\redline0.png","..\\assets\\mainScene\\wearTips.png","..\\assets\\mainScene\\WearBtn.png","..\\assets\\mainScene\\wave7.png","..\\assets\\mainScene\\wave6.png","..\\assets\\mainScene\\wave5.png","..\\assets\\mainScene\\wave4.png","..\\assets\\mainScene\\wave3.png","..\\assets\\mainScene\\wave2.png","..\\assets\\mainScene\\wave1.png","..\\assets\\mainScene\\wave0.png","..\\assets\\mainScene\\washBtn.png","..\\assets\\mainScene\\vipBody2.png","..\\assets\\mainScene\\vipBody1.png","..\\assets\\mainScene\\vip2.png","..\\assets\\mainScene\\vip1.png","..\\assets\\mainScene\\vip0.png","..\\assets\\mainScene\\touchBtn.png","..\\assets\\mainScene\\timeRecordBtn.png","..\\assets\\mainScene\\signInBoxOpen2.png","..\\assets\\mainScene\\signInBoxOpen1.png","..\\assets\\mainScene\\signInBoxOpen0.png","..\\assets\\mainScene\\signInBoxClose2.png","..\\assets\\mainScene\\signInBoxClose1.png","..\\assets\\mainScene\\signInBoxClose0.png","..\\assets\\mainScene\\shareBtn.png"]}
\ No newline at end of file
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"Preload_0","version":5,"files":["..\\assets\\alert\\msgSureBtn.png","..\\assets\\alert\\msgBg.png","..\\assets\\waiting\\progress.png","..\\assets\\waiting\\bg.png","..\\assets\\loading\\track.png","..\\assets\\loading\\thumb.png","..\\assets\\loading\\loadingBg.png"]}
\ No newline at end of file
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"Preload_0","version":5,"files":["..\\assets\\alert\\msgSureBtn.png","..\\assets\\alert\\msgBg.png","..\\assets\\loading\\track.png","..\\assets\\loading\\thumb.png","..\\assets\\loading\\loadingBg.png","..\\assets\\waiting\\progress.png","..\\assets\\waiting\\bg.png"]}
\ No newline at end of file
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"ShPig_5","version":5,"files":["..\\assets\\mainScene\\sh\\shOutOn6.png","..\\assets\\mainScene\\sh\\shOutOn3.png","..\\assets\\mainScene\\sh\\shNose.png","..\\assets\\mainScene\\sh\\shMeimaoRight.png","..\\assets\\mainScene\\sh\\shMeimaoLeft.png","..\\assets\\mainScene\\sh\\shMainVip2.png","..\\assets\\mainScene\\sh\\shMainOn1.png","..\\assets\\mainScene\\sh\\shLegRight.png","..\\assets\\mainScene\\sh\\shLegLeft.png","..\\assets\\mainScene\\sh\\shLand.png","..\\assets\\mainScene\\sh\\shHeadOnDown1.png","..\\assets\\mainScene\\sh\\shHeadOn6.png","..\\assets\\mainScene\\sh\\shHeadOn5.png","..\\assets\\mainScene\\sh\\shHeadOn4.png","..\\assets\\mainScene\\sh\\shHeadOn3.png","..\\assets\\mainScene\\sh\\shHeadOn2.png","..\\assets\\mainScene\\sh\\shHeadOn1.png","..\\assets\\mainScene\\sh\\shHeadOn0.png","..\\assets\\mainScene\\sh\\shHeadExtOn2.png","..\\assets\\mainScene\\sh\\shHeadExtOn11.png","..\\assets\\mainScene\\sh\\shHeadExtOn1.png","..\\assets\\mainScene\\sh\\shHead6.png","..\\assets\\mainScene\\sh\\shHead5.png","..\\assets\\mainScene\\sh\\shHead4.png","..\\assets\\mainScene\\sh\\shHead3.png","..\\assets\\mainScene\\sh\\shHead2.png","..\\assets\\mainScene\\sh\\shHead1.png","..\\assets\\mainScene\\sh\\shHead0.png","..\\assets\\mainScene\\sh\\shHandVip1.png","..\\assets\\mainScene\\sh\\shHandOn5.png","..\\assets\\mainScene\\sh\\shHandOn2.png","..\\assets\\mainScene\\sh\\shHand.png","..\\assets\\mainScene\\sh\\shGlassLight.png","..\\assets\\mainScene\\sh\\shGlasses.png","..\\assets\\mainScene\\sh\\shFootRight2.png","..\\assets\\mainScene\\sh\\shFootRight1.png","..\\assets\\mainScene\\sh\\shFootRight0.png","..\\assets\\mainScene\\sh\\shFootLeft2.png","..\\assets\\mainScene\\sh\\shFootLeft1.png","..\\assets\\mainScene\\sh\\shFootLeft0.png","..\\assets\\mainScene\\sh\\shFace.png","..\\assets\\mainScene\\sh\\shEye3.png","..\\assets\\mainScene\\sh\\shEye2.png","..\\assets\\mainScene\\sh\\shEye1.png","..\\assets\\mainScene\\sh\\shEye0.png","..\\assets\\mainScene\\sh\\shEarRight.png","..\\assets\\mainScene\\sh\\shEarLeft.png","..\\assets\\mainScene\\sh\\shBubble.png","..\\assets\\mainScene\\sh\\shBodyOn4.png","..\\assets\\mainScene\\sh\\shBodyOn0.png","..\\assets\\mainScene\\sh\\shBody6.png","..\\assets\\mainScene\\sh\\shBody5.png","..\\assets\\mainScene\\sh\\shBody4.png","..\\assets\\mainScene\\sh\\shBody3.png","..\\assets\\mainScene\\sh\\shBody2.png","..\\assets\\mainScene\\sh\\shBody1.png","..\\assets\\mainScene\\sh\\shBody0.png","..\\assets\\mainScene\\sh\\shBody.png"]}
\ No newline at end of file
......@@ -3,12 +3,18 @@
"autoGenerateExmlsList": true,
"exmls": [
"resource/skins/AlertSkin.exml",
"resource/skins/ToastSkin.exml",
"resource/skins/MsgSkin.exml",
"resource/skins/CalendarListItemSkin.exml",
"resource/skins/CalendarSkin.exml",
"resource/skins/CampSkin.exml",
"resource/skins/EndSkin.exml",
"resource/skins/EndTxtSkin.exml",
"resource/skins/GameComponentSkin.exml",
"resource/skins/GameEndSkin.exml",
"resource/skins/GameEndWaitingSkin.exml",
"resource/skins/GameOverSkin.exml",
"resource/skins/GameTargetSkin.exml",
"resource/skins/LoadingSkin.exml",
"resource/skins/MsgSkin.exml",
"resource/skins/NoPrizeSkin.exml",
"resource/skins/PigListSkin.exml",
"resource/skins/PigThemeSkin.exml",
......@@ -19,7 +25,9 @@
"resource/skins/PunchCardSucSkin.exml",
"resource/skins/RuleSkin.exml",
"resource/skins/ShareSkin.exml",
"resource/skins/StartSkin.exml",
"resource/skins/SwitchPigSkin.exml",
"resource/skins/ToastSkin.exml",
"resource/skins/vip1CardSkin.exml",
"resource/skins/vip2CardSkin.exml",
"resource/skins/vip3CardSkin.exml",
......
......@@ -68,6 +68,8 @@ export default class PlayScene extends Scene {
private currentPigStr = "yd";
private chooseHeadTips;
private chooseBodyTips;
private shareBottomBg;
private ewm;
private headBtn;
private bodyBtn;
......@@ -431,6 +433,19 @@ export default class PlayScene extends Scene {
//绑定事件
this.pig.addEventListener(egret.TouchEvent.TOUCH_TAP, this.onTap_pig, this);
this.shareBottomBg = new eui.Image();
this.shareBottomBg.source = `shareTips_png`;
this.shareBottomBg.x = -375;
this.shareBottomBg.y = 80;
this.shareBottomBg.visible = false;
this.pig.addChildAt(this.shareBottomBg, 1);
this.ewm = new eui.Image();
this.ewm.source = window['ewmSource'] ? window['ewmSource'] : `ewm_png`;
this.ewm.x = 140;
this.ewm.y = 110;
this.pig.addChild(this.ewm);
this.ewm.visible = false;
//爱心条
this.setLove();
......@@ -870,17 +885,14 @@ export default class PlayScene extends Scene {
nbg.y = 355 - 1624;
this.pig.addChildAt(nbg, 0);
let bottomBg = new eui.Image();
bottomBg.source = `shareTips_png`;
bottomBg.x = -375;
bottomBg.y = 80;
this.pig.addChildAt(bottomBg, 1);
this.pig.addChildAt(this.shareBottomBg, 1)
this.shareBottomBg.visible = true;
let ewm = new eui.Image();
ewm.source = `ewm_png`;
ewm.x = 140;
ewm.y = 110;
this.pig.addChildAt(ewm, 2);
this.ewm.source = window['ewmSource'] ? window['ewmSource'] : `ewm_png`;
this.ewm.x = 140;
this.ewm.y = 110;
this.pig.addChild(this.ewm);
this.ewm.visible = true;
let shareTxt = new eui.Label();
switch (window['currentPigData'].identifier) {
......@@ -925,8 +937,10 @@ export default class PlayScene extends Scene {
let imgData = GameConst.getPrintScreenData(this.pig, -375 + 100, -554, 550, 800);
GameConst.showImgByImgData(img, imgData, 100, GameConst.stage.stageHeight / 2 - 350, 550, () => {
this.pig.removeChild(nbg);
this.pig.removeChild(bottomBg);
this.pig.removeChild(ewm);
// this.pig.removeChild(this.shareBottomBg);
this.shareBottomBg.visible = false;
// this.pig.removeChild(ewm);
this.ewm.visible = false;
this.pig.removeChild(shareTxt);
this.pig.removeChild(saveTips);
this.pig.removeChild(scanTips);
......
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