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

大约有 792 项符合查询结果, 库内数据总量为 30,902 项。 (搜索耗时: 0.0055 秒)

511. 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

512. 求教 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

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

...   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

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

...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

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

...(调用静态方法,其中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

516. 如何加载一个HTML页面 [ 49%]

...t column 7: internal error: detected an error in element contentBelow is a rendering of the page up to the first error." (function() { var Stage = Laya.Stage; var Text  = Laya.Text; var WebGL = Laya.WebGL; (function() {   // 不支持WebGL时自动切换至Canvas   Laya.init(200, 300, WebGL);   ...

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

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

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

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

518. 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

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

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

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

520. TypeError: Cannot read property '_byteLength' of null [ 48%]

...//F:/client_svn/h5/bin/libs/laya.webgl.js:4963:32) at SubmitCanvas.__proto.renderSubmit (file:///F:/client_svn/h5/bin/libs/laya.webgl.js:6294:18) at WebGLContext2D.__proto.submitElement (file:///F:/client_svn/h5/bin/libs/laya.webgl.js:4954:30) at WebGLContext2D.__proto.flush (file:///F:/client_svn/h...

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