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
521661dd
Commit
521661dd
authored
Apr 29, 2020
by
zjz1994
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://gitlab2.dui88.com/wanghongyuan/xiaoxiaole
into 676-700关卡
parents
d4c713ce
1d037462
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
25 additions
and
14 deletions
+25
-14
wormhole.svga
egret/resource/assets/svgas/wormhole.svga
+0
-0
MainScene.ts
egret/src/mainScene/MainScene.ts
+1
-1
Chapter26.ts
egret/src/something/chapters/Chapter26.ts
+1
-10
WormHole.ts
egret/src/something/class/WormHole.ts
+8
-3
GameGuide.ts
egret/src/something/uis/GameGuide.ts
+15
-0
No files found.
egret/resource/assets/svgas/wormhole.svga
View file @
521661dd
No preview for this file type
egret/src/mainScene/MainScene.ts
View file @
521661dd
...
@@ -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 @
521661dd
...
@@ -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/class/WormHole.ts
View file @
521661dd
...
@@ -41,8 +41,13 @@ export default class WormHole extends egret.Sprite{
...
@@ -41,8 +41,13 @@ export default class WormHole extends egret.Sprite{
}
}
createWormHole
(){
createWormHole
(){
this
.
wormHoleClip
=
new
window
[
"SVGA"
].
EgretMovieClip
(
wormvideo
);
this
.
wormHoleClip
=
new
window
[
"SVGA"
].
EgretMovieClip
(
wormvideo
);
var
mvwidth
=
82
;
var
mvheight
=
82
;
var
mscale
=
1.08
this
.
wormHoleClip
.
scaleX
=
mscale
;
this
.
wormHoleClip
.
scaleY
=
mscale
;
var
mvwidth
=
78
*
mscale
;
var
mvheight
=
78
*
mscale
;
this
.
wormHoleClip
.
x
=
-
mvwidth
/
2
;
this
.
wormHoleClip
.
x
=
-
mvwidth
/
2
;
this
.
wormHoleClip
.
y
=
-
mvwidth
/
2
;
this
.
wormHoleClip
.
y
=
-
mvwidth
/
2
;
this
.
addChild
(
this
.
wormHoleClip
);
this
.
addChild
(
this
.
wormHoleClip
);
...
@@ -52,7 +57,7 @@ export default class WormHole extends egret.Sprite{
...
@@ -52,7 +57,7 @@ export default class WormHole extends egret.Sprite{
}
}
toFrameAni
(){
toFrameAni
(){
var
curframe
=
this
.
wormHoleClip
.
currentFrame
;
var
curframe
=
this
.
wormHoleClip
.
currentFrame
;
if
(
curframe
==
123
){
if
(
curframe
==
81
){
var
endtime
=
new
Date
().
getTime
();
var
endtime
=
new
Date
().
getTime
();
// console.log("passtime",endtime-this.playtime);
// console.log("passtime",endtime-this.playtime);
this
.
wormHoleClip
.
gotoAndStop
(
1
);
this
.
wormHoleClip
.
gotoAndStop
(
1
);
...
...
egret/src/something/uis/GameGuide.ts
View file @
521661dd
...
@@ -573,6 +573,21 @@ const chapterFuns = {
...
@@ -573,6 +573,21 @@ const chapterFuns = {
"在藤蔓周围消除,
\n
解救猩猩会有惊喜哦~"
"在藤蔓周围消除,
\n
解救猩猩会有惊喜哦~"
]
]
},
},
661
:{
stepCount
:
1
,
showIndexs
:
[
[
1
,
10
,
11
,
19
],
],
hideIndexs
:
[
[
1
,
19
],
],
handIndexs
:
[
[
10
,
11
],
],
msg
:
[
"每消除一步,黑洞两端
\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