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

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

181. layaair ide 2.0.0 beta2 读取.lh文件报错 [ 57%]

... fbxtools插件版本1.7.16beta 导出的文件夹放到bin目录, 用Laya.loader.create读取.lh文件报错,   laya.d3.js:15158 Uncaught TypeError: Cannot read property 'props' of undefinedat Function.Laya3D._getSprite3DHierarchyInnerUrls (laya.d3.js:15158) at Loader.Laya3D._onHierarchylhLoaded (...

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

182. image.drawToCanvas方法获取的一直是空的png [ 57%]

...tage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Laya.loader.load("res/logo.png",Handler.create(this,onLoaded)); } private function onLoaded():void { img=new Image(); img.skin="res/logo.png"; Laya.stage.addChild(img); Laya.timer.once(500,this,onClick); //Laya.stage.on(Event.CLIC...

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

183. 加载配置json文件不成功!json文件放在bin目录下的 [ 57%]

加载配置json文件不成功!json文件放在bin目录下的   Laya.loader.load(["res/atlas/comp.atlas","res/atlas/popup.atlas","res/atlas/cartoon.atlas","res/atlas/miner.atlas","gameConf.json"],Laya.Handler.create(this,onloaded),null,null); 2018-07-23 添加评论 免费帖 --> 分享 微博...

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

184. BoxCollider 不会随着父节点 翻转 scaleX=-1 [ 57%]

...会减少 ide compile的时候不会启动一个本地服务器吗? Laya.loader.create 不会反馈失败状态跟描述不符合 请问如何获取组件的子节点的数量? Skeleton动画在自然停止时不会移除play时添加的frameloop 问题状态 最新活动: 2018-10-31 15:38 浏...

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

185. 微信小游戏资源总是加载旧的资源 [ 56%]

...   引擎版本1.7.18beta   我是用这样的方式加载的图集 Laya.loader.load([{url: "res/atlas/xxx1.json", type: Loader.ATLAS},         {url: "res/atlas/xxx2.json", type: Loader.ATLAS},          {url: "res/atlas/xxx3.json", type: Loader.ATLAS}], Handler.create(...   并且在...

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

186. Cannot read property 'load' of null [ 56%]

...ayaAir引擎 Cannot read property 'load' of null 查了断点,看到Laya.loader是null,为什么会出现为null的情况?  代码如下: class main{ constructor(){ MapManager.getInstance().LoadMapResource(); } } new main(); class MapManager { private static s_instance = null; public static g...

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

187. SimpleButton的状态layaFlash支持吗? [ 56%]

...下 ProtoBuf 支持 as3 版本吗? 支持读写哪些文件格式 Laya.loader.create 不会反馈失败状态跟描述不符合 shader里面没有支持gl_PointCoord吗? 希望加入类似Pixi.js的多纹理寄存器支持 graphics不支持rgb(155,155,155)? ios平台支持哪些系统基础字...

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

188. 调用时间轴动画丢失皮肤问题? [ 55%]

...用的教程里面的那个例子~ haisenshushu • 2018-03-29 15:48 Laya.loader.load("res/atlas/comp.json", Laya.Handler.create(this, onLoaded)); function onLoaded() { //创建一个Animation实例 var tl = new Laya.Animation(); //加载动画文件 tl.loadAnimation("XXXXX1.ani"...

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

189. 微信小游戏 wxlocal怎么用 [ 55%]

...8-03-27 10:33 浏览: 1439 关注: 2 人 seacole • 2018-03-27 11:22 Laya.loader.load([{ url: 'wxlocal/load.json', type: Laya.Loader.ATLAS }], Laya.Handler.create(this, this.loadComplete)); 我就是这么调用的,但是load.json这个文件还是去远程拉了。该怎么解? Laya_Aaron • ...

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

190. 小游戏子域程序加载到图集后,取图集内资源报错。 [ 55%]

...function():void{ beginLoad(); }); private function beginLoad():void { Laya.loader.load("res/images/rank.json", Handler.create(this, onLoaded)); } private function onLoaded():void { trace("加载成功"); var c:Image = new Image("rank/country.png"); Laya.stage.addChild(c); }  以上是子域项目...

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