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
29f71450
Commit
29f71450
authored
Jun 01, 2020
by
zjz1994
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新元素暂存
parent
eb630bfa
Changes
9
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
684 additions
and
7 deletions
+684
-7
index.html
egret/index.html
+2
-2
ele46.png
egret/resource/assets/mainScene/ele46.png
+0
-0
default.res.json
egret/resource/default.res.json
+7
-2
Chapter31.ts
egret/src/something/chapters/Chapter31.ts
+486
-1
Chapter32.ts
egret/src/something/chapters/Chapter32.ts
+52
-0
getChapter.ts
egret/src/something/chapters/getChapter.ts
+4
-1
ElementType.ts
egret/src/something/enum/ElementType.ts
+3
-0
MapData.ts
egret/src/something/interface/MapData.ts
+4
-0
home.json
mock/happyclear/home.json
+126
-1
No files found.
egret/index.html
View file @
29f71450
...
@@ -136,8 +136,8 @@
...
@@ -136,8 +136,8 @@
// localStorage.clear();
// localStorage.clear();
window
[
'imgver'
]
=
'11112'
;
window
[
'imgver'
]
=
'11112'
;
//top 8 ,repeat 22 , bottom 3
//top 8 ,repeat 22 , bottom 3
window
[
'total_level'
]
=
8
+
3
+
22
*
3
6
;
window
[
'total_level'
]
=
8
+
3
+
22
*
3
7
;
window
[
'last_level'
]
=
8
00
;
window
[
'last_level'
]
=
8
25
;
var
sharePic
=
document
.
getElementById
(
'pic'
);
var
sharePic
=
document
.
getElementById
(
'pic'
);
sharePic
.
onclick
=
function
()
{
sharePic
.
onclick
=
function
()
{
...
...
egret/resource/assets/mainScene/ele46.png
0 → 100644
View file @
29f71450
7.33 KB
egret/resource/default.res.json
View file @
29f71450
This diff is collapsed.
Click to expand it.
egret/src/something/chapters/Chapter31.ts
View file @
29f71450
This diff is collapsed.
Click to expand it.
egret/src/something/chapters/Chapter32.ts
0 → 100644
View file @
29f71450
import
{
ChapterData
}
from
"../interface/ChapterData"
;
//801-825
export
const
Chapters32
:
ChapterData
[]
=
[
//751
{
baseElementTypes
:
[
0
,
1
,
2
,
3
],
bubbleProbability
:
0
,
stepCount
:
26
,
passTarget
:
{
type
:
1
,
elements
:
[
{
type
:
9
,
count
:
71
},
{
type
:
0
,
count
:
102
}
]
},
starScores
:
[
15000
,
20000
,
25000
],
map
:
{
lattices
:
[
3
,
3
,
0
,
3
,
3
,
3
,
0
,
3
,
3
,
3
,
3
,
0
,
3
,
3
,
3
,
0
,
3
,
3
,
3
,
3
,
0
,
3
,
3
,
3
,
0
,
3
,
3
,
3
,
3
,
0
,
3
,
3
,
3
,
0
,
3
,
3
,
3
,
3
,
61
,
3
,
3
,
3
,
61
,
3
,
3
,
3
,
3
,
6
,
3
,
3
,
3
,
6
,
3
,
3
,
3
,
3
,
61
,
3
,
3
,
3
,
61
,
3
,
3
,
3
,
3
,
6
,
3
,
3
,
3
,
6
,
3
,
3
,
3
,
3
,
0
,
3
,
3
,
3
,
0
,
3
,
3
],
connectedLats
:
[],
conveyor
:
[],
conveyorConnectedLats
:
[],
WORMHOLE
:
[],
elements
:
[
2
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
2
,
1
,
2
,
1
,
1
,
1
,
1
,
1
,
2
,
1
,
2
,
1
,
1
,
1
,
14
,
1
,
1
,
1
,
2
,
1
,
2
,
1
,
1
,
1
,
1
,
1
,
2
,
1
,
2
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
2
,
1
,
1
,
9
,
4
,
4
,
4
,
9
,
1
,
1
,
1
,
1
,
1
,
4
,
4
,
4
,
1
,
1
,
1
,
1
,
1
,
9
,
4
,
4
,
4
,
9
,
1
,
1
,
1
,
1
,
1
,
5
,
5
,
5
,
1
,
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
:
[],
cherrydata
:[
[
0
,
1
,
10
,
9
],
],
generateLats
:
[
{
index
:
0
,
type
:
null
},
{
index
:
1
,
type
:
null
},
{
index
:
3
,
type
:
null
},
{
index
:
4
,
type
:
null
},
{
index
:
5
,
type
:
null
},
{
index
:
7
,
type
:
null
},
{
index
:
8
,
type
:
null
}
]
}
},
]
egret/src/something/chapters/getChapter.ts
View file @
29f71450
...
@@ -33,6 +33,7 @@ import { Chapters28 } from "./Chapter28";
...
@@ -33,6 +33,7 @@ import { Chapters28 } from "./Chapter28";
import
{
Chapters29
}
from
"./Chapter29"
;
import
{
Chapters29
}
from
"./Chapter29"
;
import
{
Chapters30
}
from
"./Chapter30"
;
import
{
Chapters30
}
from
"./Chapter30"
;
import
{
Chapters31
}
from
"./Chapter31"
;
import
{
Chapters31
}
from
"./Chapter31"
;
import
{
Chapters32
}
from
"./Chapter32"
;
//所有的关卡
//所有的关卡
const
chapters
:
ChapterData
[]
=
[].
concat
(
const
chapters
:
ChapterData
[]
=
[].
concat
(
Chapters1
,
Chapters1
,
...
@@ -65,7 +66,9 @@ const chapters: ChapterData[] = [].concat(
...
@@ -65,7 +66,9 @@ const chapters: ChapterData[] = [].concat(
Chapters28
,
Chapters28
,
Chapters29
,
Chapters29
,
Chapters30
,
Chapters30
,
Chapters31
Chapters31
,
Chapters32
,
)
)
// console.log(chapters)
// console.log(chapters)
chapters
.
forEach
((
chapter
,
index
)
=>
{
chapters
.
forEach
((
chapter
,
index
)
=>
{
...
...
egret/src/something/enum/ElementType.ts
View file @
29f71450
...
@@ -72,6 +72,9 @@ export enum ElementType {
...
@@ -72,6 +72,9 @@ export enum ElementType {
// food2,//43 饼干
// food2,//43 饼干
// food3,//44 寿司
// food3,//44 寿司
// food4,//45 雪糕
// food4,//45 雪糕
cherry
,
//46 樱花
}
}
export
const
isMonsterEle
=
(
t
:
ElementType
)
=>
{
export
const
isMonsterEle
=
(
t
:
ElementType
)
=>
{
...
...
egret/src/something/interface/MapData.ts
View file @
29f71450
...
@@ -82,4 +82,8 @@ export interface MapData {
...
@@ -82,4 +82,8 @@ export interface MapData {
luidx
:
number
,
//左上位置
luidx
:
number
,
//左上位置
dir
:
string
,
//朝向
dir
:
string
,
//朝向
}
>
;
}
>
;
/**
* 樱花
*/
cherrydata
?:
number
[][];
}
}
\ No newline at end of file
mock/happyclear/home.json
View file @
29f71450
...
@@ -4013,6 +4013,131 @@
...
@@ -4013,6 +4013,131 @@
"levelNum"
:
800
,
"levelNum"
:
800
,
"maxScore"
:
47440
,
"maxScore"
:
47440
,
"stars"
:
1
"stars"
:
1
},
{
"levelNum"
:
801
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
802
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
803
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
804
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
805
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
806
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
807
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
808
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
809
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
810
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
811
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
812
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
813
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
814
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
815
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
816
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
817
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
818
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
819
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
820
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
821
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
822
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
823
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
824
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
825
,
"maxScore"
:
47440
,
"stars"
:
1
}
}
],
],
"remainProp"
:
[
"remainProp"
:
[
...
@@ -4029,7 +4154,7 @@
...
@@ -4029,7 +4154,7 @@
"num"
:
3
"num"
:
3
}
}
],
],
"remainEnargy"
:
2
7
,
"remainEnargy"
:
2
,
"askForEnergy"
:
false
,
"askForEnergy"
:
false
,
"refectionCountdown"
:
77777
,
"refectionCountdown"
:
77777
,
"canReceiveTreasureBoxNum"
:
10
,
"canReceiveTreasureBoxNum"
:
10
,
...
...
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