大约有 179 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0042 秒)
Laya_社区(94) Laya3.0_api(64) Laya3.0_文档(6) Laya2.0_文档(5) Laya_示例(3) Laya2.0_示例(3) laya_api(2) Laya2.0_api(2)
...创建敌人 // createEnemy(10); // 定时器自动循环创建敌人 Laya.timer.frameLoop(1,this,onLoop); } function onLoop() { // 遍历所有飞机,更改飞机状态 for(var i = Laya.stage.numChildren - 1; i > 0; i--) { // 接收舞台子对象 var role = Laya.stage.getChildAt(i); // 判断...
来源: Laya_社区 发布时间: 20170525
...Menu.value = 0.0; Laya.stage.addChild(this.progressUI.displayObject); Laya.timer.loop(100, this, this.updataPosition); this.loadMainDatas(); } public updataPosition() { this.progressUI.setPosition(Laya.stage.width / 2, Laya.stage.height / 2); } public loadMainDatas() { Laya.loader.load([ { url: "res...
来源: Laya_社区 发布时间: 20171204
...模式下,两个相同颜色图片的边缘有可能会出现黑线 Laya.Timer.clear 的源码可能有个问题。 Byte 类中的报错信息的可能原因? app构建IOS包 进入游戏提示加载游戏失败,可能由于你的网络不稳定,请退出重进 问题状态 最新活动: 201...
来源: Laya_社区 发布时间: 20181204
.../ask.layabox.com/question/602 按照上面解决方案提示错误 Laya.timer.clear 第一个参数是this 附件 : --> 2018-01-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 好...
来源: Laya_社区 发布时间: 20180122
...集加载问题 关于逻辑贞更新间隔机制、时间和其他一些Timer相关的问题 写了个边缘光的自定义shader,有很多问题,帮忙看一下 我这样载入场景问题出现在哪呢?? 关于removechild、destory、clear的问题 两个问题 有元件支援视频流...
来源: Laya_社区 发布时间: 20170718
...(this.element.childElementCount) this.element.firstChild.remove(); } ILaya.timer.clear(this, this.render); } 2、关于Image所说的内存泄漏的问题,你们上面的描述更多的可以认为这个属于项目本身的处理问题。针对一个Image实例对象,频繁的切换skin,看...
来源: Laya_社区 发布时间: 20240228
...ar.viewport = new laya.maths.Rectangle(0, 0, 0, loginUI.bbbar.height) Game.timer.loop("progress", this, function() { //console.log("loginUI.bar.value = ", loginUI.bar.value); loginUI.bbbar.viewport.width = loginUI.bbbar.viewport.width + 0.2 //console.log("loginUI.bbbar.viewport.width = ", loginUI.bb...
来源: Laya_社区 发布时间: 20170913
...phics.clear(); this._sp.graphics.drawCircle(100, 100, 50, '#ffffff'); Laya.timer.once(3000, this, () => { this.img.mask = this._sp; }) }之后编译项目 2. 使用iphone手机的safari扫码功能运行项目 3秒中之后必现黑屏 手机型号: iphone 6s 系统 13.1.3 使用qq浏览器扫...
来源: Laya_社区 发布时间: 20191215
...创建敌人 // createEnemy(10); // 定时器自动循环创建敌人 Laya.timer.frameLoop(1,this,onLoop); } function onLoop() { // 遍历所有飞机,更改飞机状态 for(var i = Laya.stage.numChildren - 1; i > 0; i--) { // 接收舞台子对象 var role = Laya.stage.getChildAt(i); // 判断...
来源: Laya_社区 发布时间: 20170525
....MOUSE_UP, this, this.onMouseUp); //创建一个帧循环处理函数 Laya.timer.frameLoop(1, this, this.onLoop); } _proto.onLoop = function(){ // 检测人物是否踩在地板上面了 for(var i = this.mapFloor.numChildren - 1; i > -1; i--){ var floor = this.mapFloor.getChildAt(i); //检测人...
来源: Laya_社区 发布时间: 20160803