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

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

61. OpenGL报错 [ 55%]

...2.0编辑器,经常报OpenGL的一个错误,报错如下:[.Offscreen-For-WebGL-0DB79150]GL ERROR :GL_INVALID_OPERATION : glDrawElements: attempt to access out of range vertices in attribute 0 [file:///E:/Laya_APP_Hall/Laya_Chess_App/bin/index.html],然后界面会闪烁黑一下,研究好...

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

62. List数据源的格式问题导致无法响应List的SelectHandler [ 55%]

...源设置的相关代码var temp:Array = []; var skillInfoVO:SkillInfoVO; for(var i:int = 0;i<20;i++) { skillInfoVO = new SkillInfoVO(); skillInfoVO.Name = "数据源" + i; skillInfoVO.Lv = i; skillInfoVO.Color = 1; temp.push(skillInfoVO); } list.array = temp;2、SkillInfoVO的相关代码public ...

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

63. 【Native BUG】Native下对根结点设置filter,无法更新到每个子节点,web是ok的 [ 54%]

... public static setGray(node: Laya.Node, set: boolean) {             for (var i = 0; i < node.numChildren; i++) {                 let sprite = node.getChildAt(i) as Laya.Sprite;                 if (sprite) {                     //if (sprite instanceof Laya.Text) { ...

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

64. 发布微信后无法触发mouse_up事件 [ 54%]

...ts.Event):void { var touches: Array<any> = e.touches; if (touches) { for(let i=0;i<touches.length;i++){ let t =touches[i]; let nameIndex =e.touchId + "_" + i; console.log(nameIndex+":"+e.type); } } } 之能收到down和move! 2018-11-02 添加评论 免费帖 --> 分享 微博 QZONE 微...

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

65. 关于资源版本号的问题咨询 [ 54%]

...载完atlas文件后会执行Loader.as的onLoaded中的如下代码 }else{ for (name in frames) { obj = frames[name];//取对应的图 tPic = pics[obj.frame.idx ? obj.frame.idx : 0];//是否释放 [i][b]url = URL.formatURL(directory + name); [/b][/i] cacheRes(url, Texture.create(tPic, obj.frame.x, o...

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

66. VR的demo有没有加载3D场景的啊,实在不知怎么加 [ 54%]

...era = scene.addChild(new Laya.VRCamera( 0.03,0, 0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0.3, 0.3, 0.6)); camera.transform.rotate(new Laya.Vector3(-12, 0, 0), true, false); camera.clearFlag = Laya.BaseCamera.CLEARFLAG_SKY; camera.addComponent(VRCameraMoveScript); /* var camera = (s...

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

67. laya教程 [ 53%]

...P Configure Display Language 安装中文语言包 Extensions 搜索 debug for Chrome  安装 修改 compile.js中的sourcemap属性修改为true 或者搜索sourcemap:修改false为true 修改config.json中sourceMap属性为true   打开main.ts onConfigLoaded() console.log('helloworld');   F9...

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

68. layacmd 安装不成功 [ 53%]

...this fails on your system: npm ERR! node install.js npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs electron npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls electron npm ERR! There is likely additional logging o...

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

69. 小游戏对读取json文件有要求吗?为啥说读取json文件错误啊 [ 53%]

...用,然后直接this.linkJson.XXX进行读取的,如果数值都都是for循环后再.XXX,也没有地方设置编码格式啊 2018-01-15 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 liwenhua 相关问...

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

70. 截屏文件没有保存 [ 52%]

...937 9306-9431 E/LayaBox: >>>>>>>>>>>>before 03-05 19:47:45.940 9306-9431 E/LayaBox: >>>>>>>>>>>>after 03-05 19:47:45.982 9306-9392 I/dalvikvm-heap: Grow heap (frag case) to 21.565MB for 12582928-byte allocation 03-05 19:47:49.84...

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