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
c9fdbb3c
Commit
c9fdbb3c
authored
Feb 25, 2020
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
cc335fd4
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
275 additions
and
65 deletions
+275
-65
index.html
egret/index.html
+2
-2
Chapter17 copy.ts
egret/src/something/chapters/Chapter17 copy.ts
+0
-63
Chapter18.ts
egret/src/something/chapters/Chapter18.ts
+6
-0
getChapter.ts
egret/src/something/chapters/getChapter.ts
+2
-0
home.json
mock/happyclear/home.json
+140
-0
homemax.json
mock/happyclear/homemax.json
+125
-0
No files found.
egret/index.html
View file @
c9fdbb3c
...
@@ -127,8 +127,8 @@
...
@@ -127,8 +127,8 @@
// localStorage.clear();
// localStorage.clear();
window
[
'imgver'
]
=
'11112'
;
window
[
'imgver'
]
=
'11112'
;
//top 8 ,repeat 22 , bottom 3
//top 8 ,repeat 22 , bottom 3
window
[
'total_level'
]
=
8
+
3
+
22
*
2
1
;
window
[
'total_level'
]
=
8
+
3
+
22
*
2
2
;
window
[
'last_level'
]
=
4
50
;
window
[
'last_level'
]
=
4
75
;
var
sharePic
=
document
.
getElementById
(
'pic'
);
var
sharePic
=
document
.
getElementById
(
'pic'
);
...
...
egret/src/something/chapters/Chapter17 copy.ts
deleted
100644 → 0
View file @
cc335fd4
import
{
ChapterData
}
from
"../interface/ChapterData"
;
import
{
PassType
}
from
"../enum/PassType"
;
import
{
ElementType
}
from
"../enum/ElementType"
;
//426-450
export
const
Chapters17
:
ChapterData
[]
=
[
//426
{
baseElementTypes
:
[
0
,
1
,
2
,
3
],
bubbleProbability
:
0
,
stepCount
:
25
,
passTarget
:
{
type
:
PassType
.
ELEMENT_TARGET
,
elements
:
[
{
type
:
ElementType
.
CHICKEN
,
count
:
45
,
},
],
},
starScores
:
[
1000
,
5000
,
10000
],
map
:
{
lattices
:
[
1
,
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
,
],
generateLats
:
[
{
index
:
11
,
type
:
[
0
],
cus
:
[]
},
{
index
:
15
,
type
:
[
0
],
cus
:
[]
},
],
// connectedLats: [[0, 18], [1, 19], [2, 20]],
elements
:
[
16
,
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
,
16
,
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
,
20
,
0
,
0
,
0
,
20
,
0
,
0
,
0
,
20
,
10
,
20
,
0
,
20
,
10
,
20
,
0
,
20
,
10
,
20
,
10
,
20
,
10
,
20
,
10
,
20
,
20
,
10
,
20
,
20
,
10
,
20
,
20
,
10
,
20
,
0
,
20
,
10
,
20
,
10
,
20
,
10
,
20
,
0
,
0
,
0
,
20
,
10
,
20
,
10
,
20
,
0
,
0
,
0
,
0
,
0
,
20
,
10
,
20
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
20
,
0
,
0
,
0
,
0
,
],
// recycles: [70, 71, 72, 73]
},
}
]
\ No newline at end of file
egret/src/something/chapters/Chapter18.ts
0 → 100755
View file @
c9fdbb3c
import
{
ChapterData
}
from
"../interface/ChapterData"
;
//451-471
export
const
Chapters18
:
ChapterData
[]
=
[
]
\ No newline at end of file
egret/src/something/chapters/getChapter.ts
View file @
c9fdbb3c
...
@@ -19,6 +19,7 @@ import { submitTran } from "../enum/ElementType";
...
@@ -19,6 +19,7 @@ import { submitTran } from "../enum/ElementType";
import
{
Chapters15
}
from
"./Chapter15"
;
import
{
Chapters15
}
from
"./Chapter15"
;
import
{
Chapters16
}
from
"./Chapter16"
;
import
{
Chapters16
}
from
"./Chapter16"
;
import
{
Chapters17
}
from
"./Chapter17"
;
import
{
Chapters17
}
from
"./Chapter17"
;
import
{
Chapters18
}
from
"./Chapter18"
;
//所有的关卡
//所有的关卡
const
chapters
:
ChapterData
[]
=
[].
concat
(
const
chapters
:
ChapterData
[]
=
[].
concat
(
...
@@ -39,6 +40,7 @@ const chapters: ChapterData[] = [].concat(
...
@@ -39,6 +40,7 @@ const chapters: ChapterData[] = [].concat(
Chapters15
,
Chapters15
,
Chapters16
,
Chapters16
,
Chapters17
,
Chapters17
,
Chapters18
,
)
)
// console.log(chapters)
// console.log(chapters)
chapters
.
forEach
((
chapter
,
index
)
=>
{
chapters
.
forEach
((
chapter
,
index
)
=>
{
...
...
mock/happyclear/home.json
View file @
c9fdbb3c
...
@@ -2247,6 +2247,146 @@
...
@@ -2247,6 +2247,146 @@
"levelNum"
:
447
,
"levelNum"
:
447
,
"maxScore"
:
47440
,
"maxScore"
:
47440
,
"stars"
:
1
"stars"
:
1
},
{
"levelNum"
:
448
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
449
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
450
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
451
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
452
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
453
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
454
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
455
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
456
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
457
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
458
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
459
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
460
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
461
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
462
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
463
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
464
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
465
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
466
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
467
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
468
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
469
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
470
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
471
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
472
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
473
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
474
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
475
,
"maxScore"
:
47440
,
"stars"
:
1
}
}
],
],
...
...
mock/happyclear/homemax.json
View file @
c9fdbb3c
...
@@ -2262,6 +2262,131 @@
...
@@ -2262,6 +2262,131 @@
"levelNum"
:
450
,
"levelNum"
:
450
,
"maxScore"
:
47440
,
"maxScore"
:
47440
,
"stars"
:
1
"stars"
:
1
},
{
"levelNum"
:
451
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
452
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
453
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
454
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
455
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
456
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
457
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
458
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
459
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
460
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
461
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
462
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
463
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
464
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
465
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
466
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
467
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
468
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
469
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
470
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
471
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
472
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
473
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
474
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
475
,
"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