Commit 75bf3fbe authored by wildfirecode's avatar wildfirecode

1

parent c1fc2956
......@@ -1064,25 +1064,11 @@ export default class MapScene extends Scene {
async playAni() {
if (this._mc) {
await play2(this._mc,121,240);
await play2(this._mc,121,240-30);
}
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() {
console.log(1)
// const data = getHomeData();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment