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

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

41. 把场景中的对像删除,就会报错 [ 91%]

...ypeError: Cannot read property 'visible' of null     at RenderSprite3D.__proto._childs (Main.max.js?r0.22069932534774384:33147)     at RenderSprite3D.__proto._graphics (Main.max.js?r0.22069932534774384:33079)     at NpcView.__proto.render (Main.max.js?r0.22069932534774384:54362)     at Rende...

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

42. 【简单跑酷--JS版】---Lv.5 玩家踩地板 [ 91%]

...象 继承此 Sprite Laya.class(Floor, "Floor", laya.display.Sprite); var _proto = Floor.prototype; /** * type int 1->地板默认宽度 other->随机宽度 */ _proto.init = function(type){ this.maxRight = 0; //如果不开启autoSize 父容器的宽度和高度无法获取 this.autoSize = tru...

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

43. 打包小游戏后在开发者工具中报错 CharRender_Canvas.ctx.fillAndStrokeText is not a function [ 91%]

...anvas.ctx.fillAndStrokeText is not a function     at CharRender_Canvas.__proto.getCharCanvas (http://127.0.0.1:59957/game/li ... 935:26)     at CharRender_Canvas.__proto.getCharBmp (http://127.0.0.1:59957/game/li ... 882:16)     at CharPages.__proto.getCharBmp (http://127.0.0.1:59957/game/li ....

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

44. 加载.lh文件报错 [ 91%]

...at Loader.Laya3D._onHierarchylhLoaded (laya.d3.js:15252) at EventHandler.__proto.runWith (laya.core.js:1126) at Loader.__proto.event (laya.core.js:882) at Loader.__proto.complete (laya.core.js:14965) at Loader.__proto.onLoaded (laya.core.js:14933) at EventHandler.__proto.runWith (laya.core.js:1125) ...

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

45. Proto中关于bytes类型的问题 [ 91%]

Proto中关于bytes类型的问题 想问下,如果proto中,有字段为bytes类型,如: message XYMessage { required bytes msg = 1; required uint32 channel = 2; };   想问下msg怎么赋值啊? var msgByteBuffer = new window['dcodeIO'].ByteBuffer().writeIString('aabbcc').flip(); var Ms...

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

46. 分包项目, 加载js时报错 [ 90%]

...peError: Cannot read property 'View' of undefined     at eval (eval at __proto.complete (AA.max.js:410), <anonymous>:5:68)     at eval (eval at __proto.complete (AA.max.js:410), <anonymous>:24:3)     at eval (<anonymous>)     at AA.__proto.complete (AA.max.js:410)     at ...

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

47. AS引用AS项目打包出来的JS不能用 [ 90%]

...rror: Maximum call stack size exceeded     at CanvasRenderingContext2D.__proto.fillText (dsgame.max.js:6015)     at CanvasRenderingContext2D.__proto.fillText (dsgame.max.js:6015)     at CanvasRenderingContext2D.__proto.fillText (dsgame.max.js:6015)     at CanvasRenderingContext2D.__proto.fil...

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

48. protocol 版本3 支持 [ 90%]

protocol 版本3 支持 现在我们项目用proto交互,因为后台C#只能用proto3(proto2不在维护了),然而LayaBox好像没有支持proto3,求问有什么更好的解决办法? 解析一下这个看可以吗? 2017-04-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有...

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

49. 带骨骼动画模型加载问题,加载没有刚体效果、动画Animator销毁报错 [ 90%]

...ypeError: Cannot read property 'referenceCount' of undefined at Animator.__proto._removeKeyframeNodeOwner (laya.d3.js:18104) at Animator.__proto._handleSpriteOwnersBySprite (laya.d3.js:18769) at SkinnedMeshSprite3D.__proto._changeAnimatorToLinkSprite3DNoAvatar (laya.d3.js:27507) at Sprite3D.__proto....

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

50. 建议给Tween增加一些功能, 例如无限循环 , 增加一些回调函数 [ 90%]

...GL_OUT_OF_MEMORY : glShaderSource: too large laya.webgl.js:7582 Uncaught __proto._compile @ laya.webgl.js:7582__proto.recreateResource @ laya.webgl.js:7548__proto.activeResource @ laya.core.js:13203__proto.upload @ laya.webgl.js:7889__proto.upload @ laya.webgl.js:5593__proto.renderSubmit @ laya.webg...

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