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

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

231. 如何清理预加载的图集资源??? [ 74%]

...如何清理预加载的图集资源??? 通过 Laya.loader.load("res/atlas/公告.json", Laya.Handler.create(null, onLoad), null, Laya.Loader.ATLAS); 这样加载的图集资源怎么清除掉??? 2018-01-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 ...

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

232. socket.sent [ 74%]

... Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; var uiResArr =[ {url:"res/atlas/comp.atlas",type: Laya.Loader.ATLAS}, ]; Laya.loader.load (uiResArr , Laya.Handler.create(this,this.onLoded));      //加载图片 this.byte = new Laya.Byte(); //这里我们采用小端 this.byte.endian = Laya.Byte...

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

233. 性能测试-卡通人物 [ 74%]

...haractors.json", Handler.create(this, this.createCharacters), null, Loader.ATLAS); } createCharacters() { characterGroup = []; for(let i = 0; i = 0; --i) { this.animateCharactor(characterGroup[i]); } } animateCharactor(charactor) { charactor.x += moveSpeed; charactor.rotation += rotateSpeed; if (cha...

来源: Laya2.0_示例 发布时间: 20260303

234. 网络动态加载看不明白 [ 73%]

...ath加载图集到我的网络地址这样写对吗 Laya.loader.load(["res/atlas/comp.atlas"]); Laya.URL.basePath="http://192.168.6.143:8080"; 2018-12-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron ...

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

235. QQ小游戏开发者工具环境下,已经被本地缓存的图片的加载回调不触发的问题 [ 73%]

...工程做的测试,加上MiniAdapter.init();然后本地缓存不支持.atlas文件,我就改成加载json文件,所有的改动就这些。   因为Laya文档里面没有找到QQ小游戏的指引,又看到QQ小游戏文档里面写的微信小游戏项目可以直接在QQ小游戏环境...

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

236. 龙骨转换工具 [ 73%]

龙骨转换工具 点击工具中的龙骨转换,然后拖动atlas和json文件进去,转换工具没有任何反应, 2018-05-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 w1114367261 赞同来自: 你...

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

237. 加载的时候动画会卡 [ 73%]

...url:"cont/cpy1.jpg",type:Loader.IMAGE});         imgArr.push({url:"res/atlas/cont.json",type:Loader.ATLAS});         Laya.loader.load(imgArr,Handler.create(this,onAssetLoaded),Handler.create(this,onProgress,null,false));     }   (function() {     function Lload() {         Lload.__s...

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

238. textinput控件bug [ 73%]

...来自: 这个是因为我们把UI编辑模式下导出的类型改成了atlas,代码中预加载的是.json文件导致的。下个版本会修复这个问题 目前你可以到代码中将预加载的资源类型改为.atlas 2017-11-16 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回...

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

239. IDE-显示IDE创建的界面 [ 73%]

...; } } } // 程序入口 Laya.init(600, 400); Laya.loader.load([{ url: "res/atlas/comp.json", type: Loader.ATLAS }], Handler.create(this, this.onLoaded)); function onLoaded(): void { //示例UI界面 var testUI: TestUI = new TestUI(); Laya.stage.addChild(testUI); }// TestView.as package { import game...

来源: Laya_示例 发布时间: 20260303

240. IDE-显示IDE创建的界面 [ 73%]

...; } } } // 程序入口 Laya.init(600, 400); Laya.loader.load([{ url: "res/atlas/comp.json", type: Loader.ATLAS }], Handler.create(this, this.onLoaded)); function onLoaded(): void { //示例UI界面 var testUI: TestUI = new TestUI(); Laya.stage.addChild(testUI); }// TestView.as package { import game...

来源: Laya2.0_示例 发布时间: 20200319