大约有 134 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0029 秒)
...(this.ape); this.ape.loadImage("res/apes/monkey2.png"); this.ape.pivot(55, 72); // this.ape.pos( Laya.stage.width / 2, Laya.stage.height / 2); this.ape.x = Laya.stage.width / 2; this.ape.y = Laya.stage.height / 2; this.scaleDelta = 0; Laya.timer.frameLoop(1, this, this.animate); } animate() { this.a...
来源: Laya2.0_示例 发布时间: 20260106
... objects, 16(256KB) LOS objects, 7% free, 26MB/28MB, paused 10.953ms total 72.309ms at GCDaemon thread CareAboutPauseTimes 1 06-09 11:48:56.724 1999-2600/? D/ThermalStateManager: Thermal type: 0 cur_temperature:43 06-09 11:48:56.944 1040-1555/? D/ArpVerifier: performPollAndLog: 06-09 11:48:56.954 16...
来源: Laya_社区 发布时间: 20170609
...Con.addChild(ape); ape.loadImage(`res/apes/monkey${i}.png`); ape.pivot(55, 72).pos( Math.cos(radianUnit * i) * layoutRadius, Math.sin(radianUnit * i) * layoutRadius ); } this.apesCon.pos(Laya.stage.width / 2, Laya.stage.height / 2); Laya.timer.frameLoop(1, this, this.animate); } animate() { this.ape...
来源: Laya2.0_示例 发布时间: 20260106
...rite(); ape.loadImage("../../res/apes/monkey" + i + ".png"); ape.pivot(55, 72); // 以圆周排列猩猩 ape.pos( Math.cos(radianUnit * i) * layoutRadius, Math.sin(radianUnit * i) * layoutRadius); apesCtn.addChild(ape); } apesCtn.pos(Laya.stage.width / 2, Laya.stage.height / 2); Laya.timer.frameLoop...
来源: Laya_示例 发布时间: 20260106
...483647,0,30,30);//游动 // anifish.player.playByFrame(0,1.0,2147483647,40,72,30);//交互 这个就生效,但是截图的就说没有这个方法。为什么说没有 playByFrame方法 附件 : --> 2017-09-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请...
来源: Laya_社区 发布时间: 20170926
...ask); var index:int = 0; function drawMask():void { index++; if(index > 72) index = index-72; var angle:int = index*5; spr.mask.graphics.drawPie(0,0,100,0,angle, "#ffffff"); } 2018-05-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的...
来源: Laya_社区 发布时间: 20180502
...gap) / 2, Laya.stage.height / 2); //设置轴心点为中心 sp1.pivot(55, 72); Laya.stage.addChild(sp1); //不设置轴心点默认为左上角 sp2 = new Sprite(); sp2.loadImage("../../res/apes/monkey2.png", 0, 0); sp2.pos((Laya.stage.width + gap) / 2, Laya.stage.height / 2); Laya.stage.addChild(sp...
来源: Laya_示例 发布时间: 20260106
...setsLoaded() { ape = new Sprite(); Laya.stage.addChild(ape); ape.pivot(55, 72); ape.pos(Laya.stage.width / 2, Laya.stage.height / 2); // 显示默认纹理 switchTexture(); ape.on("click", this, switchTexture); } function switchTexture() { var textureUrl = (flag = !flag) ? texture1 : texture2; // ...
来源: Laya_示例 发布时间: 20260106
...e1.loadImage(monkey2Path); // 设置轴心点为中心 this.ape1.pivot(55, 72); this.ape1.pos(Laya.stage.width / 2 - gap, Laya.stage.height / 2); // 不设置轴心点默认为左上角 this.ape2 = new Sprite(); Laya.stage.addChild(this.ape2); this.ape2.loadImage(monkey2Path); this.ape2.pos(Laya.sta...
来源: Laya2.0_示例 发布时间: 20260106
...ape = new Laya.Sprite(); Laya.stage.addChild(this.ape); this.ape.pivot(55, 72); this.ape.pos(Laya.stage.width / 2, Laya.stage.height / 2); this.switchTexture(); this.ape.on(Laya.Event.CLICK, this, this.switchTexture); } switchTexture() { let monkey = (this.flag = !this.flag) ? monkey1Res : monkey2Re...
来源: Laya2.0_示例 发布时间: 20260106