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

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

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

232. [LayaAir3]laya3.3图集使用平铺功能后绘制错误内容 [ 67%]

...a.Scene {     onAwake(): void {         Laya.loader.load("/未命名.atlas", Laya.Loader.ATLAS).then(data=>{             let aaa = new Laya.Sprite();             this.addChild(aaa);             aaa.x = 100;             aaa.y = 100;             aaa.texture = dat...

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

233. 请问UI之间的场景切换要怎么写 [ 67%]

...e = "showall"; Laya.stage.screenMode = "horizontal"; Laya.loader.load("res/atlas/sanguo.json",Laya.Handler.create(this,onLoaded),null,Laya.Loader.ATLAS); function onLoaded(){ Laya.sg_sign = new sg_sign(); Laya.stage.addChild(Laya.sg_sign); } function onWxSign1(){ Laya.sg_sign.removeSelf(); Laya.Pool...

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

234. 限制区域拖动效果,为什么会无法限制呢? [ 67%]

...eVersion.FILENAME_VERSION);  function beginLoad() { Laya.loader.load("res/atlas/comp.atlas", Handler.create(null, onLoaded)); }  function onLoaded() { Laya.stage.addChild(new GolfMainUI()); }   附件 : --> 2018-06-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 ...

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

235. 有时候飘字的时候会在其他地方有一道黑条是什么原因? [ 67%]

...什么原因的吗?~~~~~~~~~~~~~ IDE中自动打包图集后最后在res/atlas中只有jsonpng没有atlas,不知道原因是什么 module写法的模块无法使用,其他地方使用会报错 求让Particle2D的粒子能从最开始的地方播放的方法!! FBXTools.exe把模型拖上...

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

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

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

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

237. drawcall优化问题 [ 66%]

...1094 关注: 5 人 jacksing888 • 2018-01-22 23:37 Laya.loader.load( 'res/atlas/comp.json', Handler.create(this, function(){ container = new Laya.Sprite(); var x = 0,y =80; Laya.stage.addChild(container); for(var i=0;i<1200;i++){ var role = new Laya.Sprite(); x = x+0.1; y = y+0.1 role.x = x; rol...

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

238. 打包图集之后没有json文件 [ 66%]

... hj 赞同来自: 图集打包的文件后缀是可以选择的,默认是atlas,如果想用json的可以自行在 工具—图集打包—数据文件后缀 中选择json后缀就可以了 2018-10-08 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登...

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

239. 请问用laya的tab模板创建的tab,为啥没有点击事件啊?而且tab标签点击后没有一直处于按下状态 [ 66%]

...ader = laya.net.Loader; var UI; Laya.init(600, 400); Laya.loader.load("res/atlas/template/Tab栏.json", Laya.Handler.create(this, onAssetLoaded2), null, Loader.ATLAS); function onAssetLoaded2() {     Laya.class(MyBoot, "MyBootClass", MyBootPage2UI);     UI = new MyBootClass();     Laya.stage.a...

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

240. laya.net.LoaderManager [ 65%]

...源是否已经加载完毕。 注意:cache参数只能对文件后缀为atlas的资源进行缓存控制,其他资源会忽略缓存,强制重新加载。 LoaderManager  decodeBitmaps(urls:Array):void 解码Texture或者图集 LoaderManager event(type:String, data:* = null):Boolean 派发...

来源: Laya2.0_api 发布时间: 20190513