大约有 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)
...x=speedx; this.bgimg.speedy=speedy; console.log("funmovebg"+movetox); Laya.timer.frameLoop(speed, this, funbg); 2017-10-25 0 2 分享 微博 QZONE 微信 yinglei999 赞同来自: var Loader = Laya.Loader; var loaderHandler = Laya.Handler; var scronw=640; var scronh=960; ...
来源: Laya_社区 发布时间: 20171024
...直在动 不太适合我们调试代码 我们打开Floor.js 找到 Laya.timer.frameLoop(1, this, this.onLoop); 把这一行代码先给注释了 接着 我们先理一理自己的思路 我们要做玩家踩在地板上 那就要用到碰撞检测 上图中紫色的小点点是 两个物体的 坐...
来源: Laya_社区 发布时间: 20160801
...gt; 1200) { this.ball.x = 286; this.ball.y = 1140; // 清楚定时器 Laya.timer.clear(this, this.moveDownBall); } }; 2017-11-08 0 0 分享 微博 QZONE 微信 ymsdandan 赞同来自: 代码的问题,你得自己调试才行,也可以发个demo过来 2017-11-08 0 0 分享 微博 QZONE 微信 ...
来源: Laya_社区 发布时间: 20171108
... * <p>destroy时会移除自身的事情监听,自身的timer监听,移除子对象及从父节点移除自己。</p> * @param destroyChild (可选)是否同时销毁子节点,若值为true,则销毁子节点,否则不销毁子节点。 看截...
来源: Laya_社区 发布时间: 20181121
...f(index<0){ this.__bindList.push(source); } this.addChild(source); this.timer.frameLoop(1,this,this.__updateBinds); } unbind(source:BindSource):void{ let index:number=this.__bindList.indexOf(source); if(index<0){ throw new Error("找不到要删除的绑定内容"); } this.removeChild(sou...
来源: Laya_社区 发布时间: 20190805
...ew Laya.Sprite(); bg.loadImage("comp/hunter.jpg"); this.addChild(bg); Laya.timer.frameLoop(1,this,this.move); // drawSomething(); } move() { sp = new Laya.Sprite(); Laya.stage.addChild(sp); //画曲线 if(x<100){ x++; } sp.graphics.clear(); sp.graphics.drawCurves(10, 58, [x, 0, 19, -100, 39, 0], ...
来源: Laya_社区 发布时间: 20190520
...package.encode(Package.TYPE_HEARTBEAT); if(this.heartbeatTimeoutId) { Laya.timer.clear(this,this.heartbeatTimeoutId); this.heartbeatTimeoutId = null; } if(this.heartbeatId) { // already in a heartbeat interval return; } var self = this; self.heartbeatId = Laya.timer.once(self.heartbeatInterval,self,...
来源: Laya_社区 发布时间: 20180119
...方法 2018-02-07 0 0 分享 微博 QZONE 微信 qian 赞同来自: Laya.timer.clear(this,function),function就是你想要关闭的定时器的回调。 2018-02-07 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 oy2419498011 问题...
来源: Laya_社区 发布时间: 20180207
... sp.graphics.drawTexture(e); Laya.timer.once(1000, this, function():void { trace("clear") Loader.clearRes(mapBit, true);} ); } 如果把延时里面的方法改成Loa...
来源: Laya_社区 发布时间: 20161230
...、clear的问题 关于逻辑贞更新间隔机制、时间和其他一些Timer相关的问题 问题状态 最新活动: 2018-03-22 15:27 浏览: 1035 关注: 2 人 qian • 2018-03-22 15:52 那个回复昨天不知道被谁修改过了 不是我之前回的 我又重新编辑了一下
来源: Laya_社区 发布时间: 20180322