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
5bff6b16
Commit
5bff6b16
authored
Dec 21, 2019
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
1e545bf7
Changes
5
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
211 additions
and
26 deletions
+211
-26
MainScene.ts
egret/src/mainScene/MainScene.ts
+4
-1
Chapter12.ts
egret/src/something/chapters/Chapter12.ts
+26
-17
Chapter13.ts
egret/src/something/chapters/Chapter13.ts
+55
-8
getChapter.ts
egret/src/something/chapters/getChapter.ts
+1
-0
home.json
mock/happyclear/home.json
+125
-0
No files found.
egret/src/mainScene/MainScene.ts
View file @
5bff6b16
...
...
@@ -121,7 +121,7 @@ const redBombPanelName = "RedBombAlert";
//所有可能被添加节日红包的关卡及索引,默认索引值都是40;如果没有就不放
const
fesChapterData
:
number
[]
=
[];
for
(
let
i
=
1
;
i
<
227
;
i
++
)
{
/// TODO 测试
for
(
let
i
=
1
;
i
<
999
;
i
++
)
{
/// TODO 测试
if
(
i
==
25
||
i
==
44
)
continue
;
fesChapterData
.
push
(
i
);
}
...
...
@@ -586,6 +586,9 @@ export default class MainScene extends Scene {
//0是上格子,1是下格子
var
connectedLat
=
connectedLats
[
i
];
if
(
!
connectedLat
||
!
connectedLat
.
length
)
continue
;
if
(
!
this
.
lattices
[
connectedLat
[
0
]])
{
throw
new
Error
(
'联通干了个空的@沈豪洲(牛奶) '
)
}
this
.
lattices
[
connectedLat
[
0
]].
down
=
connectedLat
[
1
];
this
.
lattices
[
connectedLat
[
1
]].
up
=
connectedLat
[
0
];
...
...
egret/src/something/chapters/Chapter12.ts
View file @
5bff6b16
This diff is collapsed.
Click to expand it.
egret/src/something/chapters/Chapter13.ts
View file @
5bff6b16
This diff is collapsed.
Click to expand it.
egret/src/something/chapters/getChapter.ts
View file @
5bff6b16
...
...
@@ -51,6 +51,7 @@ var a = {
"two"
:
15000
,
"three"
:
32000
};
//取数据格式用,一般情况注释
// (function exportFile(chapters: ChapterData[]) {
// var obj = []
...
...
mock/happyclear/home.json
View file @
5bff6b16
...
...
@@ -1136,6 +1136,131 @@
"levelNum"
:
226
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
227
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
228
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
229
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
230
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
231
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
232
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
233
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
234
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
235
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
236
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
237
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
238
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
239
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
240
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
241
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
242
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
243
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
244
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
245
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
245
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
246
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
247
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
248
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
249
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
250
,
"maxScore"
:
47440
,
"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