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
cc601233
Commit
cc601233
authored
Aug 24, 2019
by
wjf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
l
parent
6f48d065
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
545 additions
and
325 deletions
+545
-325
MainScene.ts
egret/src/mainScene/MainScene.ts
+26
-315
Chapters.ts
egret/src/something/Chapters.ts
+223
-10
Tool.ts
egret/src/something/Tool.ts
+295
-0
GuideMsg.ts
egret/src/something/uis/GuideMsg.ts
+1
-0
No files found.
egret/src/mainScene/MainScene.ts
View file @
cc601233
This diff is collapsed.
Click to expand it.
egret/src/something/Chapters.ts
View file @
cc601233
...
...
@@ -602,29 +602,242 @@ export const Chapters: ChapterData[] = [
map
:
{
lattices
:
[
0
,
0
,
0
,
1
,
4
,
1
,
0
,
0
,
0
,
1
,
2
,
5
,
1
,
1
,
1
,
5
,
2
,
1
,
1
,
2
,
5
,
1
,
1
,
1
,
5
,
2
,
1
,
1
,
5
,
5
,
1
,
1
,
1
,
5
,
5
,
1
,
1
,
1
,
2
,
1
,
1
,
1
,
2
,
1
,
1
,
2
,
2
,
2
,
1
,
1
,
1
,
2
,
2
,
2
,
2
,
5
,
5
,
2
,
2
,
2
,
5
,
5
,
2
,
0
,
0
,
0
,
1
,
1
,
1
,
0
,
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
,
0
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
0
,
5
,
5
,
5
,
5
,
5
,
5
,
5
,
5
,
5
,
5
,
5
,
5
,
5
,
5
,
5
,
5
,
5
,
5
,
1
,
1
,
1
,
1
,
1
,
0
,
2
,
5
,
2
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
],
generateLats
:
[
3
,
4
,
5
],
},
baseElementTypes
:
[
0
,
1
,
2
,
3
,
4
],
effectInitProbability
:
0.05
,
stepCount
:
46
,
stepCount
:
18
,
passTarget
:
{
type
:
PassType
.
ELEMENT_TARGET
,
elements
:
[
{
type
:
ElementType
.
LOLLIPOP
,
count
:
2
}
]
},
starScores
:
[
2000
,
5000
,
12000
]
},
//第二十二关
{
map
:
{
lattices
:
[
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
,
3
,
1
,
3
,
1
,
3
,
1
,
3
,
1
,
3
,
3
,
1
,
3
,
1
,
3
,
1
,
3
,
1
,
3
,
3
,
1
,
3
,
1
,
3
,
1
,
3
,
1
,
3
,
3
,
1
,
3
,
1
,
3
,
1
,
3
,
1
,
3
,
3
,
1
,
3
,
1
,
3
,
1
,
3
,
1
,
3
,
3
,
1
,
3
,
1
,
3
,
1
,
3
,
1
,
3
,
],
generateLats
:
[
0
,
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
],
},
baseElementTypes
:
[
0
,
1
,
2
,
3
,
4
],
effectInitProbability
:
0.05
,
stepCount
:
53
,
passTarget
:
{
type
:
PassType
.
ELEMENT_TARGET
,
elements
:
[
{
type
:
ElementType
.
ICE
,
count
:
22
count
:
30
}
]
},
starScores
:
[
11000
,
22000
,
45000
]
starScores
:
[
40000
,
80000
,
100000
]
},
//第二十三关
{
map
:
{
lattices
:
[
0
,
0
,
1
,
1
,
4
,
1
,
1
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
,
1
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
,
1
,
0
,
0
,
0
,
0
,
1
,
0
,
1
,
0
,
1
,
0
,
0
,
0
,
0
,
0
,
1
,
0
,
1
,
0
,
0
,
0
,
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
,
0
,
1
,
1
,
1
,
1
,
1
,
0
,
0
,
],
generateLats
:
[
2
,
3
,
4
,
5
,
6
],
},
baseElementTypes
:
[
0
,
1
,
2
,
3
,
4
],
effectInitProbability
:
0.05
,
stepCount
:
23
,
passTarget
:
{
type
:
PassType
.
ELEMENT_TARGET
,
elements
:
[
{
type
:
ElementType
.
LOLLIPOP
,
count
:
2
}
]
},
starScores
:
[
10000
,
24000
,
35000
]
},
//第二十四关
{
map
:
{
lattices
:
[
0
,
0
,
0
,
1
,
1
,
1
,
0
,
0
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
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
,
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
,
],
generateLats
:
[
3
,
4
,
5
],
},
baseElementTypes
:
[
0
,
1
,
2
,
3
,
4
],
effectInitProbability
:
0.1
,
stepCount
:
42
,
passTarget
:
{
type
:
PassType
.
ELEMENT_TARGET
,
elements
:
[
{
type
:
ElementType
.
ICE
,
count
:
27
}
]
},
starScores
:
[
15000
,
35000
,
60000
]
},
//第二十五关
{
map
:
{
lattices
:
[
0
,
1
,
1
,
1
,
1
,
4
,
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
,
0
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
0
,
0
,
5
,
5
,
5
,
5
,
5
,
5
,
5
,
0
,
0
,
5
,
5
,
5
,
5
,
5
,
5
,
5
,
0
,
0
,
5
,
5
,
5
,
5
,
5
,
5
,
5
,
0
,
],
generateLats
:
[
1
,
2
,
3
,
4
,
5
,
6
,
7
],
},
baseElementTypes
:
[
0
,
1
,
2
,
3
,
4
],
effectInitProbability
:
0.05
,
stepCount
:
35
,
passTarget
:
{
type
:
PassType
.
ELEMENT_TARGET
,
elements
:
[
{
type
:
ElementType
.
LOLLIPOP
,
count
:
4
}
]
},
starScores
:
[
20000
,
40000
,
45000
]
},
//第二十六关
{
map
:
{
lattices
:
[
5
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
5
,
5
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
5
,
5
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
5
,
5
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
5
,
5
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
5
,
5
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
5
,
5
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
5
,
5
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
5
,
5
,
5
,
5
,
5
,
5
,
5
,
5
,
5
,
5
,
],
generateLats
:
[
0
,
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
],
},
baseElementTypes
:
[
0
,
1
,
2
,
3
,
4
],
effectInitProbability
:
0.05
,
stepCount
:
20
,
passTarget
:
{
type
:
PassType
.
SCORE_TARGET
,
score
:
20000
,
},
starScores
:
[
7000
,
12000
,
20000
]
},
//第二十七关
{
map
:
{
lattices
:
[
1
,
1
,
1
,
1
,
5
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
5
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
5
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
5
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
5
,
1
,
1
,
1
,
1
,
5
,
5
,
5
,
5
,
5
,
5
,
5
,
5
,
5
,
3
,
5
,
3
,
5
,
3
,
5
,
3
,
5
,
3
,
5
,
5
,
5
,
5
,
5
,
5
,
5
,
5
,
5
,
3
,
5
,
3
,
5
,
3
,
5
,
3
,
5
,
3
,
],
generateLats
:
[
0
,
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
],
},
baseElementTypes
:
[
0
,
1
,
2
,
3
,
4
],
effectInitProbability
:
0.05
,
stepCount
:
22
,
passTarget
:
{
type
:
PassType
.
ELEMENT_TARGET
,
elements
:
[
{
type
:
ElementType
.
ICE
,
count
:
10
}
],
},
starScores
:
[
15000
,
35000
,
60000
]
},
//第二十八关
{
map
:
{
lattices
:
[
1
,
1
,
1
,
1
,
5
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
5
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
5
,
1
,
1
,
1
,
1
,
0
,
1
,
1
,
1
,
5
,
1
,
1
,
1
,
1
,
0
,
1
,
1
,
1
,
5
,
1
,
1
,
1
,
1
,
0
,
5
,
5
,
5
,
5
,
5
,
5
,
5
,
5
,
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
,
],
generateLats
:
[
0
,
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
],
},
baseElementTypes
:
[
0
,
1
,
2
,
3
,
4
],
effectInitProbability
:
0.05
,
stepCount
:
22
,
passTarget
:
{
type
:
PassType
.
ELEMENT_TARGET
,
elements
:
[
{
type
:
ElementType
.
ICE
,
count
:
10
}
],
},
starScores
:
[
15000
,
35000
,
60000
]
},
]
\ No newline at end of file
egret/src/something/Tool.ts
View file @
cc601233
This diff is collapsed.
Click to expand it.
egret/src/something/uis/GuideMsg.ts
View file @
cc601233
...
...
@@ -58,6 +58,7 @@ export class GuideMsg extends egret.DisplayObjectContainer {
if
(
this
.
moiveClip
)
this
.
removeChild
(
this
.
moiveClip
);
//svga
if
(
moiveClip
[
"guide"
+
num
])
{
this
.
moiveClip
=
moiveClip
[
"guide"
+
num
];
this
.
addChild
(
moiveClip
[
"guide"
+
num
]);
callback
();
}
else
{
...
...
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