Commit 48dfb7cb authored by wildfirecode's avatar wildfirecode

1

parent 9da1b068
No preview for this file type
......@@ -19,8 +19,8 @@ export default class Gun extends egret.Sprite {
}
fire(vec: egret.Point) {
let a: any;
console.log(a.b.c)
let b: any;
console.log(b.c)
egret.Tween.get(this._gun)
.to({ scaleY: 0.6 }, 100)
.to({ scaleY: 1 }, 100);
......
......@@ -95,30 +95,6 @@ export class Main extends eui.UILayer {
}
private async runGame() {
window['_error_storage_'] = [];
window['ERROR_CONFIG'] = {
client: "duiba-game",
pageId: 'skyeye-test-demo',
imgUrl: "http://retcode.tuipink.com/report?"
};
function r() {
window['_error_storage_'] && window['_error_storage_'].push([].slice.call(arguments))
}
window.addEventListener && window.addEventListener("error", r, true);
var t = 3,
n = function e() {
var r = document.createElement("script");
r.async = !0, r.src = "//yun.tuia.cn/tuia/skyeye/skyeye.js", r.crossOrigin = "anonymous", r.onerror =
function () {
t-- , t > 0 && setTimeout(e, 1500)
}, document.head && document.head.appendChild(r)
};
setTimeout(n, 1500);
await this.loadResource()
this.createGameScene();
}
......
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