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

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

321. 1.7.6 beta,启用worker后,下载图集图片出错 [ 55%]

...出错 如图: 正确的地址应该是 http://192.168.0.20:8900/bin/res/atlas/images/loading.png 附件 : --> 2017-06-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 4 个回复 cuixueying 赞同来自: 1、你的测试...

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

322. 代码里 怎么调用 动效标签 [ 55%]

... ani3的 动效名字 在代码里 var k:Animation=new Animation(); k.loadAtlas("res/atlas/temp1.json"); k.play(0,true,'ani2') 结果他是全部动画  ani2 ani3接着 一起播放  没有单独播放 ani2   附件 : --> 2017-02-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找...

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

323. spine动画,微信模拟器正常,真机动画图片颠倒!!!引擎大bug!!! [ 55%]

..._sample.on(Laya.Event.CLICK, this, this.onImgClick); Laya.loader.load("res/atlas/comp/skeleton.atlas"); //创建动画模板 this.templet = new Laya.Templet(); this.templet.on(Laya.Event.COMPLETE, this, this.parseComplete); this.templet.on(Laya.Event.ERROR, this, this.onError); this.templet.loadAni(...

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

324. 图集打包后使用Texture不显示啊 [ 55%]

...tage.addChild(sp); var ani: Laya.Animation = new Laya.Animation(); ani.loadAtlas("res/start.json"); // 加载图集动画 ani.interval = 30; // 设置播放间隔(单位:毫秒) ani.index = 1; // 当前播放索引 ani.play(); // 播放图集动画 //Laya.stage.addChild(ani); //动画正常显...

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

325. swf的destroy的问题 [ 55%]

...c.destroy(); 之后对图集也进行下清理,Laya.loader.clearRes("res/atlas/flicker/image.json");就OK了 因为:destroy的时候movieclip把小图都清掉了,但是movieclip不知道你是用图集加载的,图集缓存文件还在,但是图集里的小图已经没有了     2017-06...

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

326. 无法使用LayaIDE打包图集 [ 55%]

...Error: Command failed: "D:\LayaAir\resources\app\out\vs\layaEditor\libs\TP\AtlasGenerator" --maxAtlasWidth=2048 --maxAtlasHeight=2048 --tileWidthLimit=512 --tileHeightLimit=512 "D:\LayaAir\myLaya\laya\assets\comp\paoma" --outputDir="D:\LayaAir\myLaya\bin\res\atlas" --force -c 附件 : --> 2017-04-25...

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

327. 图片打包资源出现问题 [ 55%]

...2637059 赞同来自: 谢谢 问题我自己稿定了 好像打包在res/atlas/comp里面在 ,不打包的图片直接加载了。地址也输入正确了 2018-04-26 0 1 分享 微博 QZONE 微信 yung 赞同来自: 不打包的图片,会当单个图片加载,会被发布到index.html所在...

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

328. 写小游戏排行耪时主域向子域发送文件时报错 [ 54%]

...报错 代码postMessage(2,{data:Laya.loader.getRes("res/fui/Lobby/Lobby_atlas0.png")}) 报错:Converting circular structure to JSON;wx.postMessage 2018-11-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_...

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

329. Laya.loader.create中的progress回调好像不准确? [ 54%]

...度的回调。。。 function beginLoad(){ Laya.loader.load("./res/atlas/comp.atlas", Handler.create(null, onLoaded),Laya.Handler.create(this,onProgress,null,false)); } function onProgress(value:any):void{ console.log(value); } jinfawu • 2018-03-21 15:22 @Monica:项目已上传至微云...

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

330. 动效问题,没有 ui.TestPUI,官方文档是错的,几年了至今无解答 [ 54%]

...方文档是错的,几年了至今无解答 let aniEffConfPath = './res/atlas/comp.atlas' Laya.loader.load(aniEffConfPath, Laya.Handler.create(this, this.onLoaded)) onLoaded(){ // Laya.ClassUtils.regClass('ui.TestPUI', ui.TestPUI) var efc = new ui.TestPUI(); Laya.stage.addChild(efc); } 按照官...

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