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

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

551. 求教 label.text之类的文本,能否支持从右到左的显示?或者有没有什么解决方案,现有阿拉伯文、维语的需求 [ 49%]

... //Browser.document.body.style.direction = "rtl";             Render._mainCanvas.source.style.direction = "rtl";             Text.RightToLeft = true;             Browser.document.body.appendChild(Browser.canvas.source);         }   2018-03-13 0 0 分享 ...

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

552. [LayaAir3]laya3.3.1 帧率不稳,最新测试包。可以看打印计数器跳帧数 [ 49%]

...原生的感觉。   修复方式我已在laya2 试过,只需要接管Render 和Timer 部分的delta 计算方式就行。 稳定性和性能提升显著。   附件 : --> LayaFps.zip 2025-09-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...

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

553. TypeError: Cannot read property '_byteLength' of null [ 49%]

...LContext2D.__proto.flush (GameLoader.max.js:25474) at SubmitCanvas.__proto.renderSubmit (GameLoader.max.js:26595) at WebGLContext2D.__proto.submitElement (GameLoader.max.js:25465) at WebGLContext2D.__proto.flush (GameLoader.max.js:25487) at RenderContext.__proto.flush (GameLoader.max.js:11156) at St...

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

554. TimeLine调用destroy报错&执行完成后回到起点 [ 48%]

...max.js:9196) at Timer.__proto._update (HMain.max.js:8951) at Stage.__proto.render (HMain.max.js:16932) at Stage.__proto._loop (HMain.max.js:16892) at loop (HMain.max.js:5472)    private function createTimerLine():void { timeLine.addLabel("turnRight",0).to(target,{x:450, y:100, scaleX:0.5, scaleY:0...

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

555. Spine切换动画后,站立动画抖动得厉害,特别是腿部 [ 48%]

...   at Timer.__proto._update (laya.core.js:9560)     at Stage.__proto.render (laya.core.js:18520)     at Stage.__proto._loop (laya.core.js:18478)     at loop (laya.core.js:5437) 2018-06-20 0 0 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 在上一部分的示例代码可以看到这...

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

556. 在Native端IOS下提示反射找不到方法? [ 48%]

...(调用静态方法,其中Android使用方法调用正常) if (Laya.Render.isConchApp) { // 通过反射机制,调用Android和IOS原生代码的类和方法 let className = Laya.Browser.onAndriod ? "com.xxxx.yyyy.JSProxy" : "JSProxy"; console.log("className = " + className); var jsProxy = L...

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

557. 360浏览器打开提示:SCRIPT1028: 缺少标识符、字符串或数字 kejian.max.js, 行80 字符3 [ 48%]

...来自: 在index.html中加入下面两句话就可以了  <meta name="renderer" content="webkit"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> 2017-03-17 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 zhan...

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

558. 2d示例项目打包为微信小游戏报错,Cannot read property 'LESS' of null [ 48%]

...属性,报错位置在WebGLContext.__init__ ();中 断点发现 在类Render 的 initRender 方法中 getWebGLContext 总返回null;   附件已上传 附件 : --> wxgame.zip 2022-06-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关...

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

559. 创建[HTMLDivElement]时遇到错误(手动实例一次本组件可定位错误) [ 48%]

...太麻烦了,我直接找到LayaAirIDE\resources\app\out\vs\layaEditor\renders\editorui2.0这个文件,把__class(HtmlText,'laya.editorUI.HtmlText');这句话改成__class(HtmlText,'laya.editorUI.HtmlText',_super);就没问题了

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

560. layaAir1.7.16beta版本cavans下spine骨骼动画显示异常,layaAir1.7.14beta还是好的 [ 48%]

...出问题了,问题代码是BoneSlot.as的 if (currTexture && !Render.isConchApp && currDisplayData.type == 0 && currDisplayData.uvs)                     {                         currTexture = currDisplayData.createTexture(currTexture);  ...

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