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

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

271. 预加载结束之后还是报lose skin [ 70%]

...之后还是报lose skin private loadRes():void{ Laya.loader.load("./res/atlas/comp.atlas",Laya.Handler.create(this, this.onAssetLoaded),Laya.Handler.create(this, this.onLoading, null, false)); } private onLoading(progress: number): void { console.log("加载进度: " + progress); } private onAssetL...

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

272. 微信小游戏加载 BitmapFont 问题 [ 70%]

...pData; if (type==/*laya.net.Loader.JSON*/"json" || type==/*laya.net.Loader.ATLAS*/"atlas"){ tempData=MiniAdpter.getJson(data.data); }else if (type==/*laya.net.Loader.XML*/"xml"){ tempData=Utils.parseXMLFromString(data.data); } // else if (type==/*laya.net.Loader.XML*/"font"){ // tempData=Utils.parse...

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

273. 使用了Laya.Browser.height,但是底部还是会空出一截,是什么原因? [ 69%]

...js代码中,let 是什么意思 IDE中自动打包图集后最后在res/atlas中只有json和png没有atlas,不知道原因是什么 请问list如何判断已经拉到底部了 资源管理器中的图片个别显示不打包,是不是不能打包到图集中了?这个是什么原因造成...

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

274. 按照打地鼠教程来无法正常加载资源 [ 69%]

...      var resArr:Array = [                 {res:"res/atlas/ui.atlas"},                 {res:"res/ui/back.png",type:Loader.IMAGE}             ];             Laya.loader.load(resArr,Handler.create(this,this.onLoaded));         }  ...

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

275. Animation创建动画模板问题 [ 69%]

...抛出异常: // 动画模版 Laya.Animation.createFrames([{ url: "res/atlas/actor/character/idle.json", type: Laya.Loader.ATLAS }], ActionType.MOVE_STAND);   异常信息如下: TypeError: url.indexOf is not a function at Function.URL.formatURL (file:///E:/EarlyChildhood/EARLY_GAME_001/bin/lib...

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

276. 自己创建的box作为tab,为啥没有点击事件啊? [ 69%]

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

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

277. laya获取图片像素后重新设置回去带有透明像素的地方显示有问题 [ 69%]

...ive = new Array();         alive.push({url:"res/FGUIMain/Common_atlas0.png", type:Laya.Loader.IMAGE});          Laya.loader.load(alive, Laya.Handler.create(this, this.LoadFinish));      }      private LoadFinish(success:boolean):void     {         if(suc...

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

278. 关于资源版本号的问题咨询 [ 69%]

...in文件夹下的导出资源打版本为0.1,所有被IDE打包进图集.atlas中的资源则不会出现在manifest.json中。此时在游戏中加载完atlas文件后会执行Loader.as的onLoaded中的如下代码 }else{ for (name in frames) { obj = frames[name];//取对应的图 tPic = pics[obj...

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

279. meshcollder卡成狗 是什么原因????????????????????????????????? [ 69%]

...,字体模糊是什么原因? IDE中自动打包图集后最后在res/atlas中只有json和png没有atlas,不知道原因是什么 LayaAirIDE无法打开代码编辑器,原因初次安装填写路径错误 在js代码中,let 是什么意思 GradientDataNumber warning是什么 看官方2.0...

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

280. 1整天了,还是没解决加载本地文件问题 [ 69%]

...ile:///E:/layabox/layaair-doc-master/project/AS3/AirWar/lesson8/bin/h5/res/atlas/gameUI.atlas. Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https. 另外 LayaIDE 编译打开经常只有黑屏,或者: 未定义任何生成任务。使用 "i...

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