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
75bf3fbe
Commit
75bf3fbe
authored
Apr 03, 2020
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
c1fc2956
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
15 deletions
+1
-15
MapScene.ts
egret/src/mapScene/MapScene.ts
+1
-15
No files found.
egret/src/mapScene/MapScene.ts
View file @
75bf3fbe
...
@@ -1064,25 +1064,11 @@ export default class MapScene extends Scene {
...
@@ -1064,25 +1064,11 @@ export default class MapScene extends Scene {
async
playAni
()
{
async
playAni
()
{
if
(
this
.
_mc
)
{
if
(
this
.
_mc
)
{
await
play2
(
this
.
_mc
,
121
,
240
);
await
play2
(
this
.
_mc
,
121
,
240
-
30
);
}
}
this
[
'boxLayer'
].
visible
=
false
;
this
[
'boxLayer'
].
visible
=
false
;
}
}
// async onPlaySTOP() {
// return new Promise((r) => {
// const func = () => {
// if (this._mc.currentFrame >= 100) {
// this._mc.removeEventListener(egret.Event.ENTER_FRAME, func, this);
// this._mc.stop();
// r();
// }
// }
// this._mc.addEventListener(egret.Event.ENTER_FRAME, func, this);
// });
// }
async
onTap_box
()
{
async
onTap_box
()
{
console
.
log
(
1
)
console
.
log
(
1
)
// const data = getHomeData();
// const data = getHomeData();
...
...
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