Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xiaoxiaole
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wildfirecode13
xiaoxiaole
Commits
f9e698e6
Commit
f9e698e6
authored
Apr 02, 2020
by
邱旭
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://gitlab2.dui88.com/wanghongyuan/xiaoxiaole
into dev
parents
6ac1af1a
98b3b89e
Changes
32
Hide whitespace changes
Inline
Side-by-side
Showing
32 changed files
with
99 additions
and
16 deletions
+99
-16
Panel.ts
egret/libs/new_wx/components/Panel.ts
+31
-0
copyCodeBg.png
egret/resource/assets/shareCodePanel/copyCodeBg.png
+0
-0
zhantiegeihaoyou.png
egret/resource/assets/shareCodePanel/zhantiegeihaoyou.png
+0
-0
ADSkin.exml
egret/resource/skins/ADSkin.exml
+2
-0
BackSkin.exml
egret/resource/skins/BackSkin.exml
+2
-0
BagSkin.exml
egret/resource/skins/BagSkin.exml
+2
-0
Buy1Skin.exml
egret/resource/skins/Buy1Skin.exml
+2
-0
Buy2Skin.exml
egret/resource/skins/Buy2Skin.exml
+2
-0
Buy3Skin.exml
egret/resource/skins/Buy3Skin.exml
+2
-0
FriendSkin.exml
egret/resource/skins/FriendSkin.exml
+2
-0
HbCutTimeSkin.exml
egret/resource/skins/HbCutTimeSkin.exml
+2
-0
HbPrizeSkin.exml
egret/resource/skins/HbPrizeSkin.exml
+2
-0
InvitePrizePanelSkin.exml
egret/resource/skins/InvitePrizePanelSkin.exml
+2
-0
InviteSkin.exml
egret/resource/skins/InviteSkin.exml
+2
-0
NoPrizeSkin.exml
egret/resource/skins/NoPrizeSkin.exml
+2
-0
Prize2Skin.exml
egret/resource/skins/Prize2Skin.exml
+2
-0
PrizeSkin.exml
egret/resource/skins/PrizeSkin.exml
+2
-0
ScratchPrizeSkin.exml
egret/resource/skins/ScratchPrizeSkin.exml
+2
-0
ScratchSkin.exml
egret/resource/skins/ScratchSkin.exml
+2
-0
ShareCodePanelSkin.exml
egret/resource/skins/ShareCodePanelSkin.exml
+4
-4
ShopSkin.exml
egret/resource/skins/ShopSkin.exml
+2
-0
SignSkin.exml
egret/resource/skins/SignSkin.exml
+3
-1
StartPanelSkin.exml
egret/resource/skins/StartPanelSkin.exml
+2
-0
TaskCenterPrizeSkin.exml
egret/resource/skins/TaskCenterPrizeSkin.exml
+2
-0
TurntablePrize2Skin.exml
egret/resource/skins/TurntablePrize2Skin.exml
+2
-0
TurntablePrizeSkin.exml
egret/resource/skins/TurntablePrizeSkin.exml
+2
-0
MainScene.ts
egret/src/mainScene/MainScene.ts
+4
-3
BloodPanel.ts
egret/src/panels/BloodPanel.ts
+0
-2
FriendPanel.ts
egret/src/panels/FriendPanel.ts
+3
-2
Turntable.ts
egret/src/panels/TurntablePanel/Turntable.ts
+0
-3
Chapter23.ts
egret/src/something/chapters/Chapter23.ts
+11
-1
ElementConfigType.ts
egret/src/something/enum/ElementConfigType.ts
+1
-0
No files found.
egret/libs/new_wx/components/Panel.ts
View file @
f9e698e6
...
...
@@ -28,11 +28,42 @@ export default class Panel extends ComponentBase {
this
.
closeBtns
.
forEach
(
btn
=>
{
if
(
btn
)
btn
.
addEventListener
(
egret
.
TouchEvent
.
TOUCH_TAP
,
this
.
onTouchTap_closeBtn
,
this
)
}
)
if
(
this
[
'combglight'
]){
this
[
'combglight'
].
visible
=
false
;
this
.
once
(
egret
.
Event
.
ADDED
,()
=>
{
// setTimeout(() => {
this
[
'combglight'
].
visible
=
true
;
egret
.
Tween
.
get
(
this
[
'combglight'
],
{
loop
:
true
}).
to
({
rotation
:
360
},
12000
);
// }, 200)
},
this
);
}
if
(
this
[
'combglight1'
]){
this
[
'combglight1'
].
visible
=
false
;
this
.
once
(
egret
.
Event
.
ADDED
,()
=>
{
// setTimeout(() => {
this
[
'combglight1'
].
visible
=
true
;
egret
.
Tween
.
get
(
this
[
'combglight1'
],
{
loop
:
true
}).
to
({
rotation
:
-
360
},
12000
);
// },200)
},
this
)
}
}
removeEvents
()
{
this
.
closeBtns
.
forEach
(
btn
=>
{
if
(
btn
)
btn
.
removeEventListener
(
egret
.
TouchEvent
.
TOUCH_TAP
,
this
.
onTouchTap_closeBtn
,
this
)
}
)
if
(
this
[
'combglight'
]){
egret
.
Tween
.
removeTweens
(
this
[
'combglight'
]);
}
if
(
this
[
'combglight1'
]){
egret
.
Tween
.
removeTweens
(
this
[
'combglight1'
]);
}
}
protected
get
closeBtns
():
eui
.
Button
[]
{
return
[
this
[
'closeBtn'
]]
}
...
...
egret/resource/assets/shareCodePanel/copyCodeBg.png
View replaced file @
6ac1af1a
View file @
f9e698e6
60.4 KB
|
W:
|
H:
81.1 KB
|
W:
|
H:
2-up
Swipe
Onion skin
egret/resource/assets/shareCodePanel/zhantiegeihaoyou.png
View replaced file @
6ac1af1a
View file @
f9e698e6
26.6 KB
|
W:
|
H:
33.3 KB
|
W:
|
H:
2-up
Swipe
Onion skin
egret/resource/skins/ADSkin.exml
View file @
f9e698e6
<?xml version="1.0" encoding="utf-8"?>
<e:Skin
class=
"AddSkin"
width=
"750"
height=
"1206"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
>
<w:Config
id=
"16db3bd8eb8"
/>
<e:Image
id=
"combglight"
source=
"combglight_png"
y=
"476.19"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Image
id=
"combglight1"
source=
"combglight_png"
y=
"476.19"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Image
source=
"adbg_png"
y=
"-52.51"
horizontalCenter=
"0"
/>
<e:Image
id=
"adBtn"
y=
"437.49"
width=
"504"
height=
"536"
source=
"{data.img}"
horizontalCenter=
"0"
/>
<e:Button
id=
"closeBtn"
label=
""
y=
"308.88"
horizontalCenter=
"275.5"
>
...
...
egret/resource/skins/BackSkin.exml
View file @
f9e698e6
<?xml version="1.0" encoding="utf-8"?>
<e:Skin
class=
"BackSkin"
width=
"750"
height=
"1206"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
>
<w:Config
id=
"16e0235c541"
/>
<e:Image
id=
"combglight"
source=
"combglight_png"
y=
"417.32"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Image
id=
"combglight1"
source=
"combglight_png"
y=
"417.32"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Image
source=
"backbg_png"
scale9Grid=
"93,550,564,42"
y=
"-107"
horizontalCenter=
"0"
/>
<e:Image
id=
"bg"
source=
"commom_prop_bg_png"
y=
"456.76"
horizontalCenter=
"0"
/>
<e:Image
id=
"img"
source=
"{data.url}"
y=
"452.76"
width=
"494"
height=
"226"
horizontalCenter=
"0"
/>
...
...
egret/resource/skins/BagSkin.exml
View file @
f9e698e6
<?xml version="1.0" encoding="utf-8"?>
<e:Skin
class=
"BagSkin"
width=
"750"
height=
"1206"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
>
<e:Image
id=
"combglight"
source=
"combglight_png"
y=
"371.64"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Image
id=
"combglight1"
source=
"combglight_png"
y=
"371.64"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Image
source=
"bagbg_png"
horizontalCenter=
"0"
verticalCenter=
"-71.5"
/>
<e:Group
id=
"group1"
y=
"377"
horizontalCenter=
"0"
visible=
"false"
>
<e:Image
source=
"bag我的道具_png"
y=
"0"
x=
"0"
/>
...
...
egret/resource/skins/Buy1Skin.exml
View file @
f9e698e6
<?xml version="1.0" encoding="utf-8"?>
<e:Skin
class=
"Buy1Skin"
width=
"750"
height=
"1206"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
>
<w:Config
id=
"16c95475a4e"
/>
<e:Image
id=
"combglight"
source=
"combglight_png"
y=
"407.32"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Image
id=
"combglight1"
source=
"combglight_png"
y=
"407.32"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Image
y=
"-62"
source=
"购买锤子_png"
horizontalCenter=
"0"
/>
<e:Button
id=
"closeBtn"
label=
""
x=
"608"
y=
"289"
>
<e:skinName>
...
...
egret/resource/skins/Buy2Skin.exml
View file @
f9e698e6
<?xml version="1.0" encoding="utf-8"?>
<e:Skin
class=
"Buy2Skin"
width=
"750"
height=
"1206"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
>
<e:Image
id=
"combglight"
source=
"combglight_png"
y=
"407.32"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Image
id=
"combglight1"
source=
"combglight_png"
y=
"407.32"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Image
y=
"-62"
horizontalCenter=
"0"
source=
"购买炸弹_png"
/>
<e:Button
id=
"closeBtn"
label=
""
x=
"597.39"
y=
"278.7"
>
<e:skinName>
...
...
egret/resource/skins/Buy3Skin.exml
View file @
f9e698e6
<?xml version="1.0" encoding="utf-8"?>
<e:Skin
class=
"Buy3Skin"
width=
"750"
height=
"1206"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
>
<w:Config
id=
"16c984f7919"
/>
<e:Image
id=
"combglight"
source=
"combglight_png"
y=
"404.98"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Image
id=
"combglight1"
source=
"combglight_png"
y=
"404.98"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Image
y=
"-62"
horizontalCenter=
"0"
source=
"购买步数增加_png"
/>
<e:Button
id=
"closeBtn"
label=
""
x=
"592"
y=
"289"
>
<e:skinName>
...
...
egret/resource/skins/FriendSkin.exml
View file @
f9e698e6
<?xml version="1.0" encoding="utf-8"?>
<e:Skin
class=
"FriendSkin"
width=
"750"
height=
"1206"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
>
<e:Image
id=
"combglight"
source=
"combglight_png"
y=
"319.32"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Image
id=
"combglight1"
source=
"combglight_png"
y=
"319.32"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Image
source=
"friendbg_png"
y=
"48.29"
horizontalCenter=
"2"
locked=
"true"
/>
<e:Label
id=
"star"
text=
"X0"
x=
"588.96"
y=
"366.08"
size=
"24"
fontFamily=
"FZY3JW"
/>
<e:Button
id=
"closeBtn"
label=
""
x=
"634.94"
y=
"239.98"
>
...
...
egret/resource/skins/HbCutTimeSkin.exml
View file @
f9e698e6
<?xml version="1.0" encoding="utf-8"?>
<e:Skin
class=
"InviteSkin"
width=
"750"
height=
"1624"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
>
<e:Image
id=
"combglight"
source=
"combglight_png"
y=
"614.32"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Image
id=
"combglight1"
source=
"combglight_png"
y=
"614.32"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Image
y=
"87.33"
horizontalCenter=
"0"
source=
"hbCutTime_bg_png"
/>
<e:BitmapLabel
id=
"cutTimeLabel"
y=
"801.33"
text=
"00时00分00秒"
letterSpacing=
"8"
horizontalCenter=
"10"
font=
"hbCutTimeFont_fnt"
/>
<e:Image
id=
"tipImage"
y=
"748"
source=
"hbCutTime_cutLine_disable_png"
horizontalCenter=
"0"
/>
...
...
egret/resource/skins/HbPrizeSkin.exml
View file @
f9e698e6
<?xml version="1.0" encoding="utf-8"?>
<e:Skin
class=
"InviteSkin"
width=
"750"
height=
"1206"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
>
<e:Image
id=
"combglight"
source=
"combglight_png"
y=
"385.32"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Image
id=
"combglight1"
source=
"combglight_png"
y=
"385.32"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Image
y=
"-145.5"
source=
"hbPrize_bg_png"
horizontalCenter=
"1"
/>
<e:Image
id=
"img"
width=
"508"
height=
"225"
source=
"{data.url}"
y=
"518.96"
horizontalCenter=
"0"
/>
<e:Image
id=
"prop"
scaleX=
"1"
scaleY=
"1"
horizontalCenter=
"-70.5"
source=
"taskPrize_money_png"
verticalCenter=
"15.5"
/>
...
...
egret/resource/skins/InvitePrizePanelSkin.exml
View file @
f9e698e6
...
...
@@ -2,6 +2,8 @@
<e:Skin
class=
"InviteSkin"
width=
"750"
height=
"1206"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
xmlns:ns1=
"*"
>
<e:Component
y=
"910"
skinName=
"ADSmallSkin"
anchorOffsetX=
"0"
anchorOffsetY=
"0"
horizontalCenter=
"0"
visible=
"false"
/>
<e:Image
id=
"combglight"
source=
"combglight_png"
y=
"418.32"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Image
id=
"combglight1"
source=
"combglight_png"
y=
"418.32"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Image
y=
"-108.73"
source=
"invitePrize_bg_png"
horizontalCenter=
"0"
/>
<e:Image
id=
"prizeImg"
y=
"455.77"
source=
""
horizontalCenter=
"0"
width=
"510"
height=
"228"
/>
<e:Button
id=
"closeBtn"
label=
""
x=
"612"
y=
"311.77"
>
...
...
egret/resource/skins/InviteSkin.exml
View file @
f9e698e6
...
...
@@ -2,6 +2,8 @@
<e:Skin
class=
"InviteSkin"
width=
"750"
height=
"1624"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
>
<w:Config
id=
"16dd8f58b77"
visible=
"false"
/>
<e:Image
id=
"combglight"
source=
"combglight_png"
y=
"585.25"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Image
id=
"combglight1"
source=
"combglight_png"
y=
"585.25"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Image
id=
"light2"
source=
"invitebg2_png"
x=
"376"
y=
"317"
anchorOffsetX=
"356"
anchorOffsetY=
"296"
visible=
"false"
/>
<e:Image
id=
"light1"
source=
"invitebg2_png"
x=
"376"
y=
"317"
anchorOffsetX=
"356"
anchorOffsetY=
"296"
visible=
"false"
/>
<e:Image
y=
"36.5"
horizontalCenter=
"0"
source=
"invite_bg_png"
/>
...
...
egret/resource/skins/NoPrizeSkin.exml
View file @
f9e698e6
<?xml version="1.0" encoding="utf-8"?>
<e:Skin
class=
"NoPrizeSkin"
width=
"750"
height=
"1624"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
>
<e:Image
id=
"combglight"
source=
"combglight_png"
y=
"533.73"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"-3"
/>
<e:Image
id=
"combglight1"
source=
"combglight_png"
y=
"533.73"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"-3"
/>
<e:Image
id=
"light"
source=
"common_prizelight_png"
x=
"374.19"
y=
"512.23"
anchorOffsetX=
"375.76"
anchorOffsetY=
"327.27"
/>
<e:Image
y=
"17"
source=
"擦肩而过弹窗 _png"
horizontalCenter=
"0"
/>
<e:Button
id=
"closeBtn"
label=
""
x=
"596.48"
y=
"436.72"
>
...
...
egret/resource/skins/Prize2Skin.exml
View file @
f9e698e6
...
...
@@ -2,6 +2,8 @@
<e:Skin
class=
"Prize2Skin"
width=
"750"
height=
"1206"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
>
<w:Config
id=
"169005181d0"
/>
<e:Component
y=
"809.52"
skinName=
"ADSmallSkin"
x=
"84"
visible=
"false"
/>
<e:Image
id=
"combglight"
source=
"combglight_png"
y=
"451.32"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Image
id=
"combglight1"
source=
"combglight_png"
y=
"451.32"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Image
id=
"light"
source=
"common_prizelight_png"
x=
"376.19"
y=
"598.89"
anchorOffsetX=
"375.76"
anchorOffsetY=
"327.27"
/>
<e:Image
source=
"prizePanelbg_png"
y=
"-73.38"
horizontalCenter=
"2"
/>
<e:Button
id=
"closeBtn"
label=
""
x=
"588"
y=
"367.88"
>
...
...
egret/resource/skins/PrizeSkin.exml
View file @
f9e698e6
...
...
@@ -3,6 +3,8 @@
<w:Config
id=
"169005181d0"
/>
<e:Component
y=
"1086.79"
skinName=
"ADSmallSkin"
x=
"68"
visible=
"false"
/>
<e:Image
id=
"light"
source=
"common_prizelight_png"
x=
"374.19"
y=
"253.76"
anchorOffsetX=
"375.76"
anchorOffsetY=
"327.27"
visible=
"false"
/>
<e:Image
id=
"combglight"
source=
"combglight_png"
y=
"513.32"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Image
id=
"combglight1"
source=
"combglight_png"
y=
"513.32"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Image
source=
"prizePanelbg_png"
y=
"0"
scale9Grid=
"87,543,522,23"
x=
"0"
/>
<e:Label
id=
"lvTxt"
text=
"关卡1"
y=
"451.72"
fontFamily=
"FZY3JW"
size=
"42"
textColor=
"0xffffff"
strokeColor=
"0xff8339"
stroke=
"3"
horizontalCenter=
"0.5"
/>
<e:Image
id=
"picb"
x=
"286"
y=
"542.5"
source=
"点亮 副本 2gray_png"
scaleX=
"-1"
/>
...
...
egret/resource/skins/ScratchPrizeSkin.exml
View file @
f9e698e6
<?xml version="1.0" encoding="utf-8"?>
<e:Skin
class=
"InviteSkin"
width=
"750"
height=
"1206"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
xmlns:ns1=
"*"
>
<e:Image
id=
"combglight"
source=
"combglight_png"
y=
"400.4"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Image
id=
"combglight1"
source=
"combglight_png"
y=
"400.4"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Image
y=
"-123.17"
horizontalCenter=
"0"
source=
"scratchPrize_bg_png"
/>
<e:Image
id=
"prizeImg"
y=
"426.77"
source=
""
horizontalCenter=
"0"
width=
"510"
height=
"228"
/>
<e:Button
id=
"closeBtn"
label=
""
x=
"610"
y=
"309.33"
>
...
...
egret/resource/skins/ScratchSkin.exml
View file @
f9e698e6
...
...
@@ -2,6 +2,8 @@
<e:Skin
class=
"InviteSkin"
width=
"750"
height=
"1624"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
>
<w:Config
id=
"16dd8f58b77"
visible=
"false"
/>
<e:Image
id=
"combglight"
source=
"combglight_png"
y=
"545.88"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Image
id=
"combglight1"
source=
"combglight_png"
y=
"545.88"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Image
source=
"scratch_bg_png"
y=
"21.83"
x=
"-1"
/>
<e:Image
id=
"light2"
x=
"375"
y=
"496"
anchorOffsetX=
"356"
anchorOffsetY=
"296"
source=
"scratchbg2_png"
visible=
"false"
/>
<e:Image
id=
"light1"
x=
"375"
y=
"496"
anchorOffsetX=
"356"
anchorOffsetY=
"296"
source=
"scratchbg2_png"
visible=
"false"
/>
...
...
egret/resource/skins/ShareCodePanelSkin.exml
View file @
f9e698e6
...
...
@@ -44,12 +44,12 @@
</e:Button>
</e:Group>
</e:Group>
<e:Group
id=
"panelGroup"
horizontalCenter=
"0"
visible=
"false"
>
<e:Group
id=
"panelGroup"
horizontalCenter=
"0"
>
<e:Rect
width=
"750"
height=
"1624"
fillAlpha=
"0.7"
/>
<e:Image
y=
"294"
source=
"copyCodeBg_png"
horizontalCenter=
"0.5"
/>
<e:Label
id=
"msg"
text=
""
lineSpacing=
"10"
size=
"32"
multiline=
"true"
y=
"6
13"
textColor=
"0xf54500"
fontFamily=
"FZY4JW"
horizontalCenter=
"3.5"
textAlign=
"center
"
/>
<e:Image
id=
"goBtn"
y=
"
682
"
horizontalCenter=
"0"
source=
"zhantiegeihaoyou_png"
/>
<e:Button
id=
"closeBtn"
label=
""
x=
"6
25
"
y=
"291"
>
<e:Label
id=
"msg"
text=
""
lineSpacing=
"10"
size=
"32"
multiline=
"true"
y=
"6
40.27"
fontFamily=
"FZY4JW"
horizontalCenter=
"12.5"
textAlign=
"center"
textColor=
"0xbd6735
"
/>
<e:Image
id=
"goBtn"
y=
"
718.48
"
horizontalCenter=
"0"
source=
"zhantiegeihaoyou_png"
/>
<e:Button
id=
"closeBtn"
label=
""
x=
"6
06.81
"
y=
"291"
>
<e:skinName>
<e:Skin
states=
"up,down,disabled"
>
<e:Image
width=
"100%"
height=
"100%"
source=
"closeCommonBtn_png"
source.down=
"closeCommonBtn_png"
source.disabled=
"closeCommonBtn_png"
/>
...
...
egret/resource/skins/ShopSkin.exml
View file @
f9e698e6
<?xml version="1.0" encoding="utf-8"?>
<e:Skin
class=
"ShopSkin"
width=
"750"
height=
"1206"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
>
<w:Config
id=
"16c953f5068"
horizontalCenter=
"0"
/>
<e:Image
id=
"combglight"
source=
"combglight_png"
y=
"405.32"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Image
id=
"combglight1"
source=
"combglight_png"
y=
"405.32"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Image
y=
"-63.48"
horizontalCenter=
"0"
source=
"shop_bg2_png"
/>
<e:Button
id=
"closeBtn"
label=
""
x=
"607"
y=
"300.68"
>
<e:skinName>
...
...
egret/resource/skins/SignSkin.exml
View file @
f9e698e6
<?xml version="1.0" encoding="utf-8"?>
<e:Skin
class=
"SignSkin"
width=
"750"
height=
"1206"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
>
<e:Image
id=
"combglight"
source=
"combglight_png"
y=
"339.32"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Image
id=
"combglight1"
source=
"combglight_png"
y=
"339.32"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Image
source=
"signbg_png"
y=
"66.75"
horizontalCenter=
"0"
/>
<e:Button
id=
"closeBtn"
label=
""
x=
"632"
y=
"257.77"
>
<e:skinName>
...
...
@@ -25,7 +27,7 @@
</e:Skin>
</e:skinName>
</e:Button>
<e:Group
id=
"prizegroup"
width=
"750"
height=
"1206"
x=
"0"
y=
"0"
>
<e:Group
id=
"prizegroup"
width=
"750"
height=
"1206"
x=
"0"
y=
"0"
visible=
"false"
>
<e:Rect
id=
"mask1"
fillAlpha=
"0.8"
x=
"0"
y=
"0"
scaleX=
"1"
scaleY=
"1"
width=
"750"
height=
"1206"
/>
<e:Group
id=
"lightbot"
width=
"750"
height=
"1206"
x=
"0"
y=
"0"
/>
<e:Group
id=
"giftbox"
width=
"750"
height=
"1206"
/>
...
...
egret/resource/skins/StartPanelSkin.exml
View file @
f9e698e6
<?xml version="1.0" encoding="utf-8"?>
<e:Skin
class=
"StartPanelSkin"
width=
"750"
height=
"1206"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
>
<w:Config
id=
"16cd285c715"
/>
<e:Image
id=
"combglight"
source=
"combglight_png"
y=
"302.32"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Image
id=
"combglight1"
source=
"combglight_png"
y=
"302.32"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Image
y=
"-161.94"
source=
"startpanel通关条件_png"
x=
"0"
/>
<e:Label
id=
"levelTxt"
text=
"关卡1"
y=
"229"
fontFamily=
"FZY3JW"
size=
"42"
textColor=
"0xffffff"
strokeColor=
"0xff8339"
stroke=
"3"
anchorOffsetX=
"0"
width=
"236"
textAlign=
"center"
verticalAlign=
"middle"
anchorOffsetY=
"0"
horizontalCenter=
"0"
height=
"52"
/>
...
...
egret/resource/skins/TaskCenterPrizeSkin.exml
View file @
f9e698e6
<?xml version="1.0" encoding="utf-8"?>
<e:Skin
class=
"SignPrizeSkin"
width=
"750"
height=
"1206"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
>
<w:Config
id=
"16d5c2563cb"
/>
<e:Image
id=
"combglight"
source=
"combglight_png"
y=
"362.32"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Image
id=
"combglight1"
source=
"combglight_png"
y=
"362.32"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Component
y=
"830"
skinName=
"ADSmallSkin"
anchorOffsetX=
"0"
anchorOffsetY=
"0"
horizontalCenter=
"0"
visible=
"false"
/>
<e:Image
source=
"TaskCenterPrize_bg_png"
y=
"-150.5"
horizontalCenter=
"0"
/>
<e:Button
id=
"closeBtn"
label=
""
x=
"607"
y=
"240"
>
...
...
egret/resource/skins/TurntablePrize2Skin.exml
View file @
f9e698e6
<?xml version="1.0" encoding="utf-8"?>
<e:Skin
class=
"TurntablePrize2"
width=
"750"
height=
"1206"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
>
<w:Config
id=
"16e02c1ad57"
/>
<e:Image
id=
"combglight"
source=
"combglight_png"
y=
"362.32"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Image
id=
"combglight1"
source=
"combglight_png"
y=
"362.32"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Image
id=
"light2"
source=
"invitebg2_png"
x=
"376"
y=
"297"
anchorOffsetX=
"356"
anchorOffsetY=
"296"
visible=
"false"
/>
<e:Image
id=
"light1"
source=
"invitebg2_png"
x=
"386"
y=
"307"
anchorOffsetX=
"356"
anchorOffsetY=
"296"
visible=
"false"
/>
<e:Group
id=
"container"
y=
"-98.45"
x=
"-3"
/>
...
...
egret/resource/skins/TurntablePrizeSkin.exml
View file @
f9e698e6
<?xml version="1.0" encoding="utf-8"?>
<e:Skin
class=
"TurntablePrize"
width=
"750"
height=
"1206"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
>
<w:Config
id=
"16e02c1ad57"
/>
<e:Image
id=
"combglight"
source=
"combglight_png"
y=
"369.32"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Image
id=
"combglight1"
source=
"combglight_png"
y=
"369.32"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Component
y=
"788"
skinName=
"ADSmallSkin"
horizontalCenter=
"0"
visible=
"false"
/>
<e:Image
id=
"light2"
source=
"invitebg2_png"
x=
"376"
y=
"297"
anchorOffsetX=
"356"
anchorOffsetY=
"296"
visible=
"false"
/>
<e:Image
id=
"light1"
source=
"invitebg2_png"
x=
"386"
y=
"307"
anchorOffsetX=
"356"
anchorOffsetY=
"296"
visible=
"false"
/>
...
...
egret/src/mainScene/MainScene.ts
View file @
f9e698e6
...
...
@@ -3074,14 +3074,15 @@ export default class MainScene extends Scene {
}
//下面带状态的要优先判断
else
if
(
ele
.
hasState
(
StateType
.
BLOCK_LOCK
))
{
//这里不需要消除石门上的元素的状态,石门上的元素状态只由石门来修改
}
//有枷锁的
else
if
(
ele
.
hasState
(
StateType
.
LOCK
))
{
//被禁锢的解开
ele
.
setState
(
StateType
.
LOCK
,
false
);
//暂时笼子不算个数,算的话,改图片名称,列入ElementType的状态下
}
else
if
(
ele
.
hasState
(
StateType
.
BLOCK_LOCK
))
{
//这里不需要消除石门上的元素的状态,石门上的元素状态只由石门来修改
}
else
if
(
ele
.
hasState
(
StateType
.
HONEY
))
{
}
else
if
(
ele
.
hasState
(
StateType
.
HONEY
))
{
ele
.
setState
(
StateType
.
HONEY
,
false
);
createHoneyDisAni
(
ele
.
x
,
ele
.
y
,
this
)
this
.
goElementTarget
(
ElementType
.
HONEY
,
[
ele
.
x
,
ele
.
y
]);
...
...
egret/src/panels/BloodPanel.ts
View file @
f9e698e6
...
...
@@ -143,8 +143,6 @@ export default class BloodPanel extends Panel {
initEvents
()
{
super
.
initEvents
();
egret
.
Tween
.
get
(
this
[
'combglight'
],
{
loop
:
true
}).
to
({
rotation
:
360
},
12000
);
egret
.
Tween
.
get
(
this
[
'combglight1'
],
{
loop
:
true
}).
to
({
rotation
:
-
360
},
12000
);
this
[
'inviteBtn'
].
addEventListener
(
egret
.
TouchEvent
.
TOUCH_TAP
,
this
.
onTapInvite
,
this
);
this
[
'inviteBtn2'
].
addEventListener
(
egret
.
TouchEvent
.
TOUCH_TAP
,
this
.
onTapInvite
,
this
);
...
...
egret/src/panels/FriendPanel.ts
View file @
f9e698e6
...
...
@@ -13,6 +13,7 @@ export default class FriendPanel extends Panel {
public
list
:
eui
.
List
;
progress
:
eui
.
Label
;
score
:
eui
.
Label
;
rank
=
1
;
start
(
data
)
{
super
.
start
();
this
.
showlog
();
...
...
@@ -67,7 +68,7 @@ export default class FriendPanel extends Panel {
this
[
'avatar0'
].
source
=
"http://yun.duiba.com.cn/db_games/default_avatar.png"
;
if
(
data
&&
data
.
nickname
)
this
[
'nameTxt'
].
text
=
getNick
(
data
.
nickname
,
10
);
});
}
...
...
@@ -91,7 +92,7 @@ export default class FriendPanel extends Panel {
getFriendShareUrl
(
this
.
stage
);
}
else
showShare3
();
// showShareCodePanel(CodeChannels.RankPlay);//mmp,排行榜的分享又不要口令了
// showShareCodePanel(CodeChannels.RankPlay);//mmp,排行榜的分享又不要口令了
}
protected
get
closeBtns
():
eui
.
Button
[]
{
return
[
this
[
'closeBtn'
]]
}
...
...
egret/src/panels/TurntablePanel/Turntable.ts
View file @
f9e698e6
...
...
@@ -68,9 +68,6 @@ export default class Turntable extends Panel {
initEvents
()
{
super
.
initEvents
();
egret
.
Tween
.
get
(
this
[
'combglight'
],
{
loop
:
true
}).
to
({
rotation
:
360
},
6000
);
egret
.
Tween
.
get
(
this
[
'combglight1'
],
{
loop
:
true
}).
to
({
rotation
:
-
360
},
6000
);
if
(
this
.
data
.
onceAgain
)
{
// 再抽一次
return
;
}
...
...
egret/src/something/chapters/Chapter23.ts
View file @
f9e698e6
...
...
@@ -160,6 +160,16 @@ export const Chapters23: ChapterData[] = [
0
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
0
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
],
connectedLats
:
[],
conveyor
:
[
[
29
,
33
]
],
conveyorConnectedLats
:
[
[
33
,
29
]
],
elements
:
[
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
14
,
14
,
14
,
14
,
14
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
2
,
2
,
2
,
2
,
2
,
1
,
1
,
1
,
1
,
2
,
1
,
1
,
1
,
2
,
1
,
1
,
1
,
1
,
2
,
2
,
2
,
2
,
2
,
1
,
1
],
baseElements
:
[
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
10
,
30
,
40
,
50
,
50
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
],
recycles
:
[],
generateLats
:
[
{
index
:
0
,
type
:
null
},
{
index
:
1
,
type
:
null
},
{
index
:
2
,
type
:
null
},
{
index
:
3
,
type
:
null
},
{
index
:
4
,
type
:
null
},
{
index
:
5
,
type
:
null
},
{
index
:
6
,
type
:
null
},
{
index
:
7
,
type
:
null
},
{
index
:
8
,
type
:
null
},
{
index
:
56
,
type
:
null
},
{
index
:
57
,
type
:
null
},
{
index
:
58
,
type
:
null
},
{
index
:
59
,
type
:
null
},
{
index
:
60
,
type
:
null
},
{
index
:
29
,
type
:
null
},
{
index
:
30
,
type
:
null
},
{
index
:
31
,
type
:
null
},
{
index
:
32
,
type
:
null
},
{
index
:
33
,
type
:
null
}
]
}
},
//600
{
baseElementTypes
:
[
0
,
1
,
2
,
3
,
4
],
bubbleProbability
:
0
,
stepCount
:
22
,
passTarget
:
{
type
:
1
,
elements
:
[
{
type
:
36
,
count
:
67
}
]
},
starScores
:
[],
map
:
{
lattices
:
[
7
,
7
,
7
,
7
,
7
,
7
,
7
,
0
,
0
,
7
,
7
,
7
,
7
,
7
,
0
,
0
,
0
,
0
,
7
,
7
,
7
,
7
,
7
,
7
,
7
,
7
,
7
,
7
,
7
,
7
,
7
,
0
,
7
,
7
,
7
,
7
,
7
,
7
,
7
,
7
,
7
,
7
,
7
,
7
,
7
,
7
,
7
,
7
,
7
,
0
,
7
,
7
,
7
,
7
,
7
,
7
,
7
,
7
,
7
,
7
,
7
,
7
,
7
,
0
,
0
,
0
,
0
,
7
,
7
,
7
,
7
,
7
,
0
,
0
,
7
,
7
,
7
,
7
,
7
,
7
,
7
],
connectedLats
:
[
[
74
,
4
],
[
75
,
5
],
[
76
,
6
]
],
conveyor
:
[
[
37
,
43
],
[
80
,
74
]
],
conveyorConnectedLats
:
[
[
43
,
37
],
[
74
,
80
]
],
elements
:
[
1
,
1
,
1
,
1
,
0
,
0
,
0
,
1
,
1
,
1
,
1
,
1
,
1
,
2
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
2
,
2
,
2
,
2
,
2
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
2
,
2
,
2
,
2
,
2
,
1
,
1
,
1
,
1
,
2
,
0
,
0
,
0
,
0
,
1
,
1
,
0
,
0
,
0
,
0
,
0
,
0
,
12
],
baseElements
:
[
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
],
recycles
:
[],
generateLats
:
[
{
index
:
0
,
type
:
null
},
{
index
:
1
,
type
:
null
},
{
index
:
2
,
type
:
null
},
{
index
:
3
,
type
:
null
},
{
index
:
23
,
type
:
null
},
{
index
:
24
,
type
:
null
},
{
index
:
25
,
type
:
null
},
{
index
:
26
,
type
:
null
}
]
}
}
{
baseElementTypes
:
[
0
,
1
,
2
,
3
,
4
],
bubbleProbability
:
0
,
stepCount
:
22
,
passTarget
:
{
type
:
1
,
elements
:
[
{
type
:
34
,
count
:
25
}
]
},
starScores
:
[
15000
,
20000
,
25000
],
map
:
{
lattices
:
[
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
0
,
4
,
41
,
4
,
41
,
4
,
41
,
4
,
0
,
0
,
0
,
1
,
1
,
1
,
1
,
1
,
0
,
0
,
0
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
0
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
],
connectedLats
:
[],
conveyor
:
[],
conveyorConnectedLats
:
[],
elements
:
[
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
4
,
4
,
4
,
4
,
4
,
4
,
4
,
1
,
1
,
1
,
0
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
1
,
0
,
0
,
16
,
16
,
16
,
16
,
16
,
0
,
0
],
baseElements
:
[
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
],
recycles
:
[],
generateLats
:
[
{
index
:
0
,
type
:
null
},
{
index
:
1
,
type
:
null
},
{
index
:
2
,
type
:
null
},
{
index
:
3
,
type
:
null
},
{
index
:
4
,
type
:
null
},
{
index
:
5
,
type
:
null
},
{
index
:
6
,
type
:
null
},
{
index
:
7
,
type
:
null
},
{
index
:
8
,
type
:
null
}
]
}
}
]
egret/src/something/enum/ElementConfigType.ts
View file @
f9e698e6
...
...
@@ -74,4 +74,5 @@ export enum ElementConfigType {
CANNO_DIR_RIGHT
=
21
,
/** 大炮石头 */
CANNO_BLOCK
=
22
,
xingxing
=
23
,
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment