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
98b3b89e
Commit
98b3b89e
authored
Apr 02, 2020
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
94e89bb1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
6 deletions
+18
-6
MainScene.ts
egret/src/mainScene/MainScene.ts
+4
-3
FriendPanel.ts
egret/src/panels/FriendPanel.ts
+3
-2
Chapter23.ts
egret/src/something/chapters/Chapter23.ts
+11
-1
No files found.
egret/src/mainScene/MainScene.ts
View file @
98b3b89e
...
...
@@ -3074,14 +3074,15 @@ export default class MainScene extends Scene {
}
//下面带状态的要优先判断
else
if
(
ele
.
hasState
(
StateType
.
BLOCK_LOCK
))
{
//这里不需要消除石门上的元素的状态,石门上的元素状态只由石门来修改
}
//有枷锁的
else
if
(
ele
.
hasState
(
StateType
.
LOCK
))
{
//被禁锢的解开
ele
.
setState
(
StateType
.
LOCK
,
false
);
//暂时笼子不算个数,算的话,改图片名称,列入ElementType的状态下
}
else
if
(
ele
.
hasState
(
StateType
.
BLOCK_LOCK
))
{
//这里不需要消除石门上的元素的状态,石门上的元素状态只由石门来修改
}
else
if
(
ele
.
hasState
(
StateType
.
HONEY
))
{
}
else
if
(
ele
.
hasState
(
StateType
.
HONEY
))
{
ele
.
setState
(
StateType
.
HONEY
,
false
);
createHoneyDisAni
(
ele
.
x
,
ele
.
y
,
this
)
this
.
goElementTarget
(
ElementType
.
HONEY
,
[
ele
.
x
,
ele
.
y
]);
...
...
egret/src/panels/FriendPanel.ts
View file @
98b3b89e
...
...
@@ -13,6 +13,7 @@ export default class FriendPanel extends Panel {
public
list
:
eui
.
List
;
progress
:
eui
.
Label
;
score
:
eui
.
Label
;
rank
=
1
;
start
(
data
)
{
super
.
start
();
this
.
showlog
();
...
...
@@ -67,7 +68,7 @@ export default class FriendPanel extends Panel {
this
[
'avatar0'
].
source
=
"http://yun.duiba.com.cn/db_games/default_avatar.png"
;
if
(
data
&&
data
.
nickname
)
this
[
'nameTxt'
].
text
=
getNick
(
data
.
nickname
,
10
);
});
}
...
...
@@ -91,7 +92,7 @@ export default class FriendPanel extends Panel {
getFriendShareUrl
(
this
.
stage
);
}
else
showShare3
();
// showShareCodePanel(CodeChannels.RankPlay);//mmp,排行榜的分享又不要口令了
// showShareCodePanel(CodeChannels.RankPlay);//mmp,排行榜的分享又不要口令了
}
protected
get
closeBtns
():
eui
.
Button
[]
{
return
[
this
[
'closeBtn'
]]
}
...
...
egret/src/something/chapters/Chapter23.ts
View file @
98b3b89e
...
...
@@ -160,6 +160,16 @@ export const Chapters23: ChapterData[] = [
0
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
0
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
,
3
],
connectedLats
:
[],
conveyor
:
[
[
29
,
33
]
],
conveyorConnectedLats
:
[
[
33
,
29
]
],
elements
:
[
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
14
,
14
,
14
,
14
,
14
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
2
,
2
,
2
,
2
,
2
,
1
,
1
,
1
,
1
,
2
,
1
,
1
,
1
,
2
,
1
,
1
,
1
,
1
,
2
,
2
,
2
,
2
,
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
,
10
,
30
,
40
,
50
,
50
,
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
:
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
},
{
index
:
56
,
type
:
null
},
{
index
:
57
,
type
:
null
},
{
index
:
58
,
type
:
null
},
{
index
:
59
,
type
:
null
},
{
index
:
60
,
type
:
null
},
{
index
:
29
,
type
:
null
},
{
index
:
30
,
type
:
null
},
{
index
:
31
,
type
:
null
},
{
index
:
32
,
type
:
null
},
{
index
:
33
,
type
:
null
}
]
}
},
//600
{
baseElementTypes
:
[
0
,
1
,
2
,
3
,
4
],
bubbleProbability
:
0
,
stepCount
:
22
,
passTarget
:
{
type
:
1
,
elements
:
[
{
type
:
36
,
count
:
67
}
]
},
starScores
:
[],
map
:
{
lattices
:
[
7
,
7
,
7
,
7
,
7
,
7
,
7
,
0
,
0
,
7
,
7
,
7
,
7
,
7
,
0
,
0
,
0
,
0
,
7
,
7
,
7
,
7
,
7
,
7
,
7
,
7
,
7
,
7
,
7
,
7
,
7
,
0
,
7
,
7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
2
,
type
:
null
},
{
index
:
3
,
type
:
null
},
{
index
:
23
,
type
:
null
},
{
index
:
24
,
type
:
null
},
{
index
:
25
,
type
:
null
},
{
index
:
26
,
type
:
null
}
]
}
}
{
baseElementTypes
:
[
0
,
1
,
2
,
3
,
4
],
bubbleProbability
:
0
,
stepCount
:
22
,
passTarget
:
{
type
:
1
,
elements
:
[
{
type
:
34
,
count
:
25
}
]
},
starScores
:
[
15000
,
20000
,
25000
],
map
:
{
lattices
:
[
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
0
,
4
,
41
,
4
,
41
,
4
,
41
,
4
,
0
,
0
,
0
,
1
,
1
,
1
,
1
,
1
,
0
,
0
,
0
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
0
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
],
connectedLats
:
[],
conveyor
:
[],
conveyorConnectedLats
:
[],
elements
:
[
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
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
,
4
,
4
,
1
,
1
,
1
,
0
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
1
,
0
,
0
,
16
,
16
,
16
,
16
,
16
,
0
,
0
],
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
:
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
}
]
}
}
]
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