大约有 109 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 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 = []; //添加键盘按下事件,一直按着某按键则会不断...
来源: Laya2.0_示例 发布时间: 20251130
...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.loadAni(this...
来源: Laya2.0_示例 发布时间: 20251130
...(); 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(this.m...
来源: Laya2.0_示例 发布时间: 20251130
...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(this....
来源: Laya2.0_示例 发布时间: 20251130
...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...
来源: Laya2.0_示例 发布时间: 20251130
...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(this.mA...
来源: Laya2.0_示例 发布时间: 20251130
...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.loadAni(...
来源: Laya2.0_示例 发布时间: 20251130
...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...
来源: Laya2.0_示例 发布时间: 20251130
...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...
来源: Laya2.0_示例 发布时间: 20251130
..._SHOWALL; Laya.stage.bgColor = "#232628"; this.setup(); } private setup(): void { this.createCharacter(); this.createEaseFunctionList(); this.createDurationCrontroller(); } private createCharacter(): void { this.character = new Sprite(); this.character.loadImage("res/cartoonCharacters/1.png"); this....
来源: Laya2.0_示例 发布时间: 20251130