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
c74f82ef
Commit
c74f82ef
authored
Oct 28, 2019
by
wjf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
l
parent
583c3e1d
Changes
6
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
1140 additions
and
9 deletions
+1140
-9
index.html
egret/index.html
+2
-2
Chapter2.ts
egret/src/something/chapters/Chapter2.ts
+22
-0
Chapter4.ts
egret/src/something/chapters/Chapter4.ts
+115
-2
Element.ts
egret/src/something/class/Element.ts
+1
-0
config.js
mock/config.js
+1
-1
homemax.json
mock/happyclear/homemax.json
+999
-4
No files found.
egret/index.html
View file @
c74f82ef
...
@@ -114,8 +114,8 @@
...
@@ -114,8 +114,8 @@
];
];
// localStorage.clear();
// localStorage.clear();
window
[
'imgver'
]
=
'1022'
window
[
'imgver'
]
=
'1022'
window
[
'total_level'
]
=
18
+
13
*
8
;
window
[
'total_level'
]
=
18
+
13
*
14
;
window
[
'last_level'
]
=
12
0
;
//必须大于等于total_level
window
[
'last_level'
]
=
20
0
;
//必须大于等于total_level
// localStorage.clear();
// localStorage.clear();
...
...
egret/src/something/chapters/Chapter2.ts
View file @
c74f82ef
...
@@ -319,12 +319,34 @@ export const Chapters2: ChapterData[] = [
...
@@ -319,12 +319,34 @@ export const Chapters2: ChapterData[] = [
{
index
:
1
,
type
:
[
0
],
cus
:
[]
},
{
index
:
1
,
type
:
[
0
],
cus
:
[]
},
{
index
:
36
,
type
:
[
0
],
cus
:
[]
},
{
index
:
36
,
type
:
[
0
],
cus
:
[]
},
{
index
:
37
,
type
:
[
0
],
cus
:
[]
},
{
index
:
37
,
type
:
[
0
],
cus
:
[]
},
{
index
:
21
,
type
:
[
0
],
cus
:
[]
},
{
index
:
21
,
type
:
[
0
],
cus
:
[]
},
{
index
:
22
,
type
:
[
0
],
cus
:
[]
},
{
index
:
22
,
type
:
[
0
],
cus
:
[]
},
{
index
:
23
,
type
:
[
0
],
cus
:
[]
},
{
index
:
23
,
type
:
[
0
],
cus
:
[]
},
{
index
:
24
,
type
:
[
0
],
cus
:
[]
},
{
index
:
24
,
type
:
[
0
],
cus
:
[]
},
{
index
:
25
,
type
:
[
0
],
cus
:
[]
},
{
index
:
25
,
type
:
[
0
],
cus
:
[]
},
{
index
:
26
,
type
:
[
0
],
cus
:
[]
},
{
index
:
26
,
type
:
[
0
],
cus
:
[]
},
{
index
:
30
,
type
:
[
0
],
cus
:
[]
},
{
index
:
31
,
type
:
[
0
],
cus
:
[]
},
{
index
:
32
,
type
:
[
0
],
cus
:
[]
},
{
index
:
33
,
type
:
[
0
],
cus
:
[]
},
{
index
:
34
,
type
:
[
0
],
cus
:
[]
},
{
index
:
35
,
type
:
[
0
],
cus
:
[]
},
{
index
:
39
,
type
:
[
0
],
cus
:
[]
},
{
index
:
40
,
type
:
[
0
],
cus
:
[]
},
{
index
:
41
,
type
:
[
0
],
cus
:
[]
},
{
index
:
42
,
type
:
[
0
],
cus
:
[]
},
{
index
:
43
,
type
:
[
0
],
cus
:
[]
},
{
index
:
44
,
type
:
[
0
],
cus
:
[]
},
{
index
:
48
,
type
:
[
0
],
cus
:
[]
},
{
index
:
49
,
type
:
[
0
],
cus
:
[]
},
{
index
:
50
,
type
:
[
0
],
cus
:
[]
},
{
index
:
51
,
type
:
[
0
],
cus
:
[]
},
{
index
:
52
,
type
:
[
0
],
cus
:
[]
},
{
index
:
53
,
type
:
[
0
],
cus
:
[]
},
],
],
},
},
},
},
...
...
egret/src/something/chapters/Chapter4.ts
View file @
c74f82ef
This diff is collapsed.
Click to expand it.
egret/src/something/class/Element.ts
View file @
c74f82ef
...
@@ -21,6 +21,7 @@ import { Tool } from "../Tool";
...
@@ -21,6 +21,7 @@ import { Tool } from "../Tool";
/**
/**
* 考虑到底继承白鹭的啥Component还是Container
* 考虑到底继承白鹭的啥Component还是Container
* 坐标原点需要坐落在格子的中心点
* 坐标原点需要坐落在格子的中心点
* 最好到时按,底图,动效,气泡,笼子,毛球,进行分层,如果多个状态要共存时,必须分层,到时气泡的动画,要写再自己的层里
*/
*/
export
class
Element
extends
eui
.
Component
{
export
class
Element
extends
eui
.
Component
{
/**
/**
...
...
mock/config.js
View file @
c74f82ef
...
@@ -46,7 +46,7 @@ const config = {
...
@@ -46,7 +46,7 @@ const config = {
data
:
'./happyclear/openTreasureBox.json'
data
:
'./happyclear/openTreasureBox.json'
},
},
'/customActivity/happyclear/home'
:
{
'/customActivity/happyclear/home'
:
{
data
:
'./happyclear/home
.1
.json'
data
:
'./happyclear/home
max
.json'
},
},
'/customActivity/happyclear/getLevelInfo'
:
{
'/customActivity/happyclear/getLevelInfo'
:
{
data
:
'./happyclear/getLevelInfo.json'
data
:
'./happyclear/getLevelInfo.json'
...
...
mock/happyclear/homemax.json
View file @
c74f82ef
This diff is collapsed.
Click to expand it.
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