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

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

1151. 设置声音 在 chrome 的一个警告 [ 51%]

... removed in M64, around January 2018. Please use setTargetAtTime() instead if smoothing is needed. See https://www.chromestatus.com/f ... 29152 for more details. (anonymous) @ laya.core.js:16299 SoundManager.playSound @ laya.core.js:4878 SoundManager.playSound @ SoundManager.ts:13 LoginView.login @ ...

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

1152. 请问一下native下的的Render.isConchWebGL [ 51%]

...8-03-01 15:31 浏览: 1446 关注: 5 人 helloworldlv • 2018-03-05 20:37 if (Render.isConchApp){ bitmap.source.enableMerageInAtlas(true/*false*/); } helloworldlv • 2018-03-05 20:37 试试这个 tyevlag • 2018-02-28 22:52 呃,就是说指定某些纹理,条件不只是图片大小 tyevlag ...

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

1153. Laya2.1.0的BUG!Loader类的loadImage有问题了。快看! [ 51%]

...,跳过onLoaded方法中的BUG。哎,只能这样临时处理一下。 if (url == "" || url == null) { url = null; type = null; this._type = null; } 2019-07-09 0 0 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 这个问题之前已经修复,还未发布,感谢您的反馈~! 2019-07-0...

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

1154. 多次加载一个页面出现_$P为null的情况 [ 51%]

... _proto.onlineClick = function(){ var gold = StorageHelper.getUserGold(); if(gold > 500){ Online.joinGame().then(function(data){ console.log(data); StorageHelper.setDeskNo(data.desk.deskNo); StorageHelper.setDeskSeat(data.ownSeatNo); Laya.stage.destroyChildren(); var playSence = new OnlinePlaySen...

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

1155. LayaIDE 2.4beta 编辑2D粒子的时候,为何动不动把开始弧度和结束弧度给重置值了? [ 51%]

... 提交 3 个回复 牛唠叨 赞同来自: 就是写IDE的代码写成了 if(!minHorizontalStartValue) minHorizontalStartValue = 默认值   刚好 minHorizontalStartValue = 0 的时候判断也成立 2019-12-24 0 0 分享 微博 QZONE 微信 牛唠叨 赞同来自: 请问一下,引擎组老...

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

1156. Laya2.7.1 射线提示rayCast未定义 [ 51%]

...scene.physicsSimulation.rayCast(ray,outHitResult); //如果碰撞到物体 if (outHitResult.succeeded) { } }}  求问哪里语法错了 附件 : --> 2020-08-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_...

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

1157. 动画加载成功后设置的描点,在电脑上运行正常,打包APK后到手机上运行,描点未生效 [ 51%]

...电脑上运行正常,打包APK后到手机上运行,描点未生效 if(anin==null)anin=new Animation(); anin.loadAtlas(url,Handler.create(this,onloaded),url); anin.autoSize=true; anin.autoPlay=false; anin.interval=interval;   private function onloaded():void { anin.pivotX=anin.getBounds().widt...

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

1158. 引入Puremvc.js,编译没问题,运行时报错查不到 [ 51%]

...存在的,puremvc一直未被定义,需要把puremvc绑定到window上 if( typeof define === "function" ) {     define( "puremvc", [], function()     { var puremvc; (function (puremvc) { "use strict"; //... })(puremvc || (puremvc = {})); }) } //修改为: var puremvc=window.puremvc||(w...

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

1159. 按钮加载皮肤丢失 [ 51%]

...                 but.stateNum = 2;                 if ((i+1)%2 == 0) {                     but.pos(83, 370 + (i + 1) / 2 * but.height + (i + 1) / 2 * 8);                 }else {                     but.pos(245,370 + (i + 1) / 2 * but....

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

1160. 3d模型在相机纹理不能居中显示,人物锯齿严重 [ 51%]

...*197 • 2022-05-09 15:52 牛啊,终于解决了,官方demo上可以用if webgl 来把这个加上,不然只有之前那个,锯齿很严重没法用啊

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