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
d1542273
Commit
d1542273
authored
Apr 08, 2020
by
邱旭
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
b84ce87e
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
16 additions
and
10 deletions
+16
-10
hbp_bg.png
egret/resource/assets/hbPrize/hbp_bg.png
+0
-0
default.res.json
egret/resource/default.res.json
+6
-1
FailSkin.exml
egret/resource/skins/FailSkin.exml
+1
-1
HbPrizeSkin.exml
egret/resource/skins/HbPrizeSkin.exml
+4
-3
PrizeSkin.exml
egret/resource/skins/PrizeSkin.exml
+1
-1
MainScene.ts
egret/src/mainScene/MainScene.ts
+1
-1
FailedPanel.ts
egret/src/panels/FailedPanel.ts
+1
-1
PropGuide.ts
egret/src/something/uis/PropGuide.ts
+2
-2
No files found.
egret/resource/assets/hbPrize/hbp_bg.png
0 → 100644
View file @
d1542273
18.8 KB
egret/resource/default.res.json
View file @
d1542273
...
@@ -177,7 +177,7 @@
...
@@ -177,7 +177,7 @@
"name"
:
"hbcuttime"
"name"
:
"hbcuttime"
},
},
{
{
"keys"
:
"hbPrize_bg_png,hbPrize_btn_png,hbPrize_money_png,hbPrize_blood_png,hbPrize_icon1_png,hbPrize_icon3_png,hbPrize_icon2_png"
,
"keys"
:
"hbPrize_bg_png,hbPrize_btn_png,hbPrize_money_png,hbPrize_blood_png,hbPrize_icon1_png,hbPrize_icon3_png,hbPrize_icon2_png
,hbp_bg_png
"
,
"name"
:
"hbprize"
"name"
:
"hbprize"
},
},
{
{
...
@@ -5381,6 +5381,11 @@
...
@@ -5381,6 +5381,11 @@
"url"
:
"assets/sign/lightdi.png"
,
"url"
:
"assets/sign/lightdi.png"
,
"type"
:
"image"
,
"type"
:
"image"
,
"name"
:
"lightdi_png"
"name"
:
"lightdi_png"
},
{
"url"
:
"assets/hbPrize/hbp_bg.png"
,
"type"
:
"image"
,
"name"
:
"hbp_bg_png"
}
}
]
]
}
}
\ No newline at end of file
egret/resource/skins/FailSkin.exml
View file @
d1542273
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<e:Skin
class=
"FailSkin"
width=
"750"
height=
"1206"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
>
<e:Skin
class=
"FailSkin"
width=
"750"
height=
"1206"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
>
<e:Component
y=
"7
72.52"
skinName=
"ADSmallSkin"
horizontalCenter=
"0"
visible=
"false"
/>
<e:Component
y=
"7
41"
skinName=
"ADSmallSkin"
horizontalCenter=
"0.5"
visible=
"false"
/>
<e:Image
source=
"闯关失败_png"
y=
"-94"
horizontalCenter=
"-4.5"
/>
<e:Image
source=
"闯关失败_png"
y=
"-94"
horizontalCenter=
"-4.5"
/>
<e:Label
id=
"lvTxt"
text=
"关卡1"
y=
"190"
fontFamily=
"FZY3JW"
size=
"42"
textColor=
"0xffffff"
strokeColor=
"0xff8339"
<e:Label
id=
"lvTxt"
text=
"关卡1"
y=
"190"
fontFamily=
"FZY3JW"
size=
"42"
textColor=
"0xffffff"
strokeColor=
"0xff8339"
stroke=
"3"
horizontalCenter=
"0"
/>
stroke=
"3"
horizontalCenter=
"0"
/>
...
...
egret/resource/skins/HbPrizeSkin.exml
View file @
d1542273
...
@@ -4,9 +4,10 @@
...
@@ -4,9 +4,10 @@
<e:Image
id=
"combglight"
source=
"combglight_png"
y=
"385.32"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<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
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
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=
"img"
width=
"518"
height=
"230"
source=
"{data.url}"
y=
"516.3"
horizontalCenter=
"0"
/>
<e:Image
id=
"prop"
scaleX=
"1"
scaleY=
"1"
horizontalCenter=
"-70.5"
source=
"taskPrize_money_png"
verticalCenter=
"15.5"
/>
<e:Image
id=
"prop"
scaleX=
"1"
scaleY=
"1"
horizontalCenter=
"-63.5"
source=
"taskPrize_money_png"
verticalCenter=
"15.5"
/>
<e:Group
id=
"numsgroup"
x=
"376.42"
anchorOffsetX=
"0"
width=
"188"
anchorOffsetY=
"0"
height=
"62"
verticalCenter=
"15.5"
>
<e:Image
source=
"hbp_bg_png"
y=
"517.96"
horizontalCenter=
"0"
/>
<e:Group
id=
"numsgroup"
x=
"384.4"
anchorOffsetX=
"0"
width=
"188"
anchorOffsetY=
"0"
height=
"62"
verticalCenter=
"16"
>
<e:Label
id=
"nums"
text=
"×8"
size=
"48"
verticalCenter=
"0"
verticalAlign=
"middle"
textAlign=
"center"
fontFamily=
"FZY3JW"
textColor=
"0xC17343"
left=
"0"
bold=
"true"
/>
<e:Label
id=
"nums"
text=
"×8"
size=
"48"
verticalCenter=
"0"
verticalAlign=
"middle"
textAlign=
"center"
fontFamily=
"FZY3JW"
textColor=
"0xC17343"
left=
"0"
bold=
"true"
/>
</e:Group>
</e:Group>
<e:Image
id=
"money"
source=
"signprize元宝_png"
y=
"491.4"
scaleX=
"0.8"
scaleY=
"0.8"
horizontalCenter=
"-3"
visible=
"false"
/>
<e:Image
id=
"money"
source=
"signprize元宝_png"
y=
"491.4"
scaleX=
"0.8"
scaleY=
"0.8"
horizontalCenter=
"-3"
visible=
"false"
/>
...
...
egret/resource/skins/PrizeSkin.exml
View file @
d1542273
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
<e:Group
id=
"propGroup"
y=
"733.77"
horizontalCenter=
"0"
>
<e:Group
id=
"propGroup"
y=
"733.77"
horizontalCenter=
"0"
>
<e:Image
source=
"物品奖励_png"
x=
"0"
y=
"0"
/>
<e:Image
source=
"物品奖励_png"
x=
"0"
y=
"0"
/>
<e:Label
id=
"nums"
text=
"×8"
size=
"48"
verticalAlign=
"middle"
textAlign=
"left"
fontFamily=
"FZY3JW"
textColor=
"0xC17343"
bold=
"true"
anchorOffsetX=
"0"
width=
"205"
x=
"278"
y=
"102.24"
/>
<e:Label
id=
"nums"
text=
"×8"
size=
"48"
verticalAlign=
"middle"
textAlign=
"left"
fontFamily=
"FZY3JW"
textColor=
"0xC17343"
bold=
"true"
anchorOffsetX=
"0"
width=
"205"
x=
"278"
y=
"102.24"
/>
<e:Image
id=
"prop"
scaleY=
"0.8"
scaleX=
"0.8"
x=
"173"
y=
"8
0
.24"
source=
"prize_blood_png"
/>
<e:Image
id=
"prop"
scaleY=
"0.8"
scaleX=
"0.8"
x=
"173"
y=
"8
1
.24"
source=
"prize_blood_png"
/>
</e:Group>
</e:Group>
<e:Image
id=
"img"
width=
"480"
height=
"214"
source=
"{data.url}"
horizontalCenter=
"0"
y=
"575.76"
visible=
"false"
/>
<e:Image
id=
"img"
width=
"480"
height=
"214"
source=
"{data.url}"
horizontalCenter=
"0"
y=
"575.76"
visible=
"false"
/>
<e:Button
id=
"closeBtn"
label=
""
x=
"594.5"
y=
"456.01"
>
<e:Button
id=
"closeBtn"
label=
""
x=
"594.5"
y=
"456.01"
>
...
...
egret/src/mainScene/MainScene.ts
View file @
d1542273
...
@@ -1403,7 +1403,7 @@ export default class MainScene extends Scene {
...
@@ -1403,7 +1403,7 @@ export default class MainScene extends Scene {
this
.
stepCircle
=
new
egret
.
Shape
();
this
.
stepCircle
=
new
egret
.
Shape
();
this
.
stepCircle
.
touchEnabled
=
true
;
this
.
stepCircle
.
touchEnabled
=
true
;
this
.
stepCircle
.
graphics
.
beginFill
(
0xff0000
,
0
);
this
.
stepCircle
.
graphics
.
beginFill
(
0xff0000
,
0
);
this
.
stepCircle
.
graphics
.
drawCircle
(
181
,
1
25
,
9
0
);
this
.
stepCircle
.
graphics
.
drawCircle
(
181
,
1
05
,
8
0
);
this
.
stepCircle
.
graphics
.
endFill
();
this
.
stepCircle
.
graphics
.
endFill
();
this
.
stepCircle
.
addEventListener
(
egret
.
TouchEvent
.
TOUCH_TAP
,
()
=>
{
this
.
stepCircle
.
addEventListener
(
egret
.
TouchEvent
.
TOUCH_TAP
,
()
=>
{
this
.
sendPropUse
(
PropType
.
CHANCE_NUM
)
this
.
sendPropUse
(
PropType
.
CHANCE_NUM
)
...
...
egret/src/panels/FailedPanel.ts
View file @
d1542273
...
@@ -22,7 +22,7 @@ export default class FailedPanel extends Panel {
...
@@ -22,7 +22,7 @@ export default class FailedPanel extends Panel {
},
this
);
},
this
);
addRankFriendList
(
68
,
7
72.52
,
this
);
addRankFriendList
(
68
,
7
41
,
this
);
}
}
onTouchTap_closeBtn
()
{
onTouchTap_closeBtn
()
{
...
...
egret/src/something/uis/PropGuide.ts
View file @
d1542273
...
@@ -35,7 +35,7 @@ export class PropGuide extends egret.DisplayObjectContainer {
...
@@ -35,7 +35,7 @@ export class PropGuide extends egret.DisplayObjectContainer {
text
.
textColor
=
0xffffff
;
text
.
textColor
=
0xffffff
;
text
.
size
=
20
;
text
.
size
=
20
;
text
.
x
=
(
750
-
500
)
/
2
;
text
.
x
=
(
750
-
500
)
/
2
;
text
.
y
=
offsetY
-
92
;
text
.
y
=
offsetY
-
80
;
text
.
textAlign
=
egret
.
HorizontalAlign
.
CENTER
;
text
.
textAlign
=
egret
.
HorizontalAlign
.
CENTER
;
text
.
width
=
500
;
text
.
width
=
500
;
this
.
addChild
(
text
);
this
.
addChild
(
text
);
...
@@ -72,7 +72,7 @@ export class PropGuide extends egret.DisplayObjectContainer {
...
@@ -72,7 +72,7 @@ export class PropGuide extends egret.DisplayObjectContainer {
this
.
bg
.
graphics
.
lineTo
(
750
,
1624
);
this
.
bg
.
graphics
.
lineTo
(
750
,
1624
);
this
.
bg
.
graphics
.
lineTo
(
0
,
1624
);
this
.
bg
.
graphics
.
lineTo
(
0
,
1624
);
this
.
bg
.
graphics
.
lineTo
(
0
,
0
);
this
.
bg
.
graphics
.
lineTo
(
0
,
0
);
this
.
bg
.
graphics
.
drawArc
(
181
,
1
25
,
9
0
,
0
,
Math
.
PI
*
2
,
true
)
this
.
bg
.
graphics
.
drawArc
(
181
,
1
05
,
8
0
,
0
,
Math
.
PI
*
2
,
true
)
this
.
bg
.
graphics
.
endFill
();
this
.
bg
.
graphics
.
endFill
();
this
.
msgTxt
.
text
=
"点击左上方步数,可为闯关时增加额外5次步数"
;
this
.
msgTxt
.
text
=
"点击左上方步数,可为闯关时增加额外5次步数"
;
// this.msgTxt.x = 320;
// this.msgTxt.x = 320;
...
...
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