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
f150c840
Commit
f150c840
authored
Apr 29, 2020
by
zjz1994
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增黑洞引导
parent
a409bb92
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
16 deletions
+7
-16
MainScene.ts
egret/src/mainScene/MainScene.ts
+1
-1
Chapter26.ts
egret/src/something/chapters/Chapter26.ts
+1
-10
GameGuide.ts
egret/src/something/uis/GameGuide.ts
+5
-5
No files found.
egret/src/mainScene/MainScene.ts
View file @
f150c840
...
@@ -1519,7 +1519,7 @@ export default class MainScene extends Scene {
...
@@ -1519,7 +1519,7 @@ export default class MainScene extends Scene {
//初始化引导,游戏和道具
//初始化引导,游戏和道具
initGuide
()
{
initGuide
()
{
//游戏引导
//游戏引导
const
gameGuideChapterNum
=
[
1
,
2
,
3
,
5
,
8
,
9
,
10
,
12
,
17
,
25
,
41
,
61
,
101
,
121
,
226
,
301
,
331
,
377
,
406
,
426
,
453
,
501
,
556
,
601
];
const
gameGuideChapterNum
=
[
1
,
2
,
3
,
5
,
8
,
9
,
10
,
12
,
17
,
25
,
41
,
61
,
101
,
121
,
226
,
301
,
331
,
377
,
406
,
426
,
453
,
501
,
556
,
601
,
661
];
if
(
gameGuideChapterNum
.
indexOf
(
this
.
chapter
>>
0
)
>
-
1
)
{
if
(
gameGuideChapterNum
.
indexOf
(
this
.
chapter
>>
0
)
>
-
1
)
{
if
(
!
readCache
(
getCacheKey
()
+
this
.
chapter
))
{
if
(
!
readCache
(
getCacheKey
()
+
this
.
chapter
))
{
this
.
gameGuide
=
new
GameGuide
(
this
);
this
.
gameGuide
=
new
GameGuide
(
this
);
...
...
egret/src/something/chapters/Chapter26.ts
View file @
f150c840
...
@@ -180,16 +180,7 @@ export const Chapters26: ChapterData[] = [
...
@@ -180,16 +180,7 @@ export const Chapters26: ChapterData[] = [
1
,
2
,
1
,
4
,
4
,
4
,
1
,
2
,
1
,
1
,
2
,
1
,
4
,
4
,
4
,
1
,
2
,
1
,
1
,
1
,
2
,
1
,
1
,
1
,
2
,
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
}
]
}
},
1
,
1
,
2
,
1
,
1
,
1
,
2
,
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
}
]
}
},
//661
//661
{
baseElementTypes
:
[
0
,
2
,
3
,
4
],
bubbleProbability
:
0
,
stepCount
:
21
,
passTarget
:
{
type
:
1
,
elements
:
[
{
type
:
9
,
count
:
76
}
]
},
starScores
:
[
15000
,
20000
,
25000
],
map
:
{
lattices
:
[
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
0
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
0
,
0
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
0
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
6
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
1
],
connectedLats
:
[],
conveyor
:
[],
conveyorConnectedLats
:
[],
WORMHOLE
:
[
[
31
,
46
,
76
,
52
]
],
elements
:
[
{
baseElementTypes
:
[
0
,
2
,
4
,
3
],
bubbleProbability
:
0
,
stepCount
:
21
,
passTarget
:
{
type
:
1
,
elements
:
[
{
type
:
9
,
count
:
76
}
]
},
starScores
:
[
15000
,
20000
,
25000
],
map
:
{
lattices
:
[
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
0
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
0
,
0
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
0
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
6
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
1
],
connectedLats
:
[],
conveyor
:
[],
conveyorConnectedLats
:
[],
WORMHOLE
:
[[
31
,
46
,
76
,
52
]],
elements
:
[
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
4
,
4
,
4
,
4
,
4
,
1
,
1
,
1
,
1
,
4
,
4
,
4
,
4
,
4
,
1
,
1
,
2
,
1
,
4
,
5
,
5
,
5
,
4
,
1
,
2
,
2
,
1
,
2
,
5
,
4
,
5
,
2
,
1
,
2
,
2
,
1
,
2
,
5
,
5
,
5
,
2
,
1
,
2
,
2
,
2
,
4
,
2
,
2
,
2
,
4
,
2
,
2
,
1
,
2
,
4
,
4
,
4
,
4
,
4
,
2
,
12
],
baseElements
:
[
40
,
30
,
40
,
40
,
50
,
40
,
40
,
10
,
50
,
10
,
10
,
30
,
10
,
50
,
10
,
30
,
30
,
40
,
0
,
30
,
40
,
40
,
30
,
40
,
50
,
30
,
0
,
0
,
50
,
50
,
40
,
30
,
50
,
50
,
40
,
0
,
0
,
30
,
50
,
0
,
0
,
0
,
30
,
30
,
0
,
0
,
30
,
0
,
0
,
0
,
0
,
0
,
40
,
0
,
0
,
40
,
0
,
0
,
0
,
0
,
0
,
30
,
0
,
0
,
0
,
40
,
0
,
0
,
0
,
10
,
0
,
0
,
0
,
0
,
30
,
40
,
40
,
10
,
40
,
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
}
]
}
},
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
4
,
4
,
4
,
4
,
4
,
1
,
1
,
1
,
1
,
4
,
4
,
4
,
4
,
4
,
1
,
1
,
2
,
1
,
4
,
5
,
5
,
5
,
4
,
1
,
2
,
2
,
1
,
2
,
5
,
4
,
5
,
2
,
1
,
2
,
2
,
1
,
2
,
5
,
5
,
5
,
2
,
1
,
2
,
2
,
2
,
4
,
2
,
2
,
2
,
4
,
2
,
2
,
1
,
2
,
4
,
4
,
4
,
4
,
4
,
2
,
12
],
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
,
14
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
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
}
]
}
},
//662
//662
{
baseElementTypes
:
[
3
,
4
,
1
,
2
],
bubbleProbability
:
0
,
stepCount
:
20
,
passTarget
:
{
type
:
1
,
elements
:
[
{
type
:
9
,
count
:
49
}
]
},
starScores
:
[
15000
,
20000
,
25000
],
map
:
{
lattices
:
[
{
baseElementTypes
:
[
3
,
4
,
1
,
2
],
bubbleProbability
:
0
,
stepCount
:
20
,
passTarget
:
{
type
:
1
,
elements
:
[
{
type
:
9
,
count
:
49
}
]
},
starScores
:
[
15000
,
20000
,
25000
],
map
:
{
lattices
:
[
0
,
0
,
0
,
3
,
0
,
2
,
0
,
0
,
0
,
0
,
0
,
0
,
3
,
0
,
2
,
0
,
0
,
0
,
...
...
egret/src/something/uis/GameGuide.ts
View file @
f150c840
...
@@ -573,19 +573,19 @@ const chapterFuns = {
...
@@ -573,19 +573,19 @@ const chapterFuns = {
"在藤蔓周围消除,
\n
解救猩猩会有惊喜哦~"
"在藤蔓周围消除,
\n
解救猩猩会有惊喜哦~"
]
]
},
},
6
5
1
:{
6
6
1
:{
stepCount
:
1
,
stepCount
:
1
,
showIndexs
:
[
showIndexs
:
[
[
1
9
,
20
,
21
,
22
],
[
1
,
10
,
11
,
19
],
],
],
hideIndexs
:
[
hideIndexs
:
[
[
1
9
,
20
],
[
1
,
19
],
],
],
handIndexs
:
[
handIndexs
:
[
[
21
,
22
],
[
10
,
11
],
],
],
msg
:
[
msg
:
[
"每消除一步,
\n
黑洞两端的元素
\n
就会交换一次哦"
"每消除一步,
黑洞两端
\n
的元素
就会交换一次哦"
]
]
}
}
};
};
...
...
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