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

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

171. 一个图集里有多个动作的怎么分别播放? [ 80%]

...只有一张已经做好的包含多个动作的图集,应该怎么编辑atlas文件或者代码怎么写才能单独播放其中的某一个动作呢? 2018-08-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复...

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

172. SCALE_FIXED_WIDTH适配屏幕的问题 [ 80%]

...onent("ScaleButton", ScaleButton);             Laya.loader.load("res/atlas/com/loading.atlas", Laya.Handler.create(this, this.loadGame));         }         private loadGame(): void {             var resArray = [                 { url: "res/atlas/lobby/create_room.atlas", ...

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

173. laya微信小游戏加载外部素材失败 急急急 [ 80%]

...自由若水 赞同来自: 加个~试试,即 var resource = { {url:'~res/atlas/game/game.atlas',type:Laya.Load.ATLAS} } 2018-04-26 0 0 分享 微博 QZONE 微信 callback 赞同来自: 附件是 加载demo 代码非常少 可以重现我说的问题    function initLaya() { console.log('Laya.ver...

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

174. 关于资源加载的问题 [ 79%]

...ray = [{url : "games/game_13/shakeask_bg.jpg"}, {url : "res/atlas/games/game_13/image.atlas"} ]; Laya.loader.load(loadArray, Handler.create(null, ()=>{ this.uiView = new SharkItOff(); Laya.stage.addChild(this.uiView); })); 先加载图集,图集加载完再new一个界面。...

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

175. 设置适配SCALE_FIXED_WIDTH,结果少部分andriod机型不能正确适配屏幕 [ 79%]

...onent("ScaleButton", ScaleButton);             Laya.loader.load("res/atlas/com/loading.atlas", Laya.Handler.create(this, this.loadGame));         }         private loadGame(): void {             var resArray = [                 { url: "res/atlas/lobby/create_room.atlas", ...

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

176. 字体切片组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 79%]

....fontclp.width/2, this.fontclp.height/2); //轴心点 this.fontclp.skin = "atlas/comp/fontClip_num.png"; this.fontclp.sheet = "0123456789"; this.fontclp.value = "5201314"; this.fontclp.direction = "horizontal"; //位图排列方向 this.fontclp.spaceX = 50; //水平间隔 // this.fontclp.direction =...

来源: Laya3.0_文档 发布时间: 20251010

177. IED可视化编辑UI打包的图片无法识别 [ 79%]

... 赞同来自: 你预加载的是.json文件,但是没有指定类型为ATLAS。你也可以在UI编辑模式下F9打开项目设置,把导出类型改为atlas,这样直接预加载.atlas文件就行了,不需要指定图集类型 2017-10-16 0 1 分享 微博 QZONE 微信 为什么被折叠?...

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

178. 官方能不能支持图集打包工具能强制图集保持方形 [ 79%]

...自己补图 这个不太方便 如果官方不愿意支持 麻烦开源下AtlasGenerator.exe的源码 我们尝试自己支持  2021-01-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 kylin 赞同来自: 1) UI...

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

179. 游戏加载进度失效 [ 79%]

...dingUI(); //创建加载进度文本 var asset = [] asset[0] = { url: "res/atlas/run.json", type: Laya.Loader.ATLAS } asset[1] = { url: "res/bg.png", type: Laya.Loader.IMAGE } asset[2] = { url: "res/bg1.png", type: Laya.Loader.IMAGE } asset[3] = { url: "res/bg2.png", type: Laya.Loader.IMAGE } asset[...

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

180. 设计模式下发布之后,打包的图集没有json文件 [ 79%]

...on文件 我已经确定了,已经打包。但是我的res目录下面的atlas下面只有.rec .atlas .png文件,但是没有json??? 2018-04-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 w1114367261 ...

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