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
9aa9c6fc
Commit
9aa9c6fc
authored
Jun 10, 2020
by
zjz1994
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码暂存
parent
7b01535b
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
598 additions
and
53 deletions
+598
-53
DataManager.ts
egret/libs/tw/manager/DataManager.ts
+1
-1
MainScene.ts
egret/src/mainScene/MainScene.ts
+3
-3
Chapter32.ts
egret/src/something/chapters/Chapter32.ts
+563
-49
GameGuide.ts
egret/src/something/uis/GameGuide.ts
+31
-0
No files found.
egret/libs/tw/manager/DataManager.ts
View file @
9aa9c6fc
...
...
@@ -619,7 +619,7 @@ export class DataManager extends ABDataManager {
default
:
if
(
name
==
"hc_advert"
){
this
[
this
.
getKey
(
name
+
"_"
+
param
.
type
)]
=
result
;
console
.
log
(
"新广告,分展示位单个区别获取"
,
name
,
result
,
param
);
//
console.log("新广告,分展示位单个区别获取",name,result,param);
}
else
{
this
[
this
.
getKey
(
name
)]
=
result
;
}
...
...
egret/src/mainScene/MainScene.ts
View file @
9aa9c6fc
...
...
@@ -636,7 +636,7 @@ export default class MainScene extends Scene {
this
.
initConnectedLats
();
//初始化樱花
this
.
initCherry
();
console
.
log
(
"樱花数据"
,
this
.
cherryData
);
//
console.log("樱花数据",this.cherryData);
//初始化元素
...
...
@@ -1756,7 +1756,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
,
601
,
661
,
703
,
752
];
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
,
703
,
752
,
801
];
if
(
gameGuideChapterNum
.
indexOf
(
this
.
chapter
>>
0
)
>
-
1
)
{
if
(
!
readCache
(
getCacheKey
()
+
this
.
chapter
))
{
this
.
gameGuide
=
new
GameGuide
(
this
);
...
...
@@ -1779,7 +1779,7 @@ export default class MainScene extends Scene {
//初始化节日元素
async
initFestivalEle
()
{
//添加节日元素,条件可能会变
var
guidelevels
=
[
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
,
703
,
752
];
var
guidelevels
=
[
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
,
703
,
752
,
801
];
if
(
guidelevels
.
indexOf
(
this
.
chapter
)
!=-
1
&&!
readCache
(
getCacheKey
()
+
this
.
chapter
)){
return
false
;
}
...
...
egret/src/something/chapters/Chapter32.ts
View file @
9aa9c6fc
This diff is collapsed.
Click to expand it.
egret/src/something/uis/GameGuide.ts
View file @
9aa9c6fc
...
...
@@ -681,6 +681,37 @@ const chapterFuns = {
"原来是一块饼干,继续消除它身上的冰块吧~"
]
},
801
:{
stepCount
:
5
,
showIndexs
:
[
[
6
,
15
,
24
,
25
],
[
30
,
31
,
32
,
33
],
[
6
,
15
,
24
,
33
],
[
6
,
15
,
24
,
33
],
[
6
,
15
,
24
,
33
],
],
hideIndexs
:
[
[
6
,
15
],
[
30
,
31
],
[
6
,
15
],
[
6
,
15
],
[
24
,
33
],
],
handIndexs
:
[
[
24
,
25
],
[
32
,
33
],
[
24
,
33
],
[
24
,
33
],
[
6
,
15
],
],
msg
:
[
"樱花引导1"
,
"樱花引导2"
,
"樱花引导3"
,
"樱花引导4"
,
"樱花引导5"
]
},
};
/**
...
...
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