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
4a44ece8
Commit
4a44ece8
authored
Nov 04, 2019
by
邱旭
Browse files
Options
Browse Files
Download
Plain Diff
1
parents
47abbef1
cd9499b1
Changes
38
Hide whitespace changes
Inline
Side-by-side
Showing
38 changed files
with
342 additions
and
153 deletions
+342
-153
index.html
egret/index.html
+5
-5
MainBase.ts
egret/libs/new_wx/MainBase.ts
+2
-0
Toast2.ts
egret/libs/new_wx/components/Toast2.ts
+9
-2
map.tmproject
egret/resource/TextureMerger/map.tmproject
+1
-1
sign.tmproject
egret/resource/TextureMerger/sign.tmproject
+1
-1
nums3.fnt
egret/resource/assets/common/nums3.fnt
+11
-0
nums3.png
egret/resource/assets/common/nums3.png
+0
-0
icongray.png
egret/resource/assets/map/icongray.png
+0
-0
有星星.png
egret/resource/assets/map/有星星.png
+0
-0
有星星2.png
egret/resource/assets/map/有星星2.png
+0
-0
有星星3.png
egret/resource/assets/map/有星星3.png
+0
-0
sign_quan12.png
egret/resource/assets/sign/sign_quan12.png
+0
-0
sign_quan16.png
egret/resource/assets/sign/sign_quan16.png
+0
-0
sign_quan28.png
egret/resource/assets/sign/sign_quan28.png
+0
-0
sign_quan8.png
egret/resource/assets/sign/sign_quan8.png
+0
-0
default.res.json
egret/resource/default.res.json
+47
-2
SignItemSkin.exml
egret/resource/skins/SignItemSkin.exml
+5
-0
StarSkin.exml
egret/resource/skins/StarSkin.exml
+3
-2
GuideCon.ts
egret/src/mapScene/GuideCon.ts
+1
-1
MapBottomPart.ts
egret/src/mapScene/MapBottomPart.ts
+5
-5
MapRpeatPart.ts
egret/src/mapScene/MapRpeatPart.ts
+13
-3
MapScene.ts
egret/src/mapScene/MapScene.ts
+8
-18
MapStarComp.ts
egret/src/mapScene/MapStarComp.ts
+9
-6
MapTopPart.ts
egret/src/mapScene/MapTopPart.ts
+10
-7
Buy1Panel.ts
egret/src/panels/Buy1Panel.ts
+1
-1
Buy2Panel.ts
egret/src/panels/Buy2Panel.ts
+1
-1
Buy3Panel.ts
egret/src/panels/Buy3Panel.ts
+1
-1
ExchangePanel.ts
egret/src/panels/ExchangePanel.ts
+1
-1
Chapter1.ts
egret/src/something/chapters/Chapter1.ts
+5
-5
Chapter5.ts
egret/src/something/chapters/Chapter5.ts
+21
-7
Chapter6.ts
egret/src/something/chapters/Chapter6.ts
+8
-2
Chapter7.ts
egret/src/something/chapters/Chapter7.ts
+32
-26
Chapter8.ts
egret/src/something/chapters/Chapter8.ts
+47
-2
Chapter9.ts
egret/src/something/chapters/Chapter9.ts
+78
-17
getChapter.ts
egret/src/something/chapters/getChapter.ts
+13
-13
StartScene.ts
egret/src/startScene/StartScene.ts
+1
-1
getBackReward.json
mock/happyclear/getBackReward.json
+1
-1
homemax.json
mock/happyclear/homemax.json
+2
-22
No files found.
egret/index.html
View file @
4a44ece8
...
...
@@ -41,7 +41,7 @@
<body>
<div
style=
"margin: auto;width: 100%;height: 100%;"
class=
"egret-player"
data-entry-class=
"Main"
data-orientation=
"auto"
data-scale-mode=
"showAll"
data-frame-rate=
"60"
data-content-width=
"750"
data-content-height=
"1624"
data-multi-fingered=
"2"
data-show-fps=
"
false"
data-show-log=
"fals
e"
data-content-height=
"1624"
data-multi-fingered=
"2"
data-show-fps=
"
true"
data-show-log=
"tru
e"
data-show-fps-style=
"x:0,y:0,size:12,textColor:0xffffff,bgAlpha:0.9"
>
</div>
...
...
@@ -121,13 +121,13 @@
</script>
<script>
window
[
'signconfigs'
]
=
[
{
nums
:
'0.
15元'
,
type
:
'quan15
'
},
{
nums
:
'0.
08元'
,
type
:
'quan8
'
},
{
nums
:
'*1'
,
type
:
'hammer'
},
{
nums
:
'0.
38元'
,
type
:
'quan38
'
},
{
nums
:
'0.
12元'
,
type
:
'quan12
'
},
{
nums
:
'*1'
,
type
:
'boom'
},
{
nums
:
'0.
58元'
,
type
:
'quan58
'
},
{
nums
:
'0.
16元'
,
type
:
'quan16
'
},
{
nums
:
'*1'
,
type
:
'steps'
},
{
nums
:
'
随机奖励'
,
type
:
'random
'
}
{
nums
:
'
0.28元'
,
type
:
'quan28
'
}
];
// localStorage.clear();
window
[
'imgver'
]
=
'1022'
...
...
egret/libs/new_wx/MainBase.ts
View file @
4a44ece8
...
...
@@ -197,6 +197,8 @@ export default class MainBase extends eui.UILayer {
RES
.
getResAsync
(
`nums_fnt`
);
RES
.
getResAsync
(
`nums2_png`
);
RES
.
getResAsync
(
`nums2_fnt`
);
RES
.
getResAsync
(
`nums3_png`
);
RES
.
getResAsync
(
`nums3_fnt`
);
if
(
!
window
[
'development'
])
{
RES
.
getResAsync
(
`common_json`
);
RES
.
getResAsync
(
`share3_json`
);
...
...
egret/libs/new_wx/components/Toast2.ts
View file @
4a44ece8
import
ComponentBase
from
"./ComponentBase"
;
import
{
HtmlTextParser
}
from
"../HtmlTextParser"
;
import
{
gotoNextLevel
}
from
"../../../src/panels/gotoNextLevel"
;
import
SceneCtrl
from
"../ctrls/sceneCtrl"
;
import
MainScene
from
"../../../src/mainScene/MainScene"
;
export
default
class
Toast2
extends
ComponentBase
{
...
...
@@ -9,10 +11,15 @@ export default class Toast2 extends ComponentBase {
get
skinKey
():
string
{
return
'Toast2'
}
toastLabel
:
eui
.
Label
;
start
()
{
this
.
touchEnabled
=
false
;
this
.
touchChildren
=
false
;
this
.
toastLabel
.
textFlow
=
(
new
HtmlTextParser
).
parser
(
'<u>继续闯关赢好礼</u>'
);
this
.
toastLabel
.
addEventListener
(
egret
.
TouchEvent
.
TOUCH_TAP
,()
=>
{
gotoNextLevel
();
if
(
SceneCtrl
.
instance
.
currentScene
instanceof
MainScene
){
}
else
{
gotoNextLevel
();
}
egret
.
Tween
.
removeTweens
(
this
);
this
.
alpha
=
0
;
},
this
);
...
...
egret/resource/TextureMerger/map.tmproject
View file @
4a44ece8
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"map","version":5,"files":["../assets/map/taskicon.png","../assets/map/recordbtn.png","../assets/map/progress2.png","../assets/map/progress1.png","../assets/map/namebg.png","../assets/map/msgTri.png","../assets/map/map_signicon.png","../assets/map/lionMsgBg.png","../assets/map/invite_txtbg.png","../assets/map/invite_icon.png","../assets/map/iconbg.png","../assets/map/icon.png","../assets/map/guideOver.png","../assets/map/guideMoney.png","../assets/map/guideLove.png","../assets/map/guideLevel.png","../assets/map/guideBox.png","../assets/map/friend_avatar.png","../assets/map/avatar.png","../assets/map/animal1.png","../assets/map/ad_icon.png","../assets/map/元宝bg.png","../assets/map/有星星.png","../assets/map/音乐关闭.png","../assets/map/音乐.png","../assets/map/星星bg.png","../assets/map/星星.png","../assets/map/无星星.png","../assets/map/问题.png","../assets/map/退出.png","../assets/map/狮子.png","../assets/map/声音关闭.png","../assets/map/声音.png","../assets/map/设置bg.png","../assets/map/设置.png","../assets/map/光 副本 4.png","../assets/map/关闭 拷贝.png","../assets/map/道具.png","../assets/map/宝箱btn.png","../assets/map/宝箱bg.png","../assets/map/宝箱3.png","../assets/map/宝箱2.png","../assets/map/宝箱1.png","../assets/map/宝箱.png","../assets/map/map明日可领.png","../assets/map/map今日可领.png","../assets/map/map刮现金红包.png","../assets/map/map大转盘.png"]}
\ No newline at end of file
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"map","version":5,"files":["../assets/map/taskicon.png","../assets/map/recordbtn.png","../assets/map/progress2.png","../assets/map/progress1.png","../assets/map/namebg.png","../assets/map/msgTri.png","../assets/map/map_signicon.png","../assets/map/lionMsgBg.png","../assets/map/invite_txtbg.png","../assets/map/invite_icon.png","../assets/map/iconbg.png","../assets/map/icon.png","../assets/map/guideOver.png","../assets/map/guideMoney.png","../assets/map/guideLove.png","../assets/map/guideLevel.png","../assets/map/guideBox.png","../assets/map/friend_avatar.png","../assets/map/avatar.png","../assets/map/animal1.png","../assets/map/ad_icon.png","../assets/map/元宝bg.png","../assets/map/有星星.png","../assets/map/音乐关闭.png","../assets/map/音乐.png","../assets/map/星星bg.png","../assets/map/星星.png","../assets/map/无星星.png","../assets/map/问题.png","../assets/map/退出.png","../assets/map/狮子.png","../assets/map/声音关闭.png","../assets/map/声音.png","../assets/map/设置bg.png","../assets/map/设置.png","../assets/map/光 副本 4.png","../assets/map/关闭 拷贝.png","../assets/map/道具.png","../assets/map/宝箱btn.png","../assets/map/宝箱bg.png","../assets/map/宝箱3.png","../assets/map/宝箱2.png","../assets/map/宝箱1.png","../assets/map/宝箱.png","../assets/map/map明日可领.png","../assets/map/map今日可领.png","../assets/map/map刮现金红包.png","../assets/map/map大转盘.png","../assets/map/有星星2.png","../assets/map/有星星3.png"]}
\ No newline at end of file
egret/resource/TextureMerger/sign.tmproject
View file @
4a44ece8
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"sign","version":5,"files":["../assets/sign/signitem.png","../assets/sign/signicon5.png","../assets/sign/signicon4.png","../assets/sign/signicon3.png","../assets/sign/signicon2.png","../assets/sign/signbtn4.png","../assets/sign/signbtn3.png","../assets/sign/signbtn2.png","../assets/sign/signbtn1.png","../assets/sign/signbg.png","../assets/sign/sign_line2.png","../assets/sign/sign_line.png","../assets/sign/sign_light.png","../assets/sign/sign_icon1.png","../assets/sign/signicon6.png","../assets/sign/signicon_blood.png","../assets/sign/sign_quan88.png","../assets/sign/sign_quan58.png","../assets/sign/sign_quan38.png","../assets/sign/sign_quan15.png"]}
\ No newline at end of file
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"sign","version":5,"files":["../assets/sign/signitem.png","../assets/sign/signicon6.png","../assets/sign/signicon5.png","../assets/sign/signicon4.png","../assets/sign/signicon3.png","../assets/sign/signicon2.png","../assets/sign/signicon_blood.png","../assets/sign/signbtn4.png","../assets/sign/signbtn3.png","../assets/sign/signbtn2.png","../assets/sign/signbtn1.png","../assets/sign/signbg.png","../assets/sign/sign_quan88.png","../assets/sign/sign_quan8.png","../assets/sign/sign_quan58.png","../assets/sign/sign_quan38.png","../assets/sign/sign_quan28.png","../assets/sign/sign_quan16.png","../assets/sign/sign_quan15.png","../assets/sign/sign_quan12.png","../assets/sign/sign_line2.png","../assets/sign/sign_line.png","../assets/sign/sign_light.png","../assets/sign/sign_icon1.png"]}
\ No newline at end of file
egret/resource/assets/common/nums3.fnt
0 → 100644
View file @
4a44ece8
{"file":"nums3.png","frames":{
"9":{"x":74,"y":27,"w":22,"h":25,"offX":0,"offY":0,"sourceW":22,"sourceH":25},
"8":{"x":76,"y":0,"w":23,"h":25,"offX":0,"offY":0,"sourceW":23,"sourceH":25},
"7":{"x":0,"y":27,"w":23,"h":24,"offX":0,"offY":0,"sourceW":23,"sourceH":24},
"6":{"x":26,"y":0,"w":23,"h":25,"offX":0,"offY":0,"sourceW":23,"sourceH":25},
"5":{"x":25,"y":27,"w":23,"h":24,"offX":0,"offY":0,"sourceW":23,"sourceH":24},
"4":{"x":0,"y":0,"w":24,"h":25,"offX":0,"offY":0,"sourceW":24,"sourceH":25},
"3":{"x":101,"y":0,"w":23,"h":25,"offX":0,"offY":0,"sourceW":23,"sourceH":25},
"2":{"x":51,"y":0,"w":23,"h":25,"offX":0,"offY":0,"sourceW":23,"sourceH":25},
"1":{"x":98,"y":27,"w":16,"h":25,"offX":0,"offY":0,"sourceW":16,"sourceH":25},
"0":{"x":50,"y":27,"w":22,"h":25,"offX":0,"offY":0,"sourceW":22,"sourceH":25}}}
\ No newline at end of file
egret/resource/assets/common/nums3.png
0 → 100644
View file @
4a44ece8
4.93 KB
egret/resource/assets/map/icongray.png
0 → 100644
View file @
4a44ece8
6.53 KB
egret/resource/assets/map/有星星.png
View replaced file @
47abbef1
View file @
4a44ece8
2.41 KB
|
W:
|
H:
2.15 KB
|
W:
|
H:
2-up
Swipe
Onion skin
egret/resource/assets/map/有星星2.png
0 → 100644
View file @
4a44ece8
3.03 KB
egret/resource/assets/map/有星星3.png
0 → 100644
View file @
4a44ece8
2.41 KB
egret/resource/assets/sign/sign_quan12.png
0 → 100644
View file @
4a44ece8
7.69 KB
egret/resource/assets/sign/sign_quan16.png
0 → 100644
View file @
4a44ece8
7.79 KB
egret/resource/assets/sign/sign_quan28.png
0 → 100644
View file @
4a44ece8
7.98 KB
egret/resource/assets/sign/sign_quan8.png
0 → 100644
View file @
4a44ece8
7.88 KB
egret/resource/default.res.json
View file @
4a44ece8
...
...
@@ -21,7 +21,7 @@
"name"
:
"buy3"
},
{
"keys"
:
"taskicon_png,recordbtn_png,progress2_png,progress1_png,namebg_png,msgTri_png,map3_jpg,map2_jpg,map1_jpg,map_signicon_png,lionMsgBg_png,invite_txtbg_png,invite_icon_png,iconbg_png,icon_png,guideOver_png,guideMoney_png,guideLove_png,guideLevel_png,guideBox_png,friend_avatar_png,avatar_png,animal1_png,ad_icon_png,元宝bg_png,有星星_png,音乐关闭_png,音乐_png,星星bg_png,星星_png,无星星_png,问题_png,退出_png,狮子_png,声音关闭_png,声音_png,设置bg_png,设置_png,光 副本 4_png,关闭 拷贝_png,道具_png,宝箱btn_png,宝箱bg_png,宝箱3_png,宝箱2_png,宝箱1_png,宝箱_png,map明日可领_png,map今日可领_png,map刮现金红包_png,map大转盘_png"
,
"keys"
:
"taskicon_png,recordbtn_png,progress2_png,progress1_png,namebg_png,msgTri_png,map3_jpg,map2_jpg,map1_jpg,map_signicon_png,lionMsgBg_png,invite_txtbg_png,invite_icon_png,iconbg_png,icon_png,guideOver_png,guideMoney_png,guideLove_png,guideLevel_png,guideBox_png,friend_avatar_png,avatar_png,animal1_png,ad_icon_png,元宝bg_png,有星星_png,音乐关闭_png,音乐_png,星星bg_png,星星_png,无星星_png,问题_png,退出_png,狮子_png,声音关闭_png,声音_png,设置bg_png,设置_png,光 副本 4_png,关闭 拷贝_png,道具_png,宝箱btn_png,宝箱bg_png,宝箱3_png,宝箱2_png,宝箱1_png,宝箱_png,map明日可领_png,map今日可领_png,map刮现金红包_png,map大转盘_png
,有星星2_png,有星星3_png,icongray_png
"
,
"name"
:
"map"
},
{
...
...
@@ -73,7 +73,7 @@
"name"
:
"exchange"
},
{
"keys"
:
"signitem_png,signicon
5_png,signicon4_png,signicon3_png,signicon2_png,signbtn4_png,signbtn3_png,signbtn2_png,signbtn1_png,signbg_png,sign_line2_png,sign_line_png,sign_light_png,sign_icon1_png,signicon6_png,signicon_blood_png,sign_quan88_png,sign_quan58_png,sign_quan38_png,sign_quan15
_png"
,
"keys"
:
"signitem_png,signicon
6_png,signicon5_png,signicon4_png,signicon3_png,signicon2_png,signicon_blood_png,signbtn4_png,signbtn3_png,signbtn2_png,signbtn1_png,signbg_png,sign_quan88_png,sign_quan8_png,sign_quan58_png,sign_quan38_png,sign_quan28_png,sign_quan16_png,sign_quan15_png,sign_quan12_png,sign_line2_png,sign_line_png,sign_light_png,sign_icon1
_png"
,
"name"
:
"sign"
},
{
...
...
@@ -3197,6 +3197,51 @@
"url"
:
"assets/hbGame/hbGame_rabbit.png"
,
"type"
:
"image"
,
"name"
:
"hbGame_rabbit_png"
},
{
"url"
:
"assets/sign/sign_quan28.png"
,
"type"
:
"image"
,
"name"
:
"sign_quan28_png"
},
{
"url"
:
"assets/sign/sign_quan16.png"
,
"type"
:
"image"
,
"name"
:
"sign_quan16_png"
},
{
"url"
:
"assets/sign/sign_quan12.png"
,
"type"
:
"image"
,
"name"
:
"sign_quan12_png"
},
{
"url"
:
"assets/sign/sign_quan8.png"
,
"type"
:
"image"
,
"name"
:
"sign_quan8_png"
},
{
"url"
:
"assets/map/有星星2.png"
,
"type"
:
"image"
,
"name"
:
"有星星2_png"
},
{
"url"
:
"assets/map/有星星3.png"
,
"type"
:
"image"
,
"name"
:
"有星星3_png"
},
{
"url"
:
"assets/common/nums3.png"
,
"type"
:
"image"
,
"name"
:
"nums3_png"
},
{
"url"
:
"assets/common/nums3.fnt"
,
"type"
:
"font"
,
"name"
:
"nums3_fnt"
},
{
"url"
:
"assets/map/icongray.png"
,
"type"
:
"image"
,
"name"
:
"icongray_png"
}
]
}
\ No newline at end of file
egret/resource/skins/SignItemSkin.exml
View file @
4a44ece8
...
...
@@ -16,6 +16,11 @@
<e:Image
id=
"quan15"
x=
"95.42"
y=
"56.76"
anchorOffsetX=
"0"
anchorOffsetY=
"0"
height=
"79.34"
source=
"sign_quan15_png"
visible=
"false"
/>
<e:Image
id=
"quan38"
x=
"95.42"
y=
"56.76"
anchorOffsetX=
"0"
anchorOffsetY=
"0"
source=
"sign_quan38_png"
visible=
"false"
/>
<e:Image
id=
"quan58"
x=
"99.42"
y=
"56.76"
anchorOffsetX=
"0"
anchorOffsetY=
"0"
source=
"sign_quan58_png"
visible=
"false"
/>
<e:Image
id=
"quan12"
source=
"sign_quan12_png"
x=
"95"
y=
"56"
visible=
"false"
/>
<e:Image
id=
"quan16"
x=
"95"
y=
"56"
source=
"sign_quan16_png"
visible=
"false"
/>
<e:Image
id=
"quan28"
x=
"95"
y=
"56"
source=
"sign_quan28_png"
visible=
"false"
/>
<e:Image
id=
"quan8"
x=
"95"
y=
"56"
source=
"sign_quan8_png"
visible=
"false"
/>
<e:Image
id=
"quan88"
x=
"95"
y=
"56"
source=
"sign_quan88_png"
visible=
"false"
/>
<e:Button
id=
"btn1"
label=
""
x=
"364"
y=
"65"
>
<e:skinName>
<e:Skin
states=
"up,down,disabled"
>
...
...
egret/resource/skins/StarSkin.exml
View file @
4a44ece8
<?xml version="1.0" encoding="utf-8"?>
<e:Skin
class=
"StarSkin"
width=
"67"
height=
"25"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
>
<e:Image
source=
"无星星_png"
/>
<e:Rect
id=
"rectmask"
width=
"67"
height=
"25"
/>
<e:Image
id=
"star"
source=
"有星星_png"
/>
<e:Image
id=
"star1"
source=
"有星星_png"
visible=
"false"
/>
<e:Image
id=
"star2"
source=
"有星星2_png"
visible=
"false"
/>
<e:Image
id=
"star3"
source=
"有星星3_png"
visible=
"false"
/>
</e:Skin>
\ No newline at end of file
egret/src/mapScene/GuideCon.ts
View file @
4a44ece8
...
...
@@ -40,7 +40,7 @@ let arrow: egret.DisplayObjectContainer;
* \n
*/
export
class
GuideCon
extends
egret
.
DisplayObjectContainer
{
private
steps
:
number
=
5
;
private
steps
:
number
=
4
;
private
curStep
:
number
=
1
;
groups
:
any
[];
couldOver
:
boolean
=
false
;
...
...
egret/src/mapScene/MapBottomPart.ts
View file @
4a44ece8
...
...
@@ -16,7 +16,6 @@ export default class MapBottomPart extends ComponentBase {
for
(
let
i
=
0
;
i
<
MapBottomPart
.
LEVEL_NUMS
;
i
++
)
{
const
levelOrder
=
MapTopPart
.
LEVEL_NUMS
+
MapRpeatPart
.
LEVEL_NUMS
*
repeatCount
+
i
+
1
;
this
.
getTxt
(
i
).
text
=
levelOrder
+
''
;
this
.
getTxt
(
i
).
cacheAsBitmap
=
true
;
}
for
(
let
i
=
0
;
i
<
MapBottomPart
.
LEVEL_NUMS
;
i
++
)
{
...
...
@@ -29,11 +28,12 @@ export default class MapBottomPart extends ComponentBase {
}
// console.log(levelOrder)
const
icon
=
MapScene
.
iconHash
[
levelOrder
]
=
this
.
getIcon
(
i
);
const
label
:
eui
.
BitmapLabel
=
icon
.
getChildAt
(
1
)
as
eui
.
BitmapLabel
;
label
.
cacheAsBitmap
=
true
;
this
.
removeChild
(
icon
);
icon
.
show
=
()
=>
{
this
.
addChild
(
icon
)};
icon
[
'nums'
]
=
icon
.
getChildAt
(
0
);
icon
[
'bmptxt'
]
=
icon
.
getChildAt
(
1
);
icon
[
'mappart'
]
=
this
;
const
star
=
new
MapStarComp
();
star
.
loadSkin
();
star
.
start
();
...
...
egret/src/mapScene/MapRpeatPart.ts
View file @
4a44ece8
...
...
@@ -2,13 +2,17 @@ import ComponentBase from "../../libs/new_wx/components/ComponentBase";
import
MapTopPart
from
"./MapTopPart"
;
import
MapScene
from
"./MapScene"
;
import
MapStarComp
from
"./MapStarComp"
;
import
{
createData
}
from
"../startScene/StartScene"
;
export
default
class
MapRpeatPart
extends
ComponentBase
{
static
LEVEL_NUMS
=
13
;
private
_index
;
constructor
(
i
)
{
private
_topHeight
;
constructor
(
i
,
topHeight
)
{
super
();
this
.
_index
=
i
;
this
.
_topHeight
=
topHeight
;
createData
()
}
start
()
{
...
...
@@ -16,13 +20,19 @@ export default class MapRpeatPart extends ComponentBase {
for
(
let
i
=
0
;
i
<
MapRpeatPart
.
LEVEL_NUMS
;
i
++
)
{
const
levelOrder
=
MapTopPart
.
LEVEL_NUMS
+
this
.
_index
*
MapRpeatPart
.
LEVEL_NUMS
+
i
+
1
;
this
.
getTxt
(
i
).
text
=
levelOrder
+
''
;
this
.
getTxt
(
i
).
cacheAsBitmap
=
true
;
const
icon
=
MapScene
.
iconHash
[
levelOrder
]
=
this
.
getIcon
(
i
);
this
.
removeChild
(
icon
);
icon
.
show
=
()
=>
{
this
.
addChild
(
icon
)};
icon
[
'nums'
]
=
icon
.
getChildAt
(
0
);
icon
[
'bmptxt'
]
=
icon
.
getChildAt
(
1
);
icon
[
'mappart'
]
=
this
;
const
star
=
new
MapStarComp
();
star
.
loadSkin
();
star
.
start
();
MapScene
.
starHash
[
levelOrder
]
=
star
;
icon
.
addChild
(
star
);
icon
[
'visibleY'
]
=
this
.
_topHeight
+
this
}
this
[
'animal1'
].
visible
=
this
.
_index
%
2
;
...
...
egret/src/mapScene/MapScene.ts
View file @
4a44ece8
...
...
@@ -26,7 +26,7 @@ import ScratchIcon from "./icon/ScratchIcon";
import
TurntableIcon
from
"./icon/TurntableIcon"
;
let
doHelpFlag
=
false
;
let
doScratchHelpFlag
=
false
;
//
let doScratchHelpFlag = false;
// let adTag = false;
export
default
class
MapScene
extends
Scene
{
static
adData
;
...
...
@@ -63,7 +63,7 @@ export default class MapScene extends Scene {
NetManager
.
ins
.
showLog
(
getlogItem
(
36
));
},
code
,
dojoin
.
data
);
}
else
{
// 刮刮卡
le
t
_code
=
code
.
slice
(
8
);
cons
t
_code
=
code
.
slice
(
8
);
NetManager
.
ins
.
scratchDoHelp
((
success
,
res
)
=>
{
doHelpFlag
=
true
;
switch
(
true
)
{
...
...
@@ -166,7 +166,7 @@ export default class MapScene extends Scene {
this
[
'rect'
].
scaleX
=
0.5
//进度条文本发光
setGlow
(
this
[
'totalStarTxt'
],
0x0083e8
,
1
);
this
.
topPart
=
data
.
top
;
this
.
repeatsPart
=
data
.
list
;
this
.
bottomPart
=
data
.
bottom
;
...
...
@@ -214,7 +214,7 @@ export default class MapScene extends Scene {
const
pic
=
new
egret
.
Bitmap
(
light
);
//76 61
pic
.
x
=
targetIcon
.
x
+
50
-
2
;
pic
.
y
=
targetIcon
.
y
+
37
+
10
;
targetIcon
.
paren
t
.
addChildAt
(
pic
,
1
);
targetIcon
.
mappar
t
.
addChildAt
(
pic
,
1
);
// targetIcon.parent.addChildAt(pic, 0);
pic
.
anchorOffsetX
=
76
;
pic
.
anchorOffsetY
=
61
;
...
...
@@ -409,7 +409,7 @@ export default class MapScene extends Scene {
addAvatar
(
level
,
ele
?)
{
const
item
=
MapScene
.
iconHash
[
level
];
const
parent
=
item
.
parent
;
const
parent
=
item
[
'mappart'
]
;
const
avatar
=
new
AvatarComp
();
avatar
.
loadSkin
();
avatar
.
start
(
ele
);
...
...
@@ -827,10 +827,6 @@ export default class MapScene extends Scene {
this
[
'settingGroup'
].
visible
=
!
this
[
'settingGroup'
].
visible
;
}
// onTap_goldBtn() {
// PanelCtrl.instance.show('GoldPanel')
// }
onTap_bloodBtn
()
{
NetManager
.
ins
.
clickLog
(
getlogItem
(
2
));
if
(
getHomeData
().
remainEnargy
>
0
)
...
...
@@ -840,15 +836,9 @@ export default class MapScene extends Scene {
}
setGray
(
order
:
number
)
{
const
d
=
MapScene
.
iconHash
[
order
];
const
colorMatrix
=
[
0.3
,
0.6
,
0
,
0
,
0
,
0.3
,
0.6
,
0
,
0
,
0
,
0.3
,
0.6
,
0
,
0
,
0
,
0
,
0
,
0
,
1
,
0
];
const
colorFlilter
=
new
egret
.
ColorMatrixFilter
(
colorMatrix
);
d
.
filters
=
[
colorFlilter
];
const
icon
=
MapScene
.
iconHash
[
order
];
(
icon
[
'nums'
]
as
eui
.
Image
).
source
=
'icongray_png'
;
(
icon
[
'bmptxt'
]
as
eui
.
BitmapLabel
).
font
=
'nums3_fnt'
;
}
get
skinKey
()
{
...
...
egret/src/mapScene/MapStarComp.ts
View file @
4a44ece8
...
...
@@ -5,23 +5,26 @@ export default class MapStarComp extends ComponentBase {
super
.
start
();
this
.
x
=
15
;
this
.
y
=-
24
;
this
[
'star'
].
mask
=
this
[
'rectmask'
]
this
.
setStar
(
0
);
}
setStar
(
num
:
number
)
{
this
[
'star1'
].
visible
=
false
;
this
[
'star2'
].
visible
=
false
;
this
[
'star3'
].
visible
=
false
;
if
(
num
==
0
)
{
this
[
'rectmask'
].
width
=
0
;
}
else
if
(
num
==
1
)
{
this
[
'
rectmask'
].
width
=
23
;
this
[
'
star1'
].
visible
=
true
;
}
else
if
(
num
==
2
)
{
this
[
'
rectmask'
].
width
=
46
;
this
[
'
star2'
].
visible
=
true
;
}
else
if
(
num
==
3
)
{
this
[
'
rectmask'
].
width
=
67
;
this
[
'
star3'
].
visible
=
true
;
}
this
.
cacheAsBitmap
=
true
;
}
get
skinKey
():
string
{
return
'Star'
}
}
\ No newline at end of file
egret/src/mapScene/MapTopPart.ts
View file @
4a44ece8
...
...
@@ -9,20 +9,23 @@ export default class MapTopPart extends ComponentBase {
for
(
let
i
=
0
;
i
<
MapTopPart
.
LEVEL_NUMS
;
i
++
)
{
const
levelOrder
=
i
+
1
;
const
icon
=
MapScene
.
iconHash
[
levelOrder
]
=
this
.
getIcon
(
i
);
const
label
:
eui
.
BitmapLabel
=
icon
.
getChildAt
(
1
)
as
eui
.
BitmapLabel
;
label
.
cacheAsBitmap
=
true
;
//
const label:eui.BitmapLabel=icon.getChildAt(1) as eui.BitmapLabel;
const
star
=
new
MapStarComp
();
star
.
loadSkin
();
star
.
start
();
MapScene
.
starHash
[
levelOrder
]
=
star
;
icon
.
addChild
(
star
);
icon
[
'nums'
]
=
icon
.
getChildAt
(
0
);
icon
[
'bmptxt'
]
=
icon
.
getChildAt
(
1
);
this
.
removeChild
(
icon
);
icon
[
'mappart'
]
=
this
;
icon
.
show
=
()
=>
{
this
.
addChild
(
icon
)};
icon
[
'visibleY'
]
=
icon
.
y
;
}
}
getIcon
(
i
):
egret
.
DisplayObjectContainer
{
return
this
[
`icon
${
i
}
`
];
}
getIcon
(
i
)
{
return
this
[
`icon
${
i
}
`
];
}
get
skinKey
():
string
{
return
'MapTop'
}
}
\ No newline at end of file
egret/src/panels/Buy1Panel.ts
View file @
4a44ece8
...
...
@@ -44,7 +44,7 @@ export default class Buy1Panel extends Panel {
SceneCtrl
.
instance
.
updateScene
();
},
window
[
'collectRuleId'
]);
}
else
{
showToast
(
'
哎呀,购买失败!
\
n元宝返回咯~'
)
showToast
(
'
元宝不足哦~
\
n快去玩游戏赢元宝吧'
);
}
},
PropType
.
HAMMER
);
//兑换道具
}
...
...
egret/src/panels/Buy2Panel.ts
View file @
4a44ece8
...
...
@@ -39,7 +39,7 @@ export default class Buy2Panel extends Panel {
SceneCtrl
.
instance
.
updateScene
();
},
window
[
'collectRuleId'
]);
}
else
{
showToast
(
'
哎呀,购买失败!
\
n元宝返回咯~'
)
showToast
(
'
元宝不足哦~
\
n快去玩游戏赢元宝吧'
);
}
},
PropType
.
BOOM
);
//兑换道具
}
...
...
egret/src/panels/Buy3Panel.ts
View file @
4a44ece8
...
...
@@ -40,7 +40,7 @@ export default class Buy3Panel extends Panel {
SceneCtrl
.
instance
.
updateScene
();
},
window
[
'collectRuleId'
]);
}
else
{
showToast
(
'
哎呀,购买失败!
\
n元宝返回咯~'
)
showToast
(
'
元宝不足哦~
\
n快去玩游戏赢元宝吧'
);
}
},
PropType
.
CHANCE_NUM
);
//兑换道具
}
...
...
egret/src/panels/ExchangePanel.ts
View file @
4a44ece8
...
...
@@ -40,7 +40,7 @@ export default class ExchangePanel extends Panel {
SceneCtrl
.
instance
.
updateScene
();
},
window
[
'collectRuleId'
]);
}
else
{
showToast
(
'
哎呀,购买失败!
\
n元宝返回咯~'
)
showToast
(
'
元宝不足哦~
\
n快去玩游戏赢元宝吧'
);
}
},
PropType
.
CASH_NUM
);
//兑换道具
}
...
...
egret/src/something/chapters/Chapter1.ts
View file @
4a44ece8
...
...
@@ -22,7 +22,7 @@ export const Chapters1: ChapterData[] = [
},
],
},
starScores
:
[
100
,
500
,
95
0
],
starScores
:
[
100
0
,
5000
,
1000
0
],
map
:
{
lattices
:
[
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
...
...
@@ -79,7 +79,7 @@ export const Chapters1: ChapterData[] = [
},
],
},
starScores
:
[
4000
,
8000
,
1200
0
],
starScores
:
[
100
,
500
,
95
0
],
map
:
{
lattices
:
[
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
...
...
@@ -198,9 +198,9 @@ export const Chapters1: ChapterData[] = [
map
:
{
lattices
:
[
0
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
0
,
0
,
3
,
3
,
1
,
1
,
1
,
3
,
3
,
0
,
0
,
3
,
3
,
1
,
1
,
1
,
3
,
3
,
0
,
0
,
3
,
3
,
1
,
1
,
1
,
3
,
3
,
0
,
0
,
2
,
2
,
1
,
1
,
1
,
2
,
2
,
0
,
0
,
2
,
2
,
1
,
1
,
1
,
2
,
2
,
0
,
0
,
2
,
2
,
1
,
1
,
1
,
2
,
2
,
0
,
0
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
0
,
0
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
0
,
0
,
2
,
2
,
1
,
1
,
1
,
2
,
2
,
0
,
...
...
egret/src/something/chapters/Chapter5.ts
View file @
4a44ece8
...
...
@@ -190,7 +190,7 @@ export const Chapters5: ChapterData[] = [
{
"baseElementTypes"
:
[
0
,
1
,
2
,
3
,
4
],
"bubbleProbability"
:
0
,
"stepCount"
:
25
,
"stepCount"
:
25
+
10
,
"passTarget"
:
{
"type"
:
1
,
"elements"
:
[{
"type"
:
9
,
"count"
:
36
}]
},
"starScores"
:
[
5000
,
12000
,
19000
],
"map"
:
{
...
...
@@ -248,7 +248,7 @@ export const Chapters5: ChapterData[] = [
{
baseElementTypes
:
[
1
,
0
,
2
,
3
,
4
],
bubbleProbability
:
0.1
,
stepCount
:
30
,
stepCount
:
30
+
10
,
passTarget
:
{
type
:
1
,
elements
:
[{
type
:
9
,
count
:
49
}]
},
starScores
:
[
5000
,
12000
,
21000
],
map
:
{
...
...
@@ -256,7 +256,7 @@ export const Chapters5: ChapterData[] = [
0
,
1
,
0
,
1
,
1
,
1
,
0
,
1
,
0
,
0
,
2
,
1
,
1
,
1
,
1
,
1
,
2
,
0
,
0
,
3
,
3
,
1
,
1
,
1
,
3
,
3
,
0
,
0
,
0
,
3
,
1
,
1
,
3
,
3
,
0
,
0
,
0
,
0
,
3
,
3
,
1
,
3
,
3
,
0
,
0
,
0
,
3
,
0
,
3
,
3
,
3
,
0
,
3
,
0
,
3
,
3
,
3
,
0
,
3
,
0
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
...
...
@@ -436,10 +436,24 @@ export const Chapters5: ChapterData[] = [
},
//98
{
baseElementTypes
:
[
1
,
0
,
2
,
3
,
4
],
bubbleProbability
:
0.1
,
stepCount
:
40
,
passTarget
:
{
type
:
1
,
elements
:
[{
type
:
9
,
count
:
27
}]
},
starScores
:
[
5000
,
13000
,
21000
],
map
:
{
lattices
:
[
1
,
0
,
0
,
0
,
1
,
0
,
0
,
0
,
1
,
0
,
1
,
0
,
1
,
0
,
1
,
0
,
1
,
0
,
1
,
0
,
1
,
0
,
1
,
0
,
1
,
0
,
1
,
0
,
2
,
0
,
2
,
0
,
2
,
0
,
2
,
0
,
3
,
1
,
1
,
1
,
3
,
1
,
1
,
1
,
3
,
3
,
1
,
1
,
1
,
3
,
1
,
1
,
1
,
3
,
3
,
1
,
1
,
1
,
3
,
1
,
1
,
1
,
3
,
3
,
1
,
1
,
1
,
3
,
1
,
1
,
1
,
3
,
0
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
0
],
connectedLats
:
[],
elements
:
[
7
,
1
,
1
,
1
,
7
,
1
,
1
,
1
,
7
,
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
,
1
,
1
,
1
,
4
,
1
,
1
,
1
,
4
,
4
,
1
,
1
,
1
,
4
,
1
,
1
,
1
,
4
,
4
,
1
,
1
,
1
,
4
,
1
,
1
,
1
,
4
,
2
,
1
,
1
,
1
,
2
,
1
,
1
,
1
,
2
,
1
,
1
,
1
,
2
,
2
,
2
,
1
,
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
,
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
:
4
,
type
:
null
},
{
index
:
8
,
type
:
null
}]
}
baseElementTypes
:
[
1
,
0
,
2
,
3
,
4
],
bubbleProbability
:
0.1
,
stepCount
:
40
,
passTarget
:
{
type
:
1
,
elements
:
[{
type
:
9
,
count
:
27
}]
},
starScores
:
[
5000
,
13000
,
21000
],
map
:
{
lattices
:
[
1
,
0
,
0
,
0
,
1
,
0
,
0
,
0
,
1
,
0
,
1
,
0
,
1
,
0
,
1
,
0
,
1
,
0
,
1
,
0
,
1
,
0
,
1
,
0
,
1
,
0
,
1
,
0
,
2
,
0
,
2
,
0
,
2
,
0
,
2
,
0
,
3
,
1
,
1
,
1
,
3
,
1
,
1
,
1
,
3
,
3
,
1
,
1
,
1
,
3
,
1
,
1
,
1
,
3
,
3
,
1
,
1
,
1
,
3
,
1
,
1
,
1
,
3
,
3
,
3
,
3
,
1
,
3
,
1
,
3
,
3
,
3
,
0
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
0
],
connectedLats
:
[],
elements
:
[
7
,
1
,
1
,
1
,
7
,
1
,
1
,
1
,
7
,
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
,
1
,
1
,
1
,
4
,
1
,
1
,
1
,
4
,
4
,
1
,
1
,
1
,
4
,
1
,
1
,
1
,
4
,
4
,
1
,
1
,
1
,
4
,
1
,
1
,
1
,
4
,
2
,
1
,
1
,
1
,
2
,
1
,
1
,
1
,
2
,
1
,
1
,
1
,
2
,
2
,
2
,
1
,
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
,
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
:
4
,
type
:
null
},
{
index
:
8
,
type
:
null
}]
}
},
//99
{
baseElementTypes
:
[
1
,
0
,
4
,
3
],
bubbleProbability
:
0
,
stepCount
:
24
,
passTarget
:
{
type
:
1
,
elements
:
[{
type
:
9
,
count
:
66
}]
},
starScores
:
[
5000
,
13000
,
21000
],
map
:
{
lattices
:
[
3
,
0
,
3
,
3
,
3
,
3
,
3
,
0
,
3
,
3
,
0
,
3
,
3
,
3
,
3
,
3
,
0
,
3
,
3
,
0
,
3
,
3
,
3
,
3
,
3
,
0
,
3
,
3
,
0
,
3
,
3
,
3
,
3
,
3
,
0
,
3
,
3
,
0
,
3
,
3
,
3
,
3
,
3
,
0
,
3
,
3
,
0
,
3
,
3
,
3
,
3
,
3
,
0
,
3
,
3
,
0
,
3
,
3
,
0
,
3
,
3
,
0
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
],
connectedLats
:
[],
elements
:
[
1
,
1
,
1
,
1
,
7
,
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
,
1
,
1
,
1
,
2
,
1
,
1
,
1
,
1
,
1
,
2
,
4
,
2
,
1
,
1
,
1
,
1
,
1
,
2
,
1
,
2
,
1
,
2
,
1
,
1
,
2
,
1
,
1
,
2
,
4
,
2
,
1
,
1
,
2
,
2
,
2
,
1
,
1
,
1
,
1
,
1
,
2
,
2
,
1
,
2
,
1
,
2
,
2
,
2
,
1
,
2
,
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
,
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
,
14
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
],
recycles
:
[],
generateLats
:
[{
index
:
0
,
type
:
null
},
{
index
:
2
,
type
:
null
},
{
index
:
3
,
type
:
null
},
{
index
:
4
,
type
:
null
},
{
index
:
5
,
type
:
null
},
{
index
:
6
,
type
:
null
},
{
index
:
8
,
type
:
null
}]
}
},
...
...
egret/src/something/chapters/Chapter6.ts
View file @
4a44ece8
...
...
@@ -375,7 +375,7 @@ export const Chapters6: ChapterData[] = [
3
,
3
,
3
,
3
,
3
,
0
,
0
,
0
,
0
,
3
,
3
,
3
,
3
,
3
,
0
,
0
,
0
,
0
],
connectedLats
:
[[
72
,
0
],
[
73
,
1
],
[
74
,
2
],
[
75
,
3
],
[
76
,
4
]],
//
connectedLats: [[72, 0], [73, 1], [74, 2], [75, 3], [76, 4]],
elements
:
[
2
,
7
,
2
,
7
,
2
,
1
,
1
,
1
,
1
,
1
,
2
,
1
,
2
,
1
,
1
,
1
,
1
,
1
,
...
...
@@ -408,7 +408,13 @@ export const Chapters6: ChapterData[] = [
{
index
:
28
,
type
:
null
},
{
index
:
29
,
type
:
null
},
{
index
:
30
,
type
:
null
},
{
index
:
31
,
type
:
null
}
{
index
:
31
,
type
:
null
},
{
index
:
0
,
type
:
null
},
{
index
:
1
,
type
:
null
},
{
index
:
2
,
type
:
null
},
{
index
:
3
,
type
:
null
},
{
index
:
4
,
type
:
null
},
]
}
},
...
...
egret/src/something/chapters/Chapter7.ts
View file @
4a44ece8
...
...
@@ -67,17 +67,17 @@ export const Chapters7: ChapterData[] = [
},
//122
{
baseElementTypes
:
[
0
,
1
,
3
,
2
,
4
],
bubbleProbability
:
0.1
,
stepCount
:
26
,
passTarget
:
{
type
:
1
,
elements
:
[{
type
:
6
,
count
:
2
}]
},
starScores
:
[
5000
,
12000
,
21000
],
baseElementTypes
:
[
0
,
1
,
3
,
2
,
4
],
bubbleProbability
:
0.1
,
stepCount
:
26
,
passTarget
:
{
type
:
1
,
elements
:
[{
type
:
6
,
count
:
2
}]
},
starScores
:
[
5000
,
12000
,
21000
],
map
:
{
lattices
:
[
0
,
0
,
1
,
1
,
1
,
1
,
1
,
0
,
0
,
0
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
0
,
0
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
0
,
0
,
1
,
0
,
1
,
0
,
1
,
0
,
1
,
0
,
0
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
0
,
0
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
0
,
0
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
0
,
0
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
0
,
0
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
0
],
connectedLats
:
[[
20
,
38
],
[
22
,
40
],
[
24
,
42
]],
elements
:
[
1
,
1
,
3
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
9
,
1
,
9
,
1
,
9
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
2
,
2
,
1
,
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
,
1
,
1
,
1
,
1
,
1
,
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
,
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
:
2
,
type
:
null
},
{
index
:
3
,
type
:
null
},
{
index
:
4
,
type
:
null
},
{
index
:
5
,
type
:
null
},
{
index
:
6
,
type
:
null
},
{
index
:
10
,
type
:
null
},
{
index
:
16
,
type
:
null
}]
}
},
//123
{
baseElementTypes
:
[
0
,
1
,
2
,
3
,
4
],
bubbleProbability
:
0.1
,
baseElementTypes
:
[
0
,
1
,
2
,
3
,
4
],
bubbleProbability
:
0.1
,
stepCount
:
17
,
passTarget
:
{
type
:
1
,
elements
:
[{
type
:
9
,
count
:
41
}]
},
starScores
:
[
5000
,
15000
,
22000
],
map
:
{
lattices
:
[
0
,
0
,
0
,
0
,
2
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
2
,
2
,
2
,
0
,
0
,
0
,
0
,
0
,
2
,
2
,
2
,
2
,
2
,
0
,
0
,
0
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
0
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
0
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
0
,
0
,
0
,
2
,
2
,
2
,
2
,
2
,
0
,
0
,
0
,
0
,
0
,
2
,
2
,
2
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
2
,
0
,
0
,
0
,
0
],
connectedLats
:
[],
elements
:
[
0
,
0
,
0
,
0
,
1
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
0
,
0
,
0
,
0
,
0
,
1
,
1
,
4
,
1
,
1
,
0
,
0
,
0
,
1
,
1
,
4
,
5
,
4
,
1
,
1
,
0
,
1
,
1
,
4
,
5
,
5
,
5
,
4
,
1
,
1
,
0
,
1
,
1
,
4
,
5
,
4
,
1
,
1
,
0
,
0
,
0
,
1
,
1
,
4
,
1
,
1
,
0
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
1
,
0
,
0
,
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
:
4
,
type
:
0
},
{
index
:
12
,
type
:
0
},
{
index
:
14
,
type
:
0
},
{
index
:
20
,
type
:
0
},
{
index
:
24
,
type
:
0
},
{
index
:
28
,
type
:
0
},
{
index
:
34
,
type
:
0
},
{
index
:
36
,
type
:
0
},
{
index
:
44
,
type
:
0
}]
}
},
//124
...
...
@@ -310,7 +310,13 @@ export const Chapters7: ChapterData[] = [
stepCount
:
26
,
passTarget
:
{
type
:
1
,
elements
:
[{
type
:
9
,
count
:
38
}]
},
starScores
:
[
5000
,
12000
,
21000
],
map
:
{
lattices
:
[
2
,
0
,
2
,
2
,
2
,
2
,
2
,
0
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
2
,
2
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
2
,
0
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
0
,
1
,
1
,
0
,
2
,
2
,
2
,
0
,
1
,
1
,
2
,
2
,
1
,
1
,
1
,
1
,
1
,
2
,
2
,
2
,
2
,
1
,
1
,
1
,
1
,
1
,
2
,
2
,
0
,
2
,
3
,
3
,
3
,
3
,
3
,
2
,
0
],
connectedLats
:
[[
74
,
2
],
[
75
,
3
],
[
76
,
4
],
[
77
,
5
],
[
78
,
6
]],
elements
:
[
1
,
1
,
0
,
0
,
5
,
0
,
0
,
1
,
1
,
1
,
4
,
0
,
0
,
0
,
0
,
0
,
4
,
1
,
1
,
1
,
4
,
0
,
4
,
0
,
4
,
1
,
1
,
1
,
1
,
1
,
4
,
1
,
4
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
7
,
1
,
7
,
7
,
7
,
1
,
7
,
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
],
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
:
2
,
type
:
null
},
{
index
:
3
,
type
:
null
},
{
index
:
4
,
type
:
null
},
{
index
:
5
,
type
:
null
},
{
index
:
6
,
type
:
null
},
{
index
:
8
,
type
:
null
},
{
index
:
10
,
type
:
null
},
{
index
:
16
,
type
:
null
}]
}
map
:
{
lattices
:
[
2
,
0
,
2
,
2
,
2
,
2
,
2
,
0
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
2
,
2
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
2
,
0
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
0
,
1
,
1
,
0
,
2
,
2
,
2
,
0
,
1
,
1
,
2
,
2
,
1
,
1
,
1
,
1
,
1
,
2
,
2
,
2
,
2
,
1
,
1
,
1
,
1
,
1
,
2
,
2
,
0
,
2
,
3
,
3
,
3
,
3
,
3
,
2
,
0
],
// connectedLats: [[74, 2], [75, 3], [76, 4], [77, 5], [78, 6]],
elements
:
[
1
,
1
,
0
,
0
,
5
,
0
,
0
,
1
,
1
,
1
,
4
,
0
,
0
,
0
,
0
,
0
,
4
,
1
,
1
,
1
,
4
,
0
,
4
,
0
,
4
,
1
,
1
,
1
,
1
,
1
,
4
,
1
,
4
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
7
,
1
,
7
,
7
,
7
,
1
,
7
,
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
],
recycles
:
[],
generateLats
:
[{
index
:
0
,
type
:
null
},
{
index
:
2
,
type
:
null
},
{
index
:
3
,
type
:
null
},
{
index
:
4
,
type
:
null
},
{
index
:
5
,
type
:
null
},
{
index
:
6
,
type
:
null
},
{
index
:
8
,
type
:
null
},
{
index
:
10
,
type
:
null
},
{
index
:
16
,
type
:
null
}]
}
},
//131
{
...
...
@@ -380,11 +386,11 @@ export const Chapters7: ChapterData[] = [
},
//133
{
baseElementTypes
:
[
0
,
1
,
2
,
3
,
4
],
bubbleProbability
:
0.2
,
stepCount
:
26
,
passTarget
:
{
type
:
1
,
elements
:
[{
type
:
9
,
count
:
47
}]
},
starScores
:
[
5000
,
12000
,
21000
],
baseElementTypes
:
[
0
,
1
,
2
,
3
,
4
],
bubbleProbability
:
0.2
,
stepCount
:
26
,
passTarget
:
{
type
:
1
,
elements
:
[{
type
:
9
,
count
:
47
}]
},
starScores
:
[
5000
,
12000
,
21000
],
map
:
{
lattices
:
[
1
,
0
,
2
,
2
,
2
,
2
,
2
,
0
,
1
,
2
,
1
,
2
,
2
,
2
,
2
,
2
,
1
,
2
,
2
,
1
,
2
,
2
,
2
,
2
,
2
,
1
,
2
,
2
,
1
,
2
,
2
,
2
,
2
,
2
,
1
,
2
,
1
,
1
,
0
,
0
,
3
,
0
,
0
,
1
,
1
,
1
,
1
,
3
,
3
,
3
,
3
,
3
,
1
,
1
,
1
,
1
,
3
,
2
,
2
,
2
,
3
,
1
,
1
,
1
,
1
,
3
,
2
,
2
,
2
,
3
,
1
,
1
,
0
,
1
,
3
,
2
,
2
,
2
,
3
,
1
,
0
],
connectedLats
:
[[
29
,
47
],
[
30
,
48
],
[
32
,
50
],
[
33
,
51
]],
elements
:
[
1
,
1
,
2
,
4
,
4
,
4
,
2
,
1
,
1
,
2
,
7
,
2
,
4
,
4
,
4
,
2
,
7
,
2
,
2
,
7
,
2
,
4
,
4
,
4
,
2
,
7
,
2
,
2
,
7
,
2
,
2
,
2
,
2
,
2
,
7
,
2
,
7
,
7
,
1
,
1
,
1
,
1
,
1
,
7
,
7
,
7
,
7
,
1
,
1
,
1
,
1
,
1
,
7
,
7
,
7
,
7
,
1
,
4
,
4
,
4
,
1
,
7
,
7
,
7
,
7
,
1
,
4
,
4
,
4
,
1
,
7
,
7
,
1
,
7
,
1
,
4
,
4
,
4
,
1
,
7
,
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
,
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
:
2
,
type
:
null
},
{
index
:
3
,
type
:
null
},
{
index
:
4
,
type
:
null
},
{
index
:
5
,
type
:
null
},
{
index
:
6
,
type
:
null
},
{
index
:
8
,
type
:
null
},
{
index
:
10
,
type
:
null
},
{
index
:
16
,
type
:
null
}]
}
},
//134
...
...
@@ -397,17 +403,17 @@ export const Chapters7: ChapterData[] = [
},
//136
{
baseElementTypes
:
[
0
,
2
,
1
,
3
,
4
],
bubbleProbability
:
0.1
,
stepCount
:
30
,
baseElementTypes
:
[
0
,
2
,
1
,
3
,
4
],
bubbleProbability
:
0.1
,
stepCount
:
30
,
passTarget
:
{
type
:
1
,
elements
:
[{
type
:
9
,
count
:
54
}]
},
starScores
:
[
5000
,
12000
,
21000
],
map
:
{
lattices
:
[
2
,
2
,
1
,
0
,
0
,
0
,
1
,
2
,
2
,
3
,
2
,
1
,
1
,
0
,
1
,
1
,
2
,
3
,
3
,
2
,
1
,
1
,
1
,
1
,
1
,
2
,
3
,
0
,
2
,
2
,
1
,
1
,
1
,
2
,
2
,
0
,
2
,
3
,
2
,
1
,
1
,
1
,
2
,
3
,
2
,
3
,
3
,
2
,
2
,
2
,
2
,
2
,
3
,
3
,
3
,
3
,
3
,
3
,
2
,
3
,
3
,
3
,
3
,
2
,
3
,
3
,
3
,
2
,
3
,
3
,
3
,
2
,
2
,
0
,
0
,
3
,
3
,
3
,
0
,
0
,
2
],
connectedLats
:
[],
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
,
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
],
baseElements
:
[
12
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
32
,
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
,
23
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
43
,
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
,
22
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
42
],
recycles
:
[],
generateLats
:
[{
index
:
0
,
type
:
null
},
{
index
:
1
,
type
:
null
},
{
index
:
2
,
type
:
null
},
{
index
:
6
,
type
:
null
},
{
index
:
7
,
type
:
null
},
{
index
:
8
,
type
:
null
},
{
index
:
12
,
type
:
null
},
{
index
:
14
,
type
:
null
},
{
index
:
22
,
type
:
null
}]
}
},
//137
{
baseElementTypes
:
[
0
,
1
,
2
,
3
,
4
],
bubbleProbability
:
0.1
,
stepCount
:
25
,
passTarget
:
{
type
:
1
,
elements
:
[{
type
:
9
,
count
:
61
}]
},
baseElementTypes
:
[
0
,
1
,
2
,
3
,
4
],
bubbleProbability
:
0.1
,
stepCount
:
25
,
passTarget
:
{
type
:
1
,
elements
:
[{
type
:
9
,
count
:
61
}]
},
starScores
:
[
5000
,
12000
,
21000
],
map
:
{
lattices
:
[
2
,
2
,
2
,
2
,
0
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
0
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
1
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
0
,
2
,
2
,
2
,
2
,
0
,
2
,
2
,
2
,
1
,
2
,
2
,
2
,
0
,
1
,
2
,
2
,
2
,
1
,
2
,
2
,
2
,
1
,
0
,
1
,
2
,
2
,
2
,
2
,
2
,
1
,
0
,
1
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
1
,
0
,
1
,
2
,
2
,
2
,
2
,
2
,
0
,
0
],
connectedLats
:
[],
elements
:
[
1
,
4
,
1
,
4
,
1
,
4
,
1
,
4
,
1
,
4
,
1
,
4
,
1
,
1
,
1
,
4
,
1
,
4
,
1
,
4
,
1
,
4
,
7
,
4
,
1
,
4
,
1
,
4
,
1
,
4
,
1
,
1
,
1
,
4
,
1
,
4
,
1
,
4
,
1
,
2
,
7
,
2
,
1
,
4
,
1
,
1
,
1
,
1
,
2
,
2
,
2
,
1
,
1
,
1
,
1
,
1
,
1
,
2
,
1
,
2
,
1
,
1
,
1
,
1
,
1
,
1
,
2
,
2
,
2
,
1
,
1
,
1
,
1
,
1
,
1
,
2
,
1
,
2
,
1
,
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
,
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
,
14
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
14
,
0
,
0
,
0
,
0
],
recycles
:
[],
generateLats
:
[{
index
:
0
,
type
:
null
},
{
index
:
1
,
type
:
null
},
{
index
:
2
,
type
:
null
},
{
index
:
3
,
type
:
null
},
{
index
:
5
,
type
:
null
},
{
index
:
6
,
type
:
null
},
{
index
:
7
,
type
:
null
},
{
index
:
8
,
type
:
null
},
{
index
:
22
,
type
:
null
}]
}
},
//138
...
...
@@ -481,16 +487,16 @@ export const Chapters7: ChapterData[] = [
},
//139
{
baseElementTypes
:
[
0
,
1
,
3
,
2
,
4
],
baseElementTypes
:
[
0
,
1
,
3
,
2
,
4
],
bubbleProbability
:
0.2
,
stepCount
:
27
,
passTarget
:
{
type
:
1
,
elements
:
[{
type
:
9
,
count
:
31
}]
},
starScores
:
[
5000
,
12000
,
21000
],
map
:
{
lattices
:
[
2
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
2
,
2
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
2
,
2
,
1
,
1
,
1
,
0
,
1
,
1
,
1
,
2
,
0
,
2
,
3
,
1
,
2
,
1
,
3
,
2
,
0
,
0
,
0
,
3
,
1
,
1
,
1
,
3
,
0
,
0
,
0
,
2
,
3
,
3
,
3
,
3
,
3
,
2
,
0
,
2
,
1
,
1
,
3
,
0
,
3
,
1
,
1
,
2
,
2
,
1
,
1
,
3
,
3
,
3
,
1
,
1
,
2
,
2
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
2
],
connectedLats
:
[[
18
,
54
],
[
28
,
46
],
[
13
,
31
],
[
49
,
67
],
[
34
,
52
],
[
26
,
62
]],
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
,
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
],
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
}]
}
stepCount
:
27
,
passTarget
:
{
type
:
1
,
elements
:
[{
type
:
9
,
count
:
31
}]
},
starScores
:
[
5000
,
12000
,
21000
],
map
:
{
lattices
:
[
2
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
2
,
2
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
2
,
2
,
1
,
1
,
1
,
0
,
1
,
1
,
1
,
2
,
0
,
2
,
3
,
1
,
2
,
1
,
3
,
2
,
0
,
0
,
0
,
3
,
1
,
1
,
1
,
3
,
0
,
0
,
0
,
2
,
3
,
3
,
3
,
3
,
3
,
2
,
0
,
2
,
1
,
1
,
3
,
0
,
3
,
1
,
1
,
2
,
2
,
1
,
1
,
3
,
3
,
3
,
1
,
1
,
2
,
2
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
2
],
connectedLats
:
[[
18
,
54
],
[
28
,
46
],
[
13
,
31
],
[
49
,
67
],
[
34
,
52
],
[
26
,
62
]],
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
,
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
],
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
}]
}
},
//140
{
baseElementTypes
:
[
0
,
1
,
2
,
3
,
4
],
bubbleProbability
:
0.1
,
stepCount
:
31
,
baseElementTypes
:
[
0
,
1
,
2
,
3
,
4
],
bubbleProbability
:
0.1
,
stepCount
:
31
,
passTarget
:
{
type
:
1
,
elements
:
[{
type
:
9
,
count
:
54
}]
},
starScores
:
[
5000
,
12000
,
21000
],
map
:
{
lattices
:
[
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
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
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
],
connectedLats
:
[],
elements
:
[
4
,
1
,
4
,
1
,
4
,
1
,
4
,
1
,
4
,
1
,
4
,
1
,
4
,
1
,
4
,
1
,
4
,
1
,
4
,
1
,
4
,
1
,
4
,
1
,
4
,
1
,
4
,
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
,
1
,
4
,
1
,
4
,
1
,
4
,
1
,
4
,
1
,
4
,
1
,
4
,
1
,
4
,
1
,
4
,
1
,
4
,
5
,
4
,
5
,
4
,
5
,
4
,
5
,
4
],
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
}]
}
},
]
\ No newline at end of file
egret/src/something/chapters/Chapter8.ts
View file @
4a44ece8
...
...
@@ -67,7 +67,37 @@ export const Chapters8: ChapterData[] = [
//142
{
baseElementTypes
:
[
0
,
1
,
2
,
3
,
4
],
bubbleProbability
:
0.1
,
stepCount
:
27
,
passTarget
:
{
type
:
1
,
elements
:
[{
type
:
6
,
count
:
2
}]
},
starScores
:
[
5000
,
12000
,
21000
],
map
:
{
lattices
:
[
0
,
0
,
0
,
0
,
1
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
0
,
1
,
0
,
1
,
1
,
1
,
1
,
1
,
1
,
0
,
1
,
0
,
1
,
1
,
1
,
1
,
1
,
1
,
0
,
1
,
0
,
1
,
1
,
1
,
1
,
1
,
1
,
0
,
1
,
0
,
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
,
1
,
0
,
1
,
1
,
1
],
connectedLats
:
[[
72
,
15
],
[
73
,
16
],
[
74
,
17
]],
elements
:
[
1
,
1
,
1
,
1
,
3
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
2
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
2
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
2
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
2
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
2
,
5
,
2
,
1
,
1
,
1
,
1
,
1
,
2
,
2
,
5
,
2
,
2
,
1
,
1
,
1
,
2
,
2
,
2
,
5
,
2
,
2
,
2
,
1
,
2
,
2
,
2
,
1
,
5
,
1
,
2
,
2
,
2
],
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
:
[
76
],
generateLats
:
[{
index
:
4
,
type
:
null
},
{
index
:
9
,
type
:
null
},
{
index
:
10
,
type
:
null
},
{
index
:
11
,
type
:
null
},
{
index
:
15
,
type
:
null
},
{
index
:
16
,
type
:
null
},
{
index
:
17
,
type
:
null
},
{
index
:
48
,
type
:
null
},
{
index
:
50
,
type
:
null
}]
}
bubbleProbability
:
0.1
,
stepCount
:
27
,
passTarget
:
{
type
:
1
,
elements
:
[{
type
:
6
,
count
:
2
}]
},
starScores
:
[
5000
,
12000
,
21000
],
map
:
{
lattices
:
[
0
,
0
,
0
,
0
,
1
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
0
,
1
,
0
,
1
,
1
,
1
,
1
,
1
,
1
,
0
,
1
,
0
,
1
,
1
,
1
,
1
,
1
,
1
,
0
,
1
,
0
,
1
,
1
,
1
,
1
,
1
,
1
,
0
,
1
,
0
,
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
,
1
,
0
,
1
,
1
,
1
],
connectedLats
:
[[
72
,
15
],
[
73
,
16
],
[
74
,
17
]],
elements
:
[
1
,
1
,
1
,
1
,
3
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
2
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
2
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
2
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
2
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
2
,
5
,
2
,
1
,
1
,
1
,
1
,
1
,
2
,
2
,
5
,
2
,
2
,
1
,
1
,
1
,
2
,
2
,
2
,
5
,
2
,
2
,
2
,
1
,
2
,
2
,
2
,
1
,
5
,
1
,
2
,
2
,
2
],
recycles
:
[
76
,
72
,
73
,
74
,
78
,
79
,
80
],
generateLats
:
[{
index
:
4
,
type
:
null
},
{
index
:
9
,
type
:
null
},
{
index
:
10
,
type
:
null
},
{
index
:
11
,
type
:
null
},
{
index
:
15
,
type
:
null
},
{
index
:
16
,
type
:
null
},
{
index
:
17
,
type
:
null
},
{
index
:
48
,
type
:
null
},
{
index
:
50
,
type
:
null
}]
}
},
//143
{
...
...
@@ -390,7 +420,22 @@ export const Chapters8: ChapterData[] = [
baseElementTypes
:
[
0
,
1
,
2
,
3
],
bubbleProbability
:
0.1
,
stepCount
:
25
,
passTarget
:
{
type
:
1
,
elements
:
[{
type
:
9
,
count
:
26
}]
},
starScores
:
[
5000
,
12000
,
21000
],
map
:
{
lattices
:
[
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
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
0
,
0
,
0
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
0
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
0
,
0
,
0
,
1
,
1
,
1
,
1
,
1
,
0
,
0
],
connectedLats
:
[[
30
,
48
],
[
31
,
49
],
[
32
,
50
]],
elements
:
[
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
7
,
1
,
2
,
1
,
1
,
1
,
2
,
1
,
7
,
7
,
1
,
1
,
2
,
2
,
2
,
1
,
1
,
7
,
7
,
1
,
2
,
1
,
1
,
1
,
2
,
1
,
7
,
7
,
1
,
1
,
2
,
2
,
2
,
1
,
1
,
7
,
7
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
7
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
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
,
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
:
2
,
type
:
null
},
{
index
:
3
,
type
:
null
},
{
index
:
4
,
type
:
null
},
{
index
:
5
,
type
:
null
},
{
index
:
6
,
type
:
null
},
{
index
:
10
,
type
:
null
},
{
index
:
16
,
type
:
null
},
{
index
:
18
,
type
:
null
},
{
index
:
26
,
type
:
null
}]
}
passTarget
:
{
type
:
1
,
elements
:
[{
type
:
9
,
count
:
26
}]
},
starScores
:
[
5000
,
12000
,
21000
],
map
:
{
lattices
:
[
0
,
0
,
1
,
1
,
1
,
1
,
1
,
0
,
0
,
0
,
1
,
1
,
3
,
3
,
3
,
3
,
1
,
0
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
0
,
0
,
0
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
0
,
1
,
3
,
3
,
3
,
3
,
1
,
1
,
0
,
0
,
0
,
1
,
1
,
1
,
1
,
1
,
0
,
0
],
connectedLats
:
[[
30
,
48
],
[
31
,
49
],
[
32
,
50
]],
elements
:
[
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
7
,
1
,
2
,
1
,
1
,
1
,
2
,
1
,
7
,
7
,
1
,
1
,
2
,
2
,
2
,
1
,
1
,
7
,
7
,
1
,
2
,
1
,
1
,
1
,
2
,
1
,
7
,
7
,
1
,
1
,
2
,
2
,
2
,
1
,
1
,
7
,
7
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
7
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
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
,
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
:
2
,
type
:
null
},
{
index
:
3
,
type
:
null
},
{
index
:
4
,
type
:
null
},
{
index
:
5
,
type
:
null
},
{
index
:
6
,
type
:
null
},
{
index
:
10
,
type
:
null
},
{
index
:
16
,
type
:
null
},
{
index
:
18
,
type
:
null
},
{
index
:
26
,
type
:
null
}]
}
},
//155
{
...
...
egret/src/something/chapters/Chapter9.ts
View file @
4a44ece8
...
...
@@ -8,11 +8,24 @@ import { ElementType } from "../enum/ElementType";
export
const
Chapters9
:
ChapterData
[]
=
[
//161
{
baseElementTypes
:
[
0
,
1
,
2
,
3
,
4
],
bubbleProbability
:
0.1
,
stepCount
:
27
,
passTarget
:
{
type
:
1
,
elements
:
[{
type
:
9
,
count
:
63
}]
},
starScores
:
[
5000
,
12000
,
21000
],
map
:
{
lattices
:
[
2
,
2
,
2
,
3
,
1
,
2
,
2
,
3
,
3
,
3
,
0
,
3
,
0
,
3
,
0
,
3
,
0
,
3
,
3
,
0
,
3
,
0
,
3
,
0
,
3
,
0
,
3
,
3
,
0
,
3
,
0
,
3
,
0
,
3
,
0
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
0
,
3
,
0
,
3
,
0
,
3
,
0
,
3
,
3
,
2
,
3
,
0
,
3
,
0
,
3
,
2
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
],
connectedLats
:
[],
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
,
2
,
1
,
2
,
1
,
2
,
1
,
2
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
7
,
1
,
2
,
1
,
2
,
1
,
2
,
1
,
7
,
2
,
1
,
7
,
7
,
1
,
7
,
1
,
1
,
2
],
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
,
11
,
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
}]
}
baseElementTypes
:
[
0
,
1
,
2
,
3
,
4
],
bubbleProbability
:
0.1
,
stepCount
:
27
,
passTarget
:
{
type
:
1
,
elements
:
[{
type
:
9
,
count
:
63
}]
},
starScores
:
[
5000
,
12000
,
21000
],
map
:
{
lattices
:
[
2
,
2
,
2
,
3
,
2
,
2
,
2
,
3
,
3
,
3
,
0
,
3
,
0
,
3
,
0
,
3
,
0
,
3
,
3
,
0
,
3
,
0
,
3
,
0
,
3
,
0
,
3
,
3
,
0
,
3
,
0
,
3
,
0
,
3
,
0
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
0
,
3
,
0
,
3
,
0
,
3
,
0
,
3
,
3
,
2
,
3
,
0
,
3
,
0
,
3
,
2
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
],
connectedLats
:
[],
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
,
2
,
1
,
2
,
1
,
2
,
1
,
2
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
7
,
1
,
2
,
1
,
2
,
1
,
2
,
1
,
7
,
2
,
1
,
7
,
7
,
1
,
7
,
1
,
1
,
2
],
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
,
11
,
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
}]
}
},
//162
{
...
...
@@ -150,7 +163,55 @@ export const Chapters9: ChapterData[] = [
},
//167
{
baseElementTypes
:
[
0
,
1
,
2
,
3
,
4
],
bubbleProbability
:
0.1
,
stepCount
:
22
,
passTarget
:
{
type
:
1
,
elements
:
[{
type
:
9
,
count
:
83
}]
},
starScores
:
[
5000
,
12000
,
21000
],
map
:
{
lattices
:
[
2
,
2
,
2
,
2
,
1
,
2
,
2
,
2
,
2
,
2
,
2
,
3
,
2
,
2
,
2
,
3
,
2
,
2
,
2
,
3
,
2
,
3
,
2
,
3
,
2
,
3
,
2
,
2
,
2
,
3
,
3
,
2
,
3
,
3
,
2
,
2
,
2
,
3
,
2
,
0
,
2
,
0
,
2
,
3
,
2
,
0
,
0
,
0
,
0
,
3
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
0
,
2
,
2
,
2
,
2
],
connectedLats
:
[],
elements
:
[
1
,
1
,
1
,
1
,
7
,
1
,
1
,
1
,
1
,
2
,
2
,
1
,
2
,
1
,
2
,
1
,
2
,
2
,
2
,
1
,
2
,
1
,
1
,
1
,
2
,
1
,
2
,
2
,
2
,
1
,
1
,
1
,
1
,
1
,
2
,
2
,
2
,
1
,
2
,
1
,
1
,
1
,
2
,
1
,
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
,
4
,
4
,
4
,
4
,
1
,
4
,
4
,
4
,
4
],
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
}]
}
baseElementTypes
:
[
0
,
1
,
2
,
3
,
4
],
bubbleProbability
:
0.1
,
stepCount
:
22
,
passTarget
:
{
type
:
1
,
elements
:
[{
type
:
9
,
count
:
60
}]
},
starScores
:
[
5000
,
12000
,
21000
],
map
:
{
lattices
:
[
2
,
2
,
2
,
2
,
1
,
2
,
2
,
2
,
2
,
2
,
2
,
3
,
2
,
2
,
2
,
3
,
2
,
2
,
2
,
3
,
2
,
3
,
2
,
3
,
2
,
3
,
2
,
2
,
2
,
3
,
3
,
2
,
3
,
3
,
2
,
2
,
2
,
3
,
2
,
0
,
2
,
0
,
2
,
3
,
2
,
0
,
0
,
0
,
0
,
3
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
0
,
2
,
2
,
2
,
2
],
connectedLats
:
[],
elements
:
[
1
,
1
,
1
,
1
,
7
,
1
,
1
,
1
,
1
,
2
,
2
,
1
,
2
,
1
,
2
,
1
,
2
,
2
,
2
,
1
,
2
,
1
,
1
,
1
,
2
,
1
,
2
,
2
,
2
,
1
,
1
,
1
,
1
,
1
,
2
,
2
,
2
,
1
,
2
,
1
,
1
,
1
,
2
,
1
,
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
,
4
,
4
,
4
,
4
,
1
,
4
,
4
,
4
,
4
],
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
:
54
,
type
:
null
},
{
index
:
55
,
type
:
null
},
{
index
:
56
,
type
:
null
},
{
index
:
60
,
type
:
null
},
{
index
:
61
,
type
:
null
},
{
index
:
62
,
type
:
null
},
]
}
},
//168
{
...
...
@@ -175,9 +236,9 @@ export const Chapters9: ChapterData[] = [
},
//170
{
baseElementTypes
:
[
0
,
1
,
2
,
3
,
4
],
bubbleProbability
:
0.1
,
stepCount
:
28
,
baseElementTypes
:
[
0
,
1
,
2
,
3
,
4
],
bubbleProbability
:
0.1
,
stepCount
:
28
,
passTarget
:
{
type
:
1
,
elements
:
[{
type
:
9
,
count
:
59
}]
},
starScores
:
[
5000
,
12000
,
21000
],
map
:
{
lattices
:
[
3
,
1
,
1
,
1
,
2
,
1
,
1
,
1
,
3
,
2
,
2
,
1
,
2
,
2
,
2
,
1
,
2
,
2
,
2
,
1
,
2
,
1
,
3
,
1
,
2
,
1
,
2
,
2
,
2
,
1
,
2
,
2
,
2
,
1
,
2
,
2
,
2
,
2
,
3
,
2
,
2
,
2
,
3
,
2
,
2
,
2
,
2
,
1
,
2
,
2
,
2
,
1
,
2
,
2
,
2
,
1
,
2
,
1
,
3
,
1
,
2
,
1
,
2
,
2
,
2
,
1
,
2
,
2
,
2
,
1
,
2
,
2
,
3
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
3
],
connectedLats
:
[],
elements
:
[
1
,
4
,
4
,
4
,
2
,
4
,
4
,
4
,
1
,
2
,
1
,
1
,
1
,
2
,
1
,
1
,
1
,
2
,
2
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
2
,
2
,
1
,
1
,
1
,
2
,
1
,
1
,
1
,
2
,
2
,
2
,
1
,
2
,
2
,
2
,
1
,
2
,
2
,
2
,
0
,
0
,
0
,
2
,
0
,
0
,
0
,
2
,
2
,
0
,
0
,
0
,
1
,
0
,
0
,
0
,
2
,
2
,
0
,
0
,
0
,
2
,
0
,
0
,
0
,
2
,
1
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
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
,
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
}]
}
},
//171
...
...
@@ -351,10 +412,10 @@ export const Chapters9: ChapterData[] = [
},
//174
{
baseElementTypes
:
[
0
,
1
,
2
,
3
,
4
],
bubbleProbability
:
0.1
,
stepCount
:
25
,
passTarget
:
{
type
:
1
,
elements
:
[{
type
:
9
,
count
:
61
}]
},
baseElementTypes
:
[
0
,
1
,
2
,
3
,
4
],
bubbleProbability
:
0.1
,
stepCount
:
25
,
passTarget
:
{
type
:
1
,
elements
:
[{
type
:
9
,
count
:
61
}]
},
starScores
:
[
5000
,
12000
,
21000
],
map
:
{
lattices
:
[
2
,
2
,
2
,
2
,
0
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
0
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
1
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
0
,
2
,
2
,
2
,
2
,
0
,
2
,
2
,
2
,
1
,
2
,
2
,
2
,
0
,
1
,
2
,
2
,
2
,
1
,
2
,
2
,
2
,
1
,
0
,
1
,
2
,
2
,
2
,
2
,
2
,
1
,
0
,
1
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
1
,
0
,
1
,
2
,
2
,
2
,
2
,
2
,
0
,
0
],
connectedLats
:
[],
elements
:
[
1
,
4
,
1
,
4
,
1
,
4
,
1
,
4
,
1
,
4
,
1
,
4
,
1
,
1
,
1
,
4
,
1
,
4
,
1
,
4
,
1
,
4
,
7
,
4
,
1
,
4
,
1
,
4
,
1
,
4
,
1
,
1
,
1
,
4
,
1
,
4
,
1
,
4
,
1
,
2
,
7
,
2
,
1
,
4
,
1
,
1
,
1
,
1
,
2
,
2
,
2
,
1
,
1
,
1
,
1
,
1
,
1
,
2
,
1
,
2
,
1
,
1
,
1
,
1
,
1
,
1
,
2
,
2
,
2
,
1
,
1
,
1
,
1
,
1
,
1
,
2
,
1
,
2
,
1
,
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
,
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
,
14
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
14
,
0
,
0
,
0
,
0
],
recycles
:
[],
generateLats
:
[{
index
:
0
,
type
:
null
},
{
index
:
1
,
type
:
null
},
{
index
:
2
,
type
:
null
},
{
index
:
3
,
type
:
null
},
{
index
:
5
,
type
:
null
},
{
index
:
6
,
type
:
null
},
{
index
:
7
,
type
:
null
},
{
index
:
8
,
type
:
null
},
{
index
:
22
,
type
:
null
}]
}
},
//175
...
...
@@ -442,10 +503,10 @@ export const Chapters9: ChapterData[] = [
},
//180
{
baseElementTypes
:
[
0
,
2
,
3
,
4
],
bubbleProbability
:
0.2
,
stepCount
:
35
,
passTarget
:
{
type
:
1
,
elements
:
[{
type
:
1
,
count
:
46
}]
},
baseElementTypes
:
[
0
,
2
,
3
,
4
],
bubbleProbability
:
0.2
,
stepCount
:
35
,
passTarget
:
{
type
:
1
,
elements
:
[{
type
:
1
,
count
:
46
}]
},
starScores
:
[
5000
,
12000
,
17000
],
map
:
{
lattices
:
[
0
,
0
,
1
,
1
,
1
,
1
,
1
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
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
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
0
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
0
,
0
,
0
,
1
,
1
,
1
,
1
,
1
,
0
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
0
,
0
,
0
],
connectedLats
:
[],
elements
:
[
0
,
0
,
1
,
1
,
1
,
1
,
1
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
,
1
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
,
1
,
0
,
0
,
0
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
0
,
1
,
1
,
6
,
1
,
1
,
1
,
6
,
1
,
1
,
1
,
1
,
6
,
1
,
1
,
1
,
6
,
1
,
1
,
0
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
0
,
0
,
0
,
1
,
1
,
1
,
1
,
1
,
0
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
0
,
0
,
0
],
baseElements
:
[
0
,
0
,
10
,
10
,
30
,
10
,
10
,
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
:
2
,
type
:
[
10
,
30
]
},
{
index
:
3
,
type
:
[
10
,
30
]
},
{
index
:
4
,
type
:
[
10
,
30
]
},
{
index
:
5
,
type
:
[
10
,
30
]
},
{
index
:
6
,
type
:
[
10
,
30
]
},
{
index
:
20
,
type
:
null
},
{
index
:
21
,
type
:
null
},
{
index
:
22
,
type
:
null
},
{
index
:
23
,
type
:
null
},
{
index
:
24
,
type
:
null
}]
}
},
]
\ No newline at end of file
egret/src/something/chapters/getChapter.ts
View file @
4a44ece8
...
...
@@ -37,13 +37,13 @@ export function getChapterData(index: number): ChapterData {
}
var
a
=
{
"level
Num
"
:
102
,
"
levelTarget
"
:
[
{
"tar
getType"
:
5
,
"target
Num"
:
40
}
"level"
:
102
,
"
tar
"
:
[
{
"tar
Type"
:
5
,
"tar
Num"
:
40
}
],
"one
StarScore
"
:
6000
,
"two
StarScore
"
:
15000
,
"three
StarScore
"
:
32000
"one
s
"
:
6000
,
"two
s
"
:
15000
,
"three
s
"
:
32000
};
//取数据格式用,一般情况注释
// (function exportFile(chapters: ChapterData[]) {
...
...
@@ -52,20 +52,20 @@ var a = {
// var chapter: ChapterData = chapters[i]
// var target: PassTargetData = chapter.passTarget
// var a: any = {};
// a["level
Num
"] = i;
// a["
levelTarget
"] = [];
// a["level"] = i;
// a["
tar
"] = [];
// if (target.type == PassType.SCORE_TARGET) {
// a["
levelTarget"].push({ "targetType": 1, "target
Num": target.score })
// a["
tar"].push({ "tarType": 1, "tar
Num": target.score })
// } else {
// for (var j = 0; j < target.elements.length; j++) {
// var element = target.elements[j];
// a["
levelTarget"].push({ "targetType": submitTran[element.type], "target
Num": element.count })
// a["
tar"].push({ "tarType": submitTran[element.type], "tar
Num": element.count })
// }
// }
// a["one
StarScore
"] = chapter.starScores[0];
// a["two
StarScore
"] = chapter.starScores[1];
// a["three
StarScore
"] = chapter.starScores[2];
// a["one
s
"] = chapter.starScores[0];
// a["two
s
"] = chapter.starScores[1];
// a["three
s
"] = chapter.starScores[2];
// obj.push(a)
// }
...
...
egret/src/startScene/StartScene.ts
View file @
4a44ece8
...
...
@@ -120,7 +120,7 @@ export const createData = () => {
const
repeatCount
=
getRepeatCount
();
for
(
let
i
=
0
;
i
<
repeatCount
;
i
++
)
{
const
repeat
=
new
MapRpeatPart
(
i
);
const
repeat
=
new
MapRpeatPart
(
i
,
startSceneData
.
top
.
height
);
repeat
.
loadSkin
();
repeat
.
start
();
list
.
push
(
repeat
);
}
...
...
mock/happyclear/getBackReward.json
View file @
4a44ece8
...
...
@@ -2,6 +2,6 @@
"code"
:
"0000000000"
,
"data"
:
null
,
"desc"
:
"OK"
,
"success"
:
1
,
"success"
:
0
,
"timestamp"
:
1572079274940
}
\ No newline at end of file
mock/happyclear/homemax.json
View file @
4a44ece8
...
...
@@ -980,32 +980,12 @@
{
"levelNum"
:
195
,
"maxScore"
:
47440
,
"stars"
:
3
"stars"
:
2
},
{
"levelNum"
:
196
,
"maxScore"
:
47440
,
"stars"
:
3
},
{
"levelNum"
:
197
,
"maxScore"
:
47440
,
"stars"
:
3
},
{
"levelNum"
:
198
,
"maxScore"
:
47440
,
"stars"
:
3
},
{
"levelNum"
:
199
,
"maxScore"
:
47440
,
"stars"
:
3
},
{
"levelNum"
:
200
,
"maxScore"
:
47440
,
"stars"
:
3
"stars"
:
1
}
],
"remainProp"
:
[
...
...
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