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

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

281. layaAir IDE UI导出显示异常 [ 66%]

...后缀格式造成的,而默认例子里面加载的是json格式的: Laya.loader.load("res/atlas/comp.json", Handler.create(this, onAssetLoaded), null, Loader.ATLAS);   所有导致了图集位置错乱,麻烦技术修下这个bug. 建议ui编辑器默认就导出成json格式大图~~   2017-11-1...

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

282. 求教 JS项目的Promise如何使用 [ 66%]

...源加载成功后,通过回调方法绘制图片并添加到舞台 Laya.loader.load(this.monkey2,Laya.Handler.create(this,graphicsImg)); function graphicsImg(){ var img = new Laya.Sprite(); //获取图片资源,绘制到画布 img.graphics.drawTexture(Laya.loader.getRes(this.monkey2),100,50); /...

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

283. Laya Air Ide每次启动layaair调试时能否不清除已经下载的缓存? [ 66%]

...调试时能否不清除已经下载的缓存? 在游戏中,我用Laya.loader.load("xxx")从网络上下载了资源,但是每次重启layaair调试时候,我用Laya.loader.getRes("xxx")却显示未定义。请问该怎么处理呢?? 2018-11-30 添加评论 免费帖 --> 分享 微博 QZ...

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

284. 自定义组件在哪里注册的呢 [ 66%]

...请问laya有没有类似翻页容器(pageView)的组件? 请问Laya.loader.load资源缓存在哪里?能不能把这个缓存目录里的资源加入NativeFile白名单? 请问在哪里可以找到js语言laya游戏的源码 layair 两点之间的距离api在哪里 IDE"代码模式"下,...

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

285. 网络动态加载看不明白 [ 66%]

...白 想要用basepath加载图集到我的网络地址这样写对吗 Laya.loader.load(["res/atlas/comp.atlas"]); Laya.URL.basePath="http://192.168.6.143:8080"; 2018-12-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个...

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

286. 微信环境下面Laya.Browser.window.protobuf.load不能读取本地的proto文件 [ 65%]

...72:13)     at http://127.0.0.1:53462/game/code.js:97630:17     at Laya.loader.load.Handler.create (http://127.0.0.1:53462/game/code.js:102231:13)     at Handler.__proto.runWith (http://127.0.0.1:53462/game/code.js:711:59)   查看了应该是微信自带的浏览器内核不支持Function.app...

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

287. ColorPicker组件的皮肤制作标准是? [ 65%]

...lor = "#efefef";//设置画布的背景颜色。               Laya.loader.load("resource/ui/color.png", Handler.create(this,onLoadComplete));//加载资源。           }           private function onLoadComplete():void           {               trace("资源加载完...

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

288. exception info:[SyntaxError: JSON Parse error: Expected '}'] at line 22 [ 65%]

...: Error Could not attach to main target 微信小程序里加载json文件 Loader.load加载json类型的资源,完成后调用Loader.clearRes后,并不能真正释放资源的bug spine动画转换失败,加载错误:导出二进制数据出错:writeUint8 error - Out of range261, 有谁知道什...

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

289. meshRender修改材质问题 [ 65%]

... (file:///E:/LayaWorkspace/javaScriptLaya/bin/libs/laya.core.js:483:28) at LoaderManager.__proto._endLoad (file:///E:/LayaWorkspace/javaScriptLaya/bin/libs/laya.core.js:12841:11) at Loader.onLoaded (file:///E:/LayaWorkspace/javaScriptLaya/bin/libs/laya.core.js:12818:10) at EventHandler.__proto.runWi...

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

290. [临时解决]bug?加载sk问题 [ 65%]

...是加载sk完成前,就调用动画导致 因此,在最开始用Laya.loader.Load(["drgon.sk"]......)这样的方式预加载 !!!结果,预加载时报错,就是这里: laya.core.js的7430行    if (this._pos_+2 > this._length)throw "getUint16 error - Out of bounds"; 但是,...

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