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
f5ee7c35
Commit
f5ee7c35
authored
Mar 17, 2020
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
5cb4b3b0
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
137 additions
and
104 deletions
+137
-104
index.html
egret/index.html
+2
-2
BackSkin.exml
egret/resource/skins/BackSkin.exml
+1
-1
Chapter20 copy.ts
egret/src/something/chapters/Chapter20 copy.ts
+0
-14
Chapter21.ts
egret/src/something/chapters/Chapter21.ts
+7
-0
getChapter.ts
egret/src/something/chapters/getChapter.ts
+2
-0
xxxx.ts
egret/src/something/chapters/xxxx.ts
+0
-87
home.json
mock/happyclear/home.json
+125
-0
No files found.
egret/index.html
View file @
f5ee7c35
...
...
@@ -127,8 +127,8 @@
// localStorage.clear();
window
[
'imgver'
]
=
'11112'
;
//top 8 ,repeat 22 , bottom 3
window
[
'total_level'
]
=
8
+
3
+
22
*
2
4
;
window
[
'last_level'
]
=
5
25
;
window
[
'total_level'
]
=
8
+
3
+
22
*
2
5
;
window
[
'last_level'
]
=
5
50
;
var
sharePic
=
document
.
getElementById
(
'pic'
);
...
...
egret/resource/skins/BackSkin.exml
View file @
f5ee7c35
...
...
@@ -3,7 +3,7 @@
<w:Config
id=
"16e0235c541"
/>
<e:Image
source=
"backbg_png"
scale9Grid=
"93,550,564,42"
y=
"-107"
horizontalCenter=
"0"
/>
<e:Image
id=
"bg"
source=
"commom_prop_bg_png"
y=
"456.76"
horizontalCenter=
"0"
/>
<e:Image
id=
"img"
source=
"{data.url}"
y=
"
503.7
6"
horizontalCenter=
"0"
/>
<e:Image
id=
"img"
source=
"{data.url}"
y=
"
452.76"
width=
"494"
height=
"22
6"
horizontalCenter=
"0"
/>
<e:Image
id=
"blood"
y=
"522.8"
horizontalCenter=
"-33.5"
source=
"common_blood_png"
locked=
"true"
visible=
"false"
/>
<e:Image
id=
"money"
y=
"543"
horizontalCenter=
"-33.5"
scaleX=
"0.8"
scaleY=
"0.8"
source=
"common_yuanbao_png"
visible=
"false"
/>
<e:Image
id=
"propImg"
source=
"{data.url}"
y=
"507.76"
x=
"283"
visible=
"false"
/>
...
...
egret/src/something/chapters/Chapter20 copy.ts
deleted
100644 → 0
View file @
5cb4b3b0
import
{
ChapterData
}
from
"../interface/ChapterData"
;
//501-525
export
const
Chapters20
:
ChapterData
[]
=
[
{
baseElementTypes
:
[
0
,
1
,
2
,
3
],
bubbleProbability
:
0
,
stepCount
:
27
,
passTarget
:
{
type
:
1
,
elements
:
[{
type
:
3
,
count
:
98
}]
},
starScores
:
[
15000
,
20000
,
25000
],
map
:
{
lattices
:
[
1
,
0
,
1
,
0
,
1
,
0
,
1
,
0
,
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
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
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
,
0
,
0
,
1
,
0
,
1
,
0
,
0
,
1
],
connectedLats
:
[],
conveyor
:
[[
2
,
65
]],
conveyorConnectedLats
:
[[
65
,
2
]],
elements
:
[
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
12
,
1
,
12
,
1
,
12
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
2
,
1
,
2
,
1
,
1
,
1
,
1
,
4
,
1
,
2
,
1
,
2
,
1
,
4
,
1
,
1
,
4
,
12
,
2
,
12
,
2
,
12
,
4
,
1
,
1
,
1
,
1
,
2
,
1
,
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
,
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
:
4
,
type
:
null
},
{
index
:
6
,
type
:
null
},
{
index
:
8
,
type
:
null
},
{
index
:
10
,
type
:
null
},
{
index
:
12
,
type
:
null
},
{
index
:
14
,
type
:
null
},
{
index
:
16
,
type
:
null
}]
}
}
]
\ No newline at end of file
egret/src/something/chapters/Chapter21.ts
0 → 100644
View file @
f5ee7c35
import
{
ChapterData
}
from
"../interface/ChapterData"
;
import
{
PassType
}
from
"../enum/PassType"
;
import
{
ElementType
}
from
"../enum/ElementType"
;
//526-550
export
const
Chapters21
:
ChapterData
[]
=
[
]
\ No newline at end of file
egret/src/something/chapters/getChapter.ts
View file @
f5ee7c35
...
...
@@ -22,6 +22,7 @@ import { Chapters17 } from "./Chapter17";
import
{
Chapters18
}
from
"./Chapter18"
;
import
{
Chapters19
}
from
"./Chapter19"
;
import
{
Chapters20
}
from
"./Chapter20"
;
import
{
Chapters21
}
from
"./Chapter21"
;
//所有的关卡
const
chapters
:
ChapterData
[]
=
[].
concat
(
...
...
@@ -45,6 +46,7 @@ const chapters: ChapterData[] = [].concat(
Chapters18
,
Chapters19
,
Chapters20
,
Chapters21
,
)
// console.log(chapters)
chapters
.
forEach
((
chapter
,
index
)
=>
{
...
...
egret/src/something/chapters/xxxx.ts
deleted
100644 → 0
View file @
5cb4b3b0
import
{
ChapterData
}
from
"../interface/ChapterData"
;
import
{
PassType
}
from
"../enum/PassType"
;
import
{
ElementType
}
from
"../enum/ElementType"
;
//501-525
export
const
Chapters20
:
ChapterData
[]
=
[
{
baseElementTypes
:
[
0
,
1
,
2
,
3
,
4
],
bubbleProbability
:
0
,
stepCount
:
999
,
passTarget
:
{
type
:
PassType
.
ELEMENT_TARGET
,
elements
:
[
{
type
:
ElementType
.
CHICKEN
,
count
:
995
,
},
],
},
starScores
:
[
1000
,
5000
,
10000
],
map
:
{
lattices
:
[
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
1
,
0
,
0
,
0
,
1
,
0
,
0
,
0
,
1
,
1
,
1
,
0
,
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
,
0
,
0
,
0
,
0
,
1
,
0
,
0
,
0
,
0
,
],
conveyor
:
[
// [29,56],
// [51, 33],
[
29
,
56
],
[
57
,
60
],
[
51
,
33
],
[
32
,
30
],
// [57,60],
// [32, 30],
],
conveyorConnectedLats
:
[
// [56,51],
// [33,29],
[
56
,
57
],
[
60
,
51
],
[
33
,
32
],
[
30
,
29
],
// [60,32],
// [30,57],
],
generateLats
:
[
{
index
:
11
,
type
:
[
0
],
cus
:
[]
},
{
index
:
15
,
type
:
[
0
],
cus
:
[]
},
],
// connectedLats: [[76, 11]],
elements
:
[
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
1
,
0
,
0
,
0
,
1
,
0
,
0
,
0
,
1
,
1
,
1
,
0
,
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
,
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: [70, 71, 72, 73]
},
}
]
\ No newline at end of file
mock/happyclear/home.json
View file @
f5ee7c35
...
...
@@ -2638,6 +2638,131 @@
"levelNum"
:
525
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
526
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
527
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
528
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
529
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
530
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
531
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
532
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
533
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
534
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
535
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
536
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
537
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
538
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
539
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
540
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
541
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
542
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
543
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
544
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
545
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
546
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
547
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
548
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
549
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
550
,
"maxScore"
:
47440
,
"stars"
:
1
}
],
...
...
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