大约有 139 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0023 秒)
...showall"; Laya.stage.bgColor = "#232628"; this.setup(); } private setup(): void { this.listenKeyboard(); this.createLogger(); Laya.timer.frameLoop(1, this, this.keyboardInspector); } private listenKeyboard(): void { this.keyDownList = []; //添加键盘按下事件,一直按着某按键则会不断...
来源: Laya_示例 发布时间: 20241118
...age.bgColor = "#ffffff"; Stat.show(); this.startFun(); } public startFun():void { this.mAniPath = "../../res/spine/spineRes2/goblins.sk"; this.mFactory = new Templet(); this.mFactory.on(Event.COMPLETE, this, this.parseComplete); this.mFactory.on(Event.ERROR, this, this.onError); this.mFactory.loadAn...
来源: Laya_示例 发布时间: 20241118
...(); this.mLabelSprite = new Sprite(); this.startFun(); } public startFun():void { this.mAniPath = "../../res/spine/spineRes6/alien.sk"; this.mFactory = new Templet(); this.mFactory.on(Event.COMPLETE, this, this.parseComplete); this.mFactory.on(Event.ERROR, this, this.onError); this.mFactory.loadAni(...
来源: Laya_示例 发布时间: 20241118
...age.bgColor = "#ffffff"; Stat.show(); this.startFun(); } public startFun():void { this.mAniPath = "../../res/spine/spineRes1/dragon.sk"; this.mFactory = new Templet(); this.mFactory.on(Event.COMPLETE, this, this.parseComplete); this.mFactory.on(Event.ERROR, this, this.onError); this.mFactory.loadAni...
来源: Laya_示例 发布时间: 20241118
...showall"; Laya.stage.bgColor = "#232628"; this.setup(); } private setup(): void { this.buildWorld(); this.createLogger(); } private buildWorld(): void { this.createCoralRect(); this.createDeepSkyblueRect(); this.createDarkOrchidRect(); // 设置舞台 Laya.stage.name = "暗灰色舞台" Laya.stage.o...
来源: Laya_示例 发布时间: 20241118
...age.bgColor = "#ffffff"; Stat.show(); this.startFun(); } public startFun():void { this.mAniPath = "../../res/spine/spineRes5/vine.sk"; this.mFactory = new Templet(); this.mFactory.on(Event.COMPLETE, this, this.parseComplete); this.mFactory.on(Event.ERROR, this, this.onError); this.mFactory.loadAni(t...
来源: Laya_示例 发布时间: 20241118
...age.bgColor = "#ffffff"; Stat.show(); this.startFun(); } public startFun():void { this.mAniPath = "../../res/spine/spineRes4/stretchyman.sk"; this.mFactory = new Templet(); this.mFactory.on(Event.COMPLETE, this, this.parseComplete); this.mFactory.on(Event.ERROR, this, this.onError); this.mFactory.lo...
来源: Laya_示例 发布时间: 20241118
...Color = "#232628"; this.connect(); this.showLogger(); } private connect(): void { this.hr = new HttpRequest(); this.hr.once(Event.PROGRESS, this, this.onHttpRequestProgress); this.hr.once(Event.COMPLETE, this, this.onHttpRequestComplete); this.hr.once(Event.ERROR, this, this.onHttpRequestError); thi...
来源: Laya_示例 发布时间: 20241118
...Color = "#232628"; this.connect(); this.showLogger(); } private connect(): void { this.hr = new HttpRequest(); this.hr.once(Event.PROGRESS, this, this.onHttpRequestProgress); this.hr.once(Event.COMPLETE, this, this.onHttpRequestComplete); this.hr.once(Event.ERROR, this, this.onHttpRequestError); thi...
来源: Laya_示例 发布时间: 20241118
...E_SHOWALL; Laya.stage.bgColor = "#232628"; this.setup(); } private setup():void { this.createApe(); this.createTimerLine(); Laya.stage.on( Event.KEY_DOWN, this, this.keyDown); } private createApe():void { this.target = new Sprite(); this.target.loadImage("../../res/apes/monkey2.png"); Laya.stage.add...
来源: Laya_示例 发布时间: 20241118