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
4f01bfbb
Commit
4f01bfbb
authored
Feb 02, 2020
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
816df48c
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
80 additions
and
71 deletions
+80
-71
icon.png
design/丛林/icon.png
+0
-0
icon.png
design/新春/icon.png
+0
-0
index.html
egret/index.html
+2
-1
icon.png
egret/resource/assets/map/icon.png
+0
-0
MapBottomSkin.exml
egret/resource/skins/MapBottomSkin.exml
+27
-23
MapRepeatSkin.exml
egret/resource/skins/MapRepeatSkin.exml
+29
-29
MapTopSkin.exml
egret/resource/skins/MapTopSkin.exml
+17
-13
MapBottomPart.ts
egret/src/mapScene/MapBottomPart.ts
+1
-1
MapRpeatPart.ts
egret/src/mapScene/MapRpeatPart.ts
+3
-3
MapTopPart.ts
egret/src/mapScene/MapTopPart.ts
+1
-1
No files found.
design/丛林/icon.png
0 → 100755
View file @
4f01bfbb
9.52 KB
design/新春/icon.png
0 → 100644
View file @
4f01bfbb
8.34 KB
egret/index.html
View file @
4f01bfbb
...
...
@@ -136,7 +136,8 @@
];
// localStorage.clear();
window
[
'imgver'
]
=
'11112'
;
window
[
'total_level'
]
=
10
+
10
*
37
;
/// TODO 14 不能变 总数必须大于总的关卡数
//top 7 ,repeat 13 , bottom 12
window
[
'total_level'
]
=
19
+
13
*
28
;
window
[
'last_level'
]
=
375
;
//必须大于等于total_level ///TODO 标记最后一关,等于最后一关即可
...
...
egret/resource/assets/map/icon.png
100644 → 100755
View replaced file @
816df48c
View file @
4f01bfbb
8.34 KB
|
W:
|
H:
9.52 KB
|
W:
|
H:
2-up
Swipe
Onion skin
egret/resource/skins/MapBottomSkin.exml
View file @
4f01bfbb
<?xml version="1.0" encoding="utf-8"?>
<e:Skin
class=
"MapBottomSkin"
width=
"750"
height=
"
815
"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
>
<e:Skin
class=
"MapBottomSkin"
width=
"750"
height=
"
1530
"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
>
<e:Image
source=
"map3_jpg"
x=
"0"
y=
"0"
/>
<e:Group
x=
"
154.19"
y=
"88.2
4"
id=
"icon0"
>
<e:Group
x=
"
389"
y=
"4
4"
id=
"icon0"
>
<e:Image
source=
"icon_png"
x=
"0"
y=
"0"
/>
<e:BitmapLabel
id=
"txt0"
width=
"76"
x=
"1
0"
y=
"13
"
text=
"60"
font=
"nums_fnt"
textAlign=
"center"
/>
<e:BitmapLabel
id=
"txt0"
width=
"76"
x=
"1
2"
y=
"18.69
"
text=
"60"
font=
"nums_fnt"
textAlign=
"center"
/>
</e:Group>
<e:Group
id=
"icon1"
x=
"
185.3"
y=
"227.23
"
>
<e:Group
id=
"icon1"
x=
"
541.97"
y=
"148.44
"
>
<e:Image
source=
"icon_png"
x=
"0"
y=
"0"
/>
<e:BitmapLabel
id=
"txt1"
width=
"76"
x=
"1
0"
y=
"13
"
text=
"61"
font=
"nums_fnt"
textAlign=
"center"
/>
<e:BitmapLabel
id=
"txt1"
width=
"76"
x=
"1
2"
y=
"18.69
"
text=
"61"
font=
"nums_fnt"
textAlign=
"center"
/>
</e:Group>
<e:Group
x=
"
246.57"
y=
"351.64
"
id=
"icon2"
>
<e:Group
x=
"
524"
y=
"331
"
id=
"icon2"
>
<e:Image
source=
"icon_png"
x=
"0"
y=
"0"
/>
<e:BitmapLabel
id=
"txt2"
width=
"76"
x=
"
8"
y=
"13
"
text=
"62"
font=
"nums_fnt"
textAlign=
"center"
/>
<e:BitmapLabel
id=
"txt2"
width=
"76"
x=
"
12"
y=
"18.69
"
text=
"62"
font=
"nums_fnt"
textAlign=
"center"
/>
</e:Group>
<e:Group
x=
"3
68.33"
y=
"502.21
"
id=
"icon3"
>
<e:Group
x=
"3
29.94"
y=
"403
"
id=
"icon3"
>
<e:Image
source=
"icon_png"
x=
"0"
y=
"0"
/>
<e:BitmapLabel
id=
"txt3"
width=
"76"
x=
"1
0"
y=
"13
"
text=
"63"
font=
"nums_fnt"
textAlign=
"center"
/>
<e:BitmapLabel
id=
"txt3"
width=
"76"
x=
"1
2"
y=
"18.69
"
text=
"63"
font=
"nums_fnt"
textAlign=
"center"
/>
</e:Group>
<e:Group
x=
"
483"
y=
"592"
id=
"icon4"
visible=
"false
"
>
<e:Group
x=
"
83"
y=
"513"
id=
"icon4
"
>
<e:Image
source=
"icon_png"
x=
"0"
y=
"0"
/>
<e:BitmapLabel
id=
"txt4"
width=
"76"
x=
"1
0"
y=
"13
"
text=
"64"
font=
"nums_fnt"
textAlign=
"center"
/>
<e:BitmapLabel
id=
"txt4"
width=
"76"
x=
"1
2"
y=
"18.69
"
text=
"64"
font=
"nums_fnt"
textAlign=
"center"
/>
</e:Group>
<e:Group
x=
"
562"
y=
"746"
id=
"icon5"
visible=
"false
"
>
<e:Group
x=
"
304"
y=
"660"
id=
"icon5
"
>
<e:Image
source=
"icon_png"
x=
"0"
y=
"0"
/>
<e:BitmapLabel
id=
"txt5"
width=
"76"
x=
"1
0"
y=
"13
"
text=
"65"
font=
"nums_fnt"
textAlign=
"center"
/>
<e:BitmapLabel
id=
"txt5"
width=
"76"
x=
"1
2"
y=
"18.69
"
text=
"65"
font=
"nums_fnt"
textAlign=
"center"
/>
</e:Group>
<e:Group
x=
"
442.01"
y=
"902.69"
id=
"icon6"
visible=
"false
"
>
<e:Group
x=
"
297.01"
y=
"829.69"
id=
"icon6
"
>
<e:Image
source=
"icon_png"
x=
"0"
y=
"0"
/>
<e:BitmapLabel
id=
"txt6"
width=
"76"
x=
"1
0"
y=
"13
"
text=
"66"
font=
"nums_fnt"
textAlign=
"center"
/>
<e:BitmapLabel
id=
"txt6"
width=
"76"
x=
"1
2"
y=
"18.69
"
text=
"66"
font=
"nums_fnt"
textAlign=
"center"
/>
</e:Group>
<e:Group
x=
"
453.01"
y=
"892.69"
id=
"icon7"
visible=
"false
"
>
<e:Group
x=
"
149.01"
y=
"949.69"
id=
"icon7
"
>
<e:Image
source=
"icon_png"
x=
"0"
y=
"0"
/>
<e:BitmapLabel
id=
"txt7"
width=
"76"
x=
"1
0"
y=
"13
"
text=
"67"
font=
"nums_fnt"
textAlign=
"center"
/>
<e:BitmapLabel
id=
"txt7"
width=
"76"
x=
"1
2"
y=
"18.69
"
text=
"67"
font=
"nums_fnt"
textAlign=
"center"
/>
</e:Group>
<e:Group
x=
"3
09.01"
y=
"1052.69"
id=
"icon8"
visible=
"false
"
>
<e:Group
x=
"3
17.01"
y=
"1052.69"
id=
"icon8
"
>
<e:Image
source=
"icon_png"
x=
"0"
y=
"0"
/>
<e:BitmapLabel
id=
"txt8"
width=
"76"
x=
"1
0"
y=
"13
"
text=
"68"
font=
"nums_fnt"
textAlign=
"center"
/>
<e:BitmapLabel
id=
"txt8"
width=
"76"
x=
"1
2"
y=
"18.69
"
text=
"68"
font=
"nums_fnt"
textAlign=
"center"
/>
</e:Group>
<e:Group
x=
"
95.01"
y=
"1145.69"
id=
"icon9"
visible=
"false
"
>
<e:Group
x=
"
507.01"
y=
"1148.69"
id=
"icon9
"
>
<e:Image
source=
"icon_png"
x=
"0"
y=
"0"
/>
<e:BitmapLabel
id=
"txt9"
width=
"76"
x=
"1
0"
y=
"13
"
text=
"69"
font=
"nums_fnt"
textAlign=
"center"
/>
<e:BitmapLabel
id=
"txt9"
width=
"76"
x=
"1
2"
y=
"18.69
"
text=
"69"
font=
"nums_fnt"
textAlign=
"center"
/>
</e:Group>
<e:Group
x=
"
202.01"
y=
"1255.69"
id=
"icon10"
visible=
"false
"
>
<e:Group
x=
"
377.01"
y=
"1209.69"
id=
"icon10
"
>
<e:Image
source=
"icon_png"
x=
"0"
y=
"0"
/>
<e:BitmapLabel
id=
"txt10"
width=
"76"
x=
"10"
y=
"13"
text=
"70"
font=
"nums_fnt"
textAlign=
"center"
/>
<e:BitmapLabel
id=
"txt10"
width=
"76"
x=
"12"
y=
"18.69"
text=
"70"
font=
"nums_fnt"
textAlign=
"center"
/>
</e:Group>
<e:Group
x=
"252.01"
y=
"1282.69"
id=
"icon11"
>
<e:Image
source=
"icon_png"
x=
"0"
y=
"0"
/>
<e:BitmapLabel
id=
"txt11"
width=
"76"
x=
"12"
y=
"18.69"
text=
"71"
font=
"nums_fnt"
textAlign=
"center"
/>
</e:Group>
</e:Skin>
\ No newline at end of file
egret/resource/skins/MapRepeatSkin.exml
View file @
4f01bfbb
<?xml version="1.0" encoding="utf-8"?>
<e:Skin
class=
"MapRepeatPartSkin"
width=
"750"
height=
"1
299
"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
>
<e:Skin
class=
"MapRepeatPartSkin"
width=
"750"
height=
"1
477
"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
>
<e:Image
source=
"map2_jpg"
/>
<e:Group
x=
"
168.09"
y=
"42.07
"
id=
"icon0"
>
<e:Group
x=
"
351"
y=
"26
"
id=
"icon0"
>
<e:Image
source=
"icon_png"
x=
"0"
y=
"0"
/>
<e:BitmapLabel
id=
"txt0"
width=
"76"
x=
"1
0"
y=
"13
"
text=
"1"
font=
"nums_fnt"
textAlign=
"center"
/>
<e:BitmapLabel
id=
"txt0"
width=
"76"
x=
"1
2"
y=
"18.69
"
text=
"1"
font=
"nums_fnt"
textAlign=
"center"
/>
</e:Group>
<e:Group
x=
"1
77.34"
y=
"184.34
"
id=
"icon1"
>
<e:Group
x=
"1
96"
y=
"158
"
id=
"icon1"
>
<e:Image
source=
"icon_png"
x=
"0"
y=
"0"
/>
<e:BitmapLabel
id=
"txt1"
width=
"76"
x=
"1
0"
y=
"13
"
text=
"2"
font=
"nums_fnt"
textAlign=
"center"
/>
<e:BitmapLabel
id=
"txt1"
width=
"76"
x=
"1
2"
y=
"18.69
"
text=
"2"
font=
"nums_fnt"
textAlign=
"center"
/>
</e:Group>
<e:Group
x=
"
251.33"
y=
"321.19
"
id=
"icon2"
>
<e:Group
x=
"
143"
y=
"302
"
id=
"icon2"
>
<e:Image
source=
"icon_png"
x=
"0"
y=
"0"
/>
<e:BitmapLabel
id=
"txt2"
width=
"76"
x=
"1
0"
y=
"12
"
text=
"3"
font=
"nums_fnt"
textAlign=
"center"
/>
<e:BitmapLabel
id=
"txt2"
width=
"76"
x=
"1
2"
y=
"18.69
"
text=
"3"
font=
"nums_fnt"
textAlign=
"center"
/>
</e:Group>
<e:Group
x=
"
398.49"
y=
"419.24
"
id=
"icon3"
>
<e:Group
x=
"
235"
y=
"435
"
id=
"icon3"
>
<e:Image
source=
"icon_png"
x=
"0"
y=
"0"
/>
<e:BitmapLabel
id=
"txt3"
width=
"76"
x=
"1
0"
y=
"12
"
text=
"4"
font=
"nums_fnt"
textAlign=
"center"
/>
<e:BitmapLabel
id=
"txt3"
width=
"76"
x=
"1
2"
y=
"18.69
"
text=
"4"
font=
"nums_fnt"
textAlign=
"center"
/>
</e:Group>
<e:Group
x=
"
521.94"
y=
"553.06
"
id=
"icon4"
>
<e:Group
x=
"
348"
y=
"547
"
id=
"icon4"
>
<e:Image
source=
"icon_png"
x=
"0"
y=
"0"
/>
<e:BitmapLabel
id=
"txt4"
width=
"76"
x=
"1
0"
y=
"12
"
text=
"5"
font=
"nums_fnt"
textAlign=
"center"
/>
<e:BitmapLabel
id=
"txt4"
width=
"76"
x=
"1
2"
y=
"18.69
"
text=
"5"
font=
"nums_fnt"
textAlign=
"center"
/>
</e:Group>
<e:Group
x=
"4
21.13"
y=
"702.39
"
id=
"icon5"
>
<e:Group
x=
"4
99"
y=
"674
"
id=
"icon5"
>
<e:Image
source=
"icon_png"
x=
"0"
y=
"0"
/>
<e:BitmapLabel
id=
"txt5"
width=
"76"
x=
"1
0"
y=
"12
"
text=
"6"
font=
"nums_fnt"
textAlign=
"center"
/>
<e:BitmapLabel
id=
"txt5"
width=
"76"
x=
"1
2"
y=
"18.69
"
text=
"6"
font=
"nums_fnt"
textAlign=
"center"
/>
</e:Group>
<e:Group
x=
"
267.73"
y=
"784.9
1"
id=
"icon6"
>
<e:Group
x=
"
390"
y=
"82
1"
id=
"icon6"
>
<e:Image
source=
"icon_png"
x=
"0"
y=
"0"
/>
<e:BitmapLabel
id=
"txt6"
width=
"76"
x=
"1
0"
y=
"12
"
text=
"7"
font=
"nums_fnt"
textAlign=
"center"
/>
<e:BitmapLabel
id=
"txt6"
width=
"76"
x=
"1
2"
y=
"18.69
"
text=
"7"
font=
"nums_fnt"
textAlign=
"center"
/>
</e:Group>
<e:Group
x=
"
399.66"
y=
"915.3
"
id=
"icon7"
>
<e:Group
x=
"
218"
y=
"897
"
id=
"icon7"
>
<e:Image
source=
"icon_png"
x=
"0"
y=
"0"
/>
<e:BitmapLabel
id=
"txt7"
width=
"76"
x=
"1
0"
y=
"12
"
text=
"8"
font=
"nums_fnt"
textAlign=
"center"
/>
<e:BitmapLabel
id=
"txt7"
width=
"76"
x=
"1
2"
y=
"18.69
"
text=
"8"
font=
"nums_fnt"
textAlign=
"center"
/>
</e:Group>
<e:Group
x=
"
447.61"
y=
"1032.6
"
id=
"icon8"
>
<e:Group
x=
"
28"
y=
"969
"
id=
"icon8"
>
<e:Image
source=
"icon_png"
x=
"0"
y=
"0"
/>
<e:BitmapLabel
id=
"txt8"
width=
"76"
x=
"1
0"
y=
"12
"
text=
"9"
font=
"nums_fnt"
textAlign=
"center"
/>
<e:BitmapLabel
id=
"txt8"
width=
"76"
x=
"1
2"
y=
"18.69
"
text=
"9"
font=
"nums_fnt"
textAlign=
"center"
/>
</e:Group>
<e:Group
x=
"
326.36"
y=
"1136.27
"
id=
"icon9"
>
<e:Group
x=
"
237"
y=
"1072
"
id=
"icon9"
>
<e:Image
source=
"icon_png"
x=
"0"
y=
"0"
/>
<e:BitmapLabel
id=
"txt9"
width=
"76"
x=
"1
0"
y=
"12
"
text=
"10"
font=
"nums_fnt"
textAlign=
"center"
/>
<e:BitmapLabel
id=
"txt9"
width=
"76"
x=
"1
2"
y=
"18.69
"
text=
"10"
font=
"nums_fnt"
textAlign=
"center"
/>
</e:Group>
<e:Group
x=
"
408"
y=
"1249.12"
id=
"icon10"
visible=
"false
"
>
<e:Group
x=
"
377"
y=
"1137"
id=
"icon10
"
>
<e:Image
source=
"icon_png"
x=
"0"
y=
"0"
/>
<e:BitmapLabel
width=
"76"
x=
"1
0"
y=
"12
"
text=
"11"
font=
"nums_fnt"
textAlign=
"center"
id=
"txt10"
/>
<e:BitmapLabel
width=
"76"
x=
"1
2"
y=
"18.69
"
text=
"11"
font=
"nums_fnt"
textAlign=
"center"
id=
"txt10"
/>
</e:Group>
<e:Group
x=
"
348"
y=
"1379.76"
id=
"icon11"
visible=
"false
"
>
<e:Group
x=
"
508"
y=
"1254"
id=
"icon11
"
>
<e:Image
source=
"icon_png"
x=
"0"
y=
"0"
/>
<e:BitmapLabel
width=
"76"
x=
"1
0"
y=
"12
"
text=
"12"
font=
"nums_fnt"
textAlign=
"center"
id=
"txt11"
/>
<e:BitmapLabel
width=
"76"
x=
"1
2"
y=
"18.69
"
text=
"12"
font=
"nums_fnt"
textAlign=
"center"
id=
"txt11"
/>
</e:Group>
<e:Group
x=
"3
24"
y=
"1527.61"
id=
"icon12"
visible=
"false
"
>
<e:Image
source=
"icon_png"
x=
"
-1
"
y=
"0"
/>
<e:BitmapLabel
width=
"76"
x=
"1
0"
y=
"13
"
text=
"13"
font=
"nums_fnt"
textAlign=
"center"
id=
"txt12"
/>
<e:Group
x=
"3
59"
y=
"1367"
id=
"icon12
"
>
<e:Image
source=
"icon_png"
x=
"
0
"
y=
"0"
/>
<e:BitmapLabel
width=
"76"
x=
"1
2"
y=
"18.69
"
text=
"13"
font=
"nums_fnt"
textAlign=
"center"
id=
"txt12"
/>
</e:Group>
<e:Image
id=
"animal1"
source=
"狮子_png"
x=
"
201.68"
y=
"651.02"
anchorOffsetX=
"0"
width=
"152.81"
anchorOffsetY=
"0"
height=
"132.72
"
visible=
"false"
/>
<e:Image
id=
"animal1"
source=
"狮子_png"
x=
"
188"
y=
"607
"
visible=
"false"
/>
<e:Image
id=
"animal2"
source=
"animal1_png"
x=
"232"
y=
"567.5"
visible=
"false"
/>
</e:Skin>
\ No newline at end of file
egret/resource/skins/MapTopSkin.exml
View file @
4f01bfbb
<?xml version="1.0" encoding="utf-8"?>
<e:Skin
class=
"MapTop"
width=
"750"
height=
"12
67
"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
>
<e:Skin
class=
"MapTop"
width=
"750"
height=
"12
40
"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
>
<e:Image
source=
"map1_jpg"
x=
"0"
y=
"0"
/>
<e:Group
x=
"3
90.43"
y=
"586.94
"
id=
"icon0"
>
<e:Group
x=
"3
15"
y=
"492
"
id=
"icon0"
>
<e:Image
source=
"icon_png"
x=
"0"
y=
"0"
/>
<e:BitmapLabel
width=
"76"
x=
"1
0"
y=
"12
"
text=
"1"
font=
"nums_fnt"
textAlign=
"center"
/>
<e:BitmapLabel
width=
"76"
x=
"1
2"
y=
"18.69
"
text=
"1"
font=
"nums_fnt"
textAlign=
"center"
/>
</e:Group>
<e:Group
id=
"icon1"
x=
"
502.12"
y=
"649.24
"
>
<e:Group
id=
"icon1"
x=
"
196"
y=
"550.35
"
>
<e:Image
source=
"icon_png"
x=
"0"
y=
"0"
/>
<e:BitmapLabel
width=
"76"
x=
"1
0"
y=
"12
"
text=
"2"
font=
"nums_fnt"
textAlign=
"center"
/>
<e:BitmapLabel
width=
"76"
x=
"1
2"
y=
"18.69
"
text=
"2"
font=
"nums_fnt"
textAlign=
"center"
/>
</e:Group>
<e:Group
x=
"
491.24"
y=
"763.82
"
id=
"icon2"
>
<e:Group
x=
"
142"
y=
"744
"
id=
"icon2"
>
<e:Image
source=
"icon_png"
x=
"0"
y=
"0"
/>
<e:BitmapLabel
width=
"76"
x=
"1
0"
y=
"12
"
text=
"3"
font=
"nums_fnt"
textAlign=
"center"
/>
<e:BitmapLabel
width=
"76"
x=
"1
2"
y=
"18.69
"
text=
"3"
font=
"nums_fnt"
textAlign=
"center"
/>
</e:Group>
<e:Group
x=
"3
74.1"
y=
"927.34
"
id=
"icon3"
>
<e:Group
x=
"3
60"
y=
"803
"
id=
"icon3"
>
<e:Image
source=
"icon_png"
x=
"0"
y=
"0"
/>
<e:BitmapLabel
width=
"76"
x=
"1
0"
y=
"12
"
text=
"4"
font=
"nums_fnt"
textAlign=
"center"
/>
<e:BitmapLabel
width=
"76"
x=
"1
2"
y=
"18.69
"
text=
"4"
font=
"nums_fnt"
textAlign=
"center"
/>
</e:Group>
<e:Group
x=
"
346.32"
y=
"1032.28
"
id=
"icon4"
>
<e:Group
x=
"
551"
y=
"810
"
id=
"icon4"
>
<e:Image
source=
"icon_png"
x=
"0"
y=
"0"
/>
<e:BitmapLabel
width=
"76"
x=
"1
0"
y=
"12
"
text=
"5"
font=
"nums_fnt"
textAlign=
"center"
/>
<e:BitmapLabel
width=
"76"
x=
"1
2"
y=
"18.69
"
text=
"5"
font=
"nums_fnt"
textAlign=
"center"
/>
</e:Group>
<e:Group
x=
"
271.76"
y=
"1168.39
"
id=
"icon5"
>
<e:Group
x=
"
440"
y=
"975
"
id=
"icon5"
>
<e:Image
source=
"icon_png"
x=
"0"
y=
"0"
/>
<e:BitmapLabel
width=
"76"
x=
"10"
y=
"12"
text=
"6"
font=
"nums_fnt"
textAlign=
"center"
/>
<e:BitmapLabel
width=
"76"
x=
"12"
y=
"18.69"
text=
"6"
font=
"nums_fnt"
textAlign=
"center"
/>
</e:Group>
<e:Group
x=
"297.01"
y=
"1089.69"
id=
"icon6"
>
<e:Image
source=
"icon_png"
x=
"0"
y=
"0"
/>
<e:BitmapLabel
width=
"76"
x=
"12"
y=
"18.69"
text=
"7"
font=
"nums_fnt"
textAlign=
"center"
/>
</e:Group>
</e:Skin>
\ No newline at end of file
egret/src/mapScene/MapBottomPart.ts
View file @
4f01bfbb
...
...
@@ -8,7 +8,7 @@ import MapRpeatPart from "./MapRpeatPart";
import
{
getRepeatCount
}
from
"../startScene/StartScene"
;
export
default
class
MapBottomPart
extends
ComponentBase
{
static
LEVEL_NUMS
=
4
;
static
LEVEL_NUMS
=
12
;
getTxt
(
i
):
eui
.
BitmapLabel
{
return
this
[
`txt
${
i
}
`
];
}
start
({
repeatHeight
,
topHeight
})
{
super
.
start
();
...
...
egret/src/mapScene/MapRpeatPart.ts
View file @
4f01bfbb
...
...
@@ -6,7 +6,7 @@ import setGray from "../setGray";
import
{
showToast
}
from
"../../libs/new_wx/ctrls/toastCtrl"
;
export
default
class
MapRpeatPart
extends
ComponentBase
{
static
LEVEL_NUMS
=
1
0
;
static
LEVEL_NUMS
=
1
3
;
private
_index
;
private
_topHeight
;
constructor
(
i
,
topHeight
)
{
...
...
@@ -46,8 +46,8 @@ export default class MapRpeatPart extends ComponentBase {
// console.log(icon['visibleY'] );
}
//
this['animal1'].visible = this._index % 2;
//
this['animal2'].visible = !this['animal1'].visible;
this
[
'animal1'
].
visible
=
this
.
_index
%
2
;
this
[
'animal2'
].
visible
=
!
this
[
'animal1'
].
visible
;
}
getIcon
(
i
)
{
return
this
[
`icon
${
i
}
`
];
}
...
...
egret/src/mapScene/MapTopPart.ts
View file @
4f01bfbb
...
...
@@ -4,7 +4,7 @@ import MapStarComp from "./MapStarComp";
import
{
createData
}
from
"../startScene/StartScene"
;
export
default
class
MapTopPart
extends
ComponentBase
{
static
LEVEL_NUMS
=
6
;
static
LEVEL_NUMS
=
7
;
start
()
{
super
.
start
();
for
(
let
i
=
0
;
i
<
MapTopPart
.
LEVEL_NUMS
;
i
++
)
{
...
...
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