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

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

221. Laya.Script _start_update以及_lateupdate不执行是什么原因呢? [ 68%]

...原因导致的吗? 怎样解决? IDE中自动打包图集后最后在res/atlas中只有jsonpng没有atlas,不知道原因是什么 资源管理器中的图片个别显示不打包,是不是不能打包到图集中了?这个是什么原因造成的呢?如何避免? lineCap不起作用...

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

222. 图集怎么切割,如图所示,就是我只要第2第3张图片组合,实现飞机动画效果? [ 68%]

...出,他们又会被放到一起去了 Laya.Animation.createFrames("res/atlas/war.atlas","hreo_fly") ; 我用这个createFrames实现飞机动画效果,旧版本,可以加多个单独的图片,, 但最新版的报错:supplied parameter do not match any signature of call target(提供的参...

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

223. IDE发布之后,在res下并没有任何资源,这是什么情况啊? [ 68%]

...的地方),资源路径写错了。改成 Laya.loader.load("res/atlas/Resources.json",laya.utils.Handler.create(this,this.onReader),null,laya.net.Loader.ATLAS);就好了 Buzhihew • 2017-01-11 15:50 @Monica:.......我.....总之谢谢啊啊啊 Monica • 2017-01-11 15:51 @Buzhihew:不...

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

224. [LayaAirIDE3]【工具分享】免费图集打包工具, 替代 TexturePacker [ 68%]

...  2025-08-18 0 1 分享 微博 QZONE 微信 photon 赞同来自: 出现了atlas多个图集文件,laya可以做到多张图一个atlas图集文件。 2025-08-19 0 2 分享 微博 QZONE 微信 153*****169 赞同来自: 今天更新新版本,主要变更: 1. 适配手机端,现在手机端浏...

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

225. Laya.loader Progress回调形同虚设 [ 68%]

...this, onLoaded),Handler.create(this, onProgress)); //Laya.loader.load("res/atlas/comp.atlas", Handler.create(this, onLoaded),Handler.create(this, onProgress)); } private function onProgress(v:Number):void { trace("onProgress",v); }    不管添加多少资源,onProgress都只会调用一次  ...

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

226. drawTexture时,Matrix对象,a=-1,无法实现水平翻转 [ 68%]

...链接 提交 1 个回复 ssqhu 赞同来自: qihei Laya.loader.load("res/atlas/test0.png", Handler.create(this, function():void    {     var t:Texture = Laya.loader.getRes("res/atlas/test0.png");     ape = new Sprite();     var matrix:Matrix = new Matrix();     matrix.a = -1;  ...

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

227. h5发布后,访问不到图片? [ 68%]

... 0 分享 微博 QZONE 微信 Monica - 知识达人 赞同来自: 应该是atlas后缀的文件你没有在iis服务器上设置允许,建议你上网查下相关资料 2018-01-12 0 0 分享 微博 QZONE 微信 casd12222003d 赞同来自: 发现路径全错了,下面这个是选择合并JS后的...

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

228. UI界面加载有哪些回调方法可用 [ 67%]

UI界面加载有哪些回调方法可用 Laya.loader.load([{ url: "res/atlas/comp.json", type: Loader.ATLAS }], Handler.create(this, this.onLoaded)); 类似于this.onLoaded函数,还有哪些生命周期相关的回调呢。 我想在UI完全加载完毕后,完成一些init操作,this.onLoad...

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

229. Panel滚动条滑块位于最下方 [ 67%]

...1240,800,WebGL); Laya.stage.bgColor="#EEFFCC"; Laya.loader.load([{url:"res/atlas/comp.json",type:Loader.ATLAS},{url:"bg2.png"}],Handler.create(this,onCom)); } private function onCom():void { var img:Image=new Image(); img.skin="bg2.png"; panel=new Panel(); panel.vScrollBarSkin="comp/vscroll.png"; pa...

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

230. laya.spine.js问题以及spine.core.js问题 [ 67%]

..., (state, responseText) => { this.errors[path] = `Couldn't load texture atlas ${path}: status ${status}, ${responseText}`; if (error) error(path, `Couldn't load texture atlas ${path}: status ${status}, ${responseText}`); this.toLoad--; this.loaded++; }); 附件 : --> 2022-01-22 添加评论 免...

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