• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 831 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0053 秒)

401. laya.wxmini.js 中的stop停止声音bug [ 56%]

...9-01-03 15:19 浏览: 4118 关注: 2 人 ㍿ • 2019-01-03 14:59 你弄个for循环100遍,循环里面就重复的播放和停止音效,就可以了啊。百分百重现的。我自己按照我那个方法改了就可以了 ㍿ • 2018-12-06 13:56 1.7.20.1

来源: Laya_社区 发布时间: 20181205

402. TimeLine 时间线缓动的LABEL事件无法响应到第一个标签 [ 56%]

...71361218:底层 laya.core.js 里面的 gotoTime方法里面的最后一个 for循环里

来源: Laya_社区 发布时间: 20181021

403. matter中更换texture [ 56%]

...s = event.pairs; // change object colours to show those ending a collision for (var i = 0; i < pairs.length; i++) { var pair = pairs[i]; pair.bodyA.render.fillStyle = '#2A2CB2'; pair.bodyB.render.fillStyle = '#2A2CB2'; pair.bodyB.render.sprite.texture = './comp/block.png'; } } 2017-10-24 添加...

来源: Laya_社区 发布时间: 20171024

404. 对象池的使用 [ 56%]

...60; this.addChild(nan); } private function delRen():void { if(arr.length){ for (var i:uint = 0; i < arr.length; i++ ){ if (arr[i].y > 800){ Pool.recover("nan", Image); } }arr[i].visible = false ; }; } 2017-12-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...

来源: Laya_社区 发布时间: 20171226

405. 黑屏报这个错,是什么原因? [ 56%]

...是什么原因? 黑屏报这个错,是什么原因?  [.Offscreen-For-WebGL-080E3858]GL ERROR :GL_INVALID_OPERATION : glDrawElements: Source and destination textures of the draw are the same. VM72  2017-09-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...

来源: Laya_社区 发布时间: 20170908

406. vs code 拉起chrome,但是地址栏没有自动输入launch.json里的url [ 56%]

... 提交 1 个回复 186*****645 赞同来自: 好像是vscode的debugger for chrome插件的问题,可以回滚到4.12.8版本试试 2020-07-12 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 哦哦哦(´-ω-`) 相关问题 2.0一不小...

来源: Laya_社区 发布时间: 20200711

407. Laya2D碰撞问题 [ 56%]

...。以下代码里面写的方法 可以修改大小 但是尺寸不对。 for (let i = 0; i < Laya.RigidBody['objs'].length; i++) { const element = Laya.RigidBody['objs'][i]; if(element) if(element.owner){ if(element.owner.getComponent(Laya.CircleCollider)){return} if(element.owner.getComponent(...

来源: Laya_社区 发布时间: 20200807

408. 怎么解码网址的中文乱码 [ 56%]

...              var gets:Object = {};                 for (var i:String in u)                 {                     var j:String = u[i].split("=");                     gets[j[0]] = j[1];                 }             ...

来源: Laya_社区 发布时间: 20170630

409. vs code launch.json调试配置 [ 56%]

...sible attributes. // Hover to view descriptions of existing attributes. // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ { "type": "chrome", "request": "launch", "name": "Launch Chrome", "url": "http://localhost:8080", "webRoot": ...

来源: Laya_社区 发布时间: 20200114

410. laya里面子节点设置zOrder值时,放在函数中调用 [ 56%]

laya里面子节点设置zOrder值时,放在函数中调用 for(var i=0;i<10;i++)(){     game.box.getChildAt(i).zOrder=100-i; }; last_one() function last_one(){     var n=game.box.numChildren;     game.box.removeChildAt(n-1); }; //默认zOrder最大的为第一个;     2018-03-05 1 条...

来源: Laya_社区 发布时间: 20180305