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

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

1. 请教——layabox如何加载多个图集 [ 100%]

....IMAGE}, {url:"res/atlas/comp.atlas", type: Loader.ATLAS}, {url:"res/atlas/all.atlas", type: Loader.ATLAS} ]; Laya.loader.load(arr,Laya.Handler.create(this,onload)); 2018-08-09 1 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 Lancer 相关...

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

2. 针对2.0.0 beta5 setLoadingPage 做增强 [ 99%]

...his.openScene) Laya.Scene.showLoadingPage(null, 0) // 同步执行 Promise.all([this._load(url, progress), otherHandler()]).then(res => { let nextScene = res[0] if (res.length > 1) param = .concat((param || ), [res[1]]) nextScene.open(closeOther, param) if (complete) complete.runWith(nextScene...

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

3. 如何使用javascript版本的加载模式 [ 88%]

...了“加载模式”! 这个时间,会生成2个文件: layaUI.max.all.js ui.json 那我先引用了LayaUI.max.all.js后,再加载ui.json!   Laya.loader.load([ { url: config.layerUIJson, type: Laya.Loader.JSON } ], Handler.create(this, function () { this.gameScenes = new ui.layer.gameSce...

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

4. playSound和playMusic结束时候有异常抛出 [ 74%]

...;         //设置适配模式         Laya.stage.scaleMode = "showall";         //设置剧中对齐         Laya.stage.alignH = "center";         //设置横竖屏         Laya.stage.screenMode = "vertical";         //显示FPS         Laya.Stat.show(0, 50);     ...

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

5. 示例打地鼠发布打包后提示TypeError: this.preinitialize is not a function [ 63%]

... D/dalvikvm: JIT code cache reset in 0 ms (0 bytes 1/0) D/dalvikvm: GC_FOR_ALLOC freed 259K, 10% free 3081K/3408K, paused 2ms, total 2ms D/dalvikvm: GC_FOR_ALLOC freed 292K, 10% free 3303K/3656K, paused 2ms, total 3ms             [ 12-18 14:33:06.111  2961: 2961 E/         ]   ...

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

6. 问一个关于小游戏加载图片的问题 [ 54%]

...d Windows 7 are the only 2 OS which support TLS 1.1 and TLS 1.2 as of now. All the OS’s before this don’t support these 2 protocols.   好了,看了这个图大家应该明白 什么系统可以用了~~ 另附一个查询版本支持的网站,输入你搭好的服务器然后测试一下(...

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

7. socket大型项目回调 [ 37%]

...e RES_OLD_CLIENT:number = 501; private socket:Laya.Socket = null; private callbacks:any = {}; private handlers:any = {}; // Map from request id to route private routeMap = {}; private heartbeatInterval:number = 0; private heartbeatTimeout:number = 0; private nextHeartbeatTimeout:number = 0; private ...

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