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
c735478e
Commit
c735478e
authored
Apr 15, 2020
by
zjz1994
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
预发猩猩
parent
741d00ef
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
139 additions
and
136 deletions
+139
-136
MainScene.ts
egret/src/mainScene/MainScene.ts
+3
-3
Chapter24.ts
egret/src/something/chapters/Chapter24.ts
+120
-132
GameGuide.ts
egret/src/something/uis/GameGuide.ts
+16
-1
No files found.
egret/src/mainScene/MainScene.ts
View file @
c735478e
...
...
@@ -1279,7 +1279,7 @@ export default class MainScene extends Scene {
//初始化引导,游戏和道具
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
];
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
];
if
(
gameGuideChapterNum
.
indexOf
(
this
.
chapter
>>
0
)
>
-
1
)
{
if
(
!
readCache
(
getCacheKey
()
+
this
.
chapter
))
{
this
.
gameGuide
=
new
GameGuide
(
this
);
...
...
@@ -2629,7 +2629,7 @@ export default class MainScene extends Scene {
// return;
// }
if
(
this
.
freepongoArr
.
length
==
1
){
//拍块
console
.
log
(
"一只猩猩拍块"
);
//
console.log("一只猩猩拍块");
// this.pongoPaiKuang(this.freepongoArr[0]);
// var pongotl = this.freepongoArr.shift();
// if(this.gopongoArr.indexOf(pongotl)==-1){
...
...
@@ -2742,7 +2742,7 @@ export default class MainScene extends Scene {
}
}
if
(
recoverlp
>
0
){
console
.
log
(
"传送带棒棒糖消除"
);
//
console.log("传送带棒棒糖消除");
this
.
fall
(()
=>
{
this
.
fallCallback
();
})
...
...
egret/src/something/chapters/Chapter24.ts
View file @
c735478e
This diff is collapsed.
Click to expand it.
egret/src/something/uis/GameGuide.ts
View file @
c735478e
...
...
@@ -556,7 +556,22 @@ const chapterFuns = {
msg
:
[
"在周围消除给大炮充能释放
\n
炮弹,消除炮口方向的
\n
所有元素。"
]
}
},
601
:
{
stepCount
:
1
,
showIndexs
:
[
[
19
,
20
,
21
,
22
],
],
hideIndexs
:
[
[
19
,
20
],
],
handIndexs
:
[
[
21
,
22
],
],
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