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

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

81. [LayaAir3]资源未清理干净 [ 68%]

.../chest_bg.png (4) [6, Texture, 7, Texture2D] loader http://localhost:18090/atlas/comp/img_bg.png (4) [6, Texture, 7, Texture2D] close --------------------------------gc 6000----------------------------------- loader http://localhost:18090/resources/chest_bg.png (2) [6, Texture] loader http://localho...

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

82. Animation如何获取图集单帧实际宽高 [ 68%]

...机里是不一样的,咋回事? 手机: 网页: 代码: ani.loadAtlas("res/atlas/hero_"+_model+".atlas",Handler.create(this,onLoad)); function onLoad():void { this.addChild(ani); var bounds:Rectangle = ani.getBounds(); Control.showLog(bounds.toString()); } 附件 : --> 2018-03-07 添加...

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

83. 提示资源找不到但是也能显示! [ 67%]

...是也能显示! blackMan.json 是一个小黑人  ani not found: res/atlas/default/blackMan.json     public static readonly BLACK_MAN = "res/atlas/default/blackMan.json";    this.aniTemp.loadAtlas(ResourcesManager.BLACK_MAN, null, ResourcesManager.BLACK_MAN);   json 文件是   {"frames":{...

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

84. LayaAir2.0(LayaBox)之小游戏开放域开发 [ 67%]

...indow.wx.onMessage(function(data){//微信接受信息 if(data.url == "res/atlas/test.atlas" || data.url == "test/1.png" ||data.url == "test/2.png"||data.url == "test/3.png"){ mark ++; console.log("------data.url:" + JSON.stringify(data.url)); if(mark == 4)//确认数据全部接收后 Laya.loader.l...

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

85. 自动布局容器 [ 67%]

...化管理这些貌似没有吧! IDE中自动打包图集后最后在res/atlas中只有json和png没有atlas,不知道原因是什么 问题状态 最新活动: 2017-04-07 21:39 浏览: 1471 关注: 3 人 cuixueying • 2017-04-07 21:22 如果你单单指一个组件的话,可以做,譬如lis...

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

86. 加载时间轴动画报错 [ 67%]

...画报错 代码如下: this.ani = new Laya.Animation(); this.ani.loadAtlas("res/atlas/comp.json", Laya.Handler.create(this, showApe));   function showApe(){ this.ani.loadAnimation("TimeLine.ani"); Laya.stage.addChild(this.ani); this.ani.play(); }   运行时报 TypeError:Cannot read property '...

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

87. 人物行走图动画 [ 67%]

...二张图片(迈出左脚的那张图片)开始的。   还有Loader.ATLAS是static] 图集类型,加载完成后返回图集json信息(并创建图集内小图Texture)。      load(url:String, type:String = null, cache:Boolean = true):void 加载资源。 Laya.loader.load(AniConfPath, Han...

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

88. 帮忙看下!! [ 67%]

...的2.12 开放域里的list不能滚动??求官方帮忙。。 Export Atlas Fail? 这个问题很严重啊 求看下 参照技术文档自定义Shader写的TypeScript版本,运行后 Sprite 显示尺寸不对,帮忙看下哪里要调整? layabox可以做格子效果?可以帮忙看看吗...

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

89. 微信小游戏下载png为什么不带MD5? [ 67%]

...,发现第一个场景loadingScene加载后会自动下载里面用到的atlascomp4e6089ba.atlas),但是下载的png却是comp.png而不是compd042ffba.png, 看laya.core.js发现: 这是我们哪里设置有问题吗? 附件 : --> 2019-02-28 添加评论 免费帖 --> 分享 微博 QZ...

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

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

...度的回调。。。 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