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

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

131. 播放swf动画的时候,会出现 Cannot read property 'dir' of undefined崩溃 [ 65%]

...ir' of undefined崩溃 这个是出错信息 this.basePath=this._atlasPath?Loader.getAtlas(this._atlasPath).dir:this._url.split(".swf")[0]+"/image/";    我们采用的播放模式是this.effectMovieClip.load(effectsPath,true);  effectsPath 是路径 我们的swf 文件在附件中, 附件 : --...

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

132. laya3.0中jszip使用异常 [ 65%]

...代码为: let zipUrl = "resources/files/config.zip";         Laya.loader.load([{ url: zipUrl, type: Laya.Loader.BUFFER }], null, Laya.Handler.create(this, this.onLoadCfg, null, false)).then(             (value) => {                 JSZip.loadAsync(value).then(           ...

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

133. [LayaAir3]OPPO小游戏下图片地址无法加载 [ 64%]

...j.com/api/player/auth/img?key=testpng oppo小游戏下 无法显示  Laya.loader .load( "https://sh.mudgj.com/api/playe ... ot%3B, Laya.Loader.IMAGE ) .then((res: Laya.Texture) => { let sp = new Laya.Sprite(); sp.texture = res; sp.pos(0, 200); this.addChild(sp); });无法正常显示 检查发...

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

134. HttpRequest 回调方法都没执行 LayaAir 1.7.17 beta JS版本 [ 64%]

...var resourceArray = [ { url:"res/atlas/comp.atlas" , type : Laya.Loader.ATLAS} ]; Laya.loader.load(resourceArray,Laya.Handler.create(null,loadResourceComplete)); } function loadResourceComplete() { Laya.stage.addChild(new LoginView()); } })(); feiguangfu • 2018-03-16 09:55 这个是主...

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

135. swf转换 [ 64%]

...止工作 unity的坐标和旋转转换到laya需要做什么运算 请问Loader.load支持支持swf格式的预加载吗? 请问Laya支持什么样的swf,我运行公司美术给的swf,屏幕一片黑 龙骨动画转换失败 Cannot read property 'name' of undefined layabox 3d格式转换 的...

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

136. 关于image.skin = "图片地址"的资源加载失败的话有回调吗 [ 64%]

...请: 与内容相关的链接 提交 1 个回复 qian 赞同来自: Laya.loader.load().on(Event.ERROR,this,onError); 试一下 2018-01-30 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 132*****180 相关问题 请问LayaAir中如何使...

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

137. 谁能提供一份.fnt资源吗,万分感谢 [ 64%]

...显存问题 打包apk的资源是否不兼容版本号管理 请问Laya.loader.load资源缓存在哪里?能不能把这个缓存目录里的资源加入NativeFile白名单? 微信小游戏加载资源出错,提示:未加载到该图片资源,请检查安装包或网络 问题状态 最...

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

138. 图片通过drawTexture平铺出现缝隙 [ 64%]

...      this.addChild(this.darwSprite);         var t: Texture = Laya.loader.getRes("load/0.png");         this.darwSprite.graphics.drawTexture(t,0,0);         this.darwSprite.graphics.drawTexture(t,176,0);         this.darwSprite.graphics.drawTexture(t,176*2,0);   采用这方式...

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

139. 在做微信小游戏排行榜提示wx.getFileSystemManager is not a function [ 63%]

...e.data;//文本数据 把图集数据添加到这个变量中,再用Laya.loader.load加载的时候就不会报错了,具体不明白是干啥的,但是这样就没有问题了 一葩 • 2018-11-13 17:00 @嘿哈:你好 这块能具体说下代码吗。不太理解是什么意思。我也碰...

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

140. 微信小游戏加载问题 [ 63%]

...CreateImage中onerror中做了处理的。但是wxMini环境我们却用的Loader中的onCreateImage onerror没做任何处理。           var onerror = function () {                 clear();                 delete MiniFileMgr.fakeObj[sourceUrl];   ...

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