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

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

191. 版本从1.7.11更新到1.8.0beta后原来的3D模型vivo x7等几款手机加载失败,其他手机加载没问题。 [ 54%]

...等几款手机加载失败,其他手机加载没问题。   使用Laya.loader.create() 加载所有3D资源时加载到20%的时候停止不动了,原来版本没有问题,现在版本vivo x7等机型有问题,小米华为等机型没有问题。模型已经上传到附件了,大神...

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

192. 请问我用网络格式加载成功后,在服务器替换image.atlas和images.png重新打开小游戏没有重新加载服务器的png,只重新加载了atlas [ 54%]

...Array = [ //{ url: "https://piggy.com/res/atlas/images.atlas", type : Laya.Loader./png}, { url: "https://piggy.com/res/atlas/images.atlas", type: Laya.Loader.ATLAS }, { url: "https://piggy.com/res/swf/flash.json", type: Laya.Loader.JSON }, { url: "images/background.png", type: Laya.Loader.IMAGE }, {...

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

193. HttpRequest 回调方法都没执行 LayaAir 1.7.17 beta JS版本 [ 54%]

...var resourceArray = [ { url:"res/atlas/comp.atlas" , type : Laya.Loader.ATLAS} ]; Laya.loader.load(resourceArray,Laya.Handler.create(null,loadResourceComplete)); } function loadResourceComplete() { Laya.stage.addChild(new LoginView()); } })(); feiguangfu • 2018-03-16 09:55 这个是主...

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

194. 加载SK文件时,报错如下:Uncaught getUint16 error - Out of bounds [ 54%]

....loadAni('res/spine/knight/effect1.sk'); SK动画已经预加载了:Laya.loader.load(['res/spine/knight/effect1.png', 'res/spine/knight/effect1.sk'], Handler.create(this, init)); 2018-03-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的...

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

195. 3d项目发布到微信工具真机预览无法加载场景ls文件??? [ 54%]

...信工具调试库 2.2.1 最新 都是最新的     加载方式:Laya.loader.create 获取方式:scene = Laya.loader.getRes(path) as Scene;   2018-08-02 1 2 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 可以 2018-08-02 0 0 分享 微博 QZONE 微信 承 赞同来自: 真的可以么 ...

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

196. 关于laya图片资源缓存的问题 增量更新文件缓存 [ 53%]

...const res = [{ url: setStaticPrefix("card/card_item_bg.png"), type: Laya.Loader.IMAGE }] /** 添加文件hash */ export const setStaticPrefix = (url:string) :string => { if (staticHash[`images/${url}`]) { return staticHash[`images/${url}`] } return `images/${url}` }然后资源导出的时候使...

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

197. 微信小游戏利用开放域好友关系链做排行榜 [ 53%]

...代码: import Label = Laya.Label; import Handler = Laya.Handler; import Loader = Laya.Loader;  class GameBootstrap{      public constructor(){         this.init();     }      private init():void{         //初始化微信小游戏         Laya.MiniAdpter.ini...

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

198. ts 不支持import LoginView from "../../LoginView" [ 53%]

...on: 修改Laya.URL.basePath,改成加载服务器的资源。再用 Laya.loader.create加载场景资源。为啥在发布的微信小游戏中会报错,模型的网格数据比较大。 Mr.余 • 2018-06-22 18:23 @Laya_Aaron:报的错为 gamethirdScriptError expected Number;at requestAnimation...

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

199. 加载sk文件时,报Uncaught getUint16 error - Out of bounds [ 52%]

....loadAni('res/spine/knight/effect1.sk'); SK动画已经预加载了:Laya.loader.load(['res/spine/knight/effect1.png', 'res/spine/knight/effect1.sk'], Handler.create(this, init));

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

200. 分包后, 资源加载问题 [ 52%]

..., 能否在A项目里加载? 我感觉 应该是在A项目里用Laya.loader加载后, 再加载B.js,这样才合理。 具体代码: private function onAssetLoaded():void { //trace("加载结束"); //实例化类 Example,并添加到舞台显示 Laya.loader.load("js/loading100.js", Handl...

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