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

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

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

...用的教程里面的那个例子~ 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

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

...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

273. 加载lh模型后,添加Laya.SkinAnimations组件就报错 [ 57%]

...缓存动画失败 lh文件内meshSprite添加阴影属性无效 请问下loader如何强制加载一个文件,避免浏览器的缓存 为什么给Sprite容器添加点击事件没反应 模型资源释放问题 打包出来后的APP打开加载速度过慢,有黑屏,如何加入闪屏图片 ...

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

274. 特效播放问题 [ 56%]

...资源预加载之后,使用之前加上: var texture:Texture = Laya.loader.getRes(e.url); texture.bitmap.enableMerageInAtlas = false; rgxianzhan • 2017-10-23 19:39 不能在加载的时候设置大图合集么,使用的地方真不少 Monica • 2017-10-23 20:01 @rgxianzhan:关闭大图合...

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

275. Timer类有没有AS3那样的reset();stop();start()方法呢? [ 56%]

...还有 我只加载动画使用的资源好想不可以?还有使用Laya.Loader的方式能不能加载ani文件? load方法的progress回调进的次数太少了。是我哪里设置有问题么 ts如何通过文件集加载的方法预加载声音文件,然后再调用 Laya的应用内支付...

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

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

...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

277. 加载同一个json文件第一次正常,第二次json文件里面的数据就只有一条了。 [ 56%]

...请: 与内容相关的链接 提交 2 个回复 Yangcy 赞同来自: Laya.loader.load("abc.json", Handler.create(this, onAssetLoadedSound), Handler.create(this, progressHandler), Loader.SOUND);   第一次加载出来: [list=none] [*]0: {column: "0", duration: "0", mode: "点", time: "30...

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

278. 加载SK文件时,报错如下:Uncaught getUint16 error - Out of bounds [ 56%]

....loadAni('res/spine/knight/effect1.sk'); SK动画已经预加载了:Laya.loader.load(['res/spine/knight/effect1.png', 'res/spine/knight/effect1.sk'], Handler.create(this, init)); 2018-03-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的...

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

279. 如何将转换后导出的SWF文件左上方的FPS,MEM以及进度条取消? [ 56%]

...取失败,请检查后重新编译。 localToGlobal坐标转换 请问下loader如何强制加载一个文件,避免浏览器的缓存 用Mac下Unity5.6.2f1导出的模型在Mac浏览器显示正常,发布到移动端不显示模型,但是顶点数面数都有 我的tieldmap生成的json文件...

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

280. 在native下 Laya.Browser.window.Blob不存在 [ 56%]

...ch.getCachePath()+"/test.png", png);保存到本地,然后再用laya.net.Loader加载,我刚才试了一下,加载报错,我不知道我这种方法可不可行。 test: function (base64Str, sprite) { var imageData = base64Util.decode(base64Str); var address = conch.getCachePath() + "/test.p...

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