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

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

151. 微信小游戏环境下,load的参数ignoreCache设置为true时,并没有重新下载资源 [ 80%]

...11-23 15:27 浏览: 2527 关注: 2 人 刘大明 • 2018-11-21 19:41 Laya.loader.load("https://xxxx/image.png", new Laya.Handler(this, this.imageLoaded), null, Laya.Loader.IMAGE, 0, false, "", true); 代码是这样的,但是这个url的资源覆盖以后,还是不会发生...

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

152. laya.net.LoaderManager [ 80%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames LoaderManagerProperties | Methods | Events Packagelaya.netClasspublic class LoaderManagerInheritanceLoaderManager EventDispatcher Object LoaderManager 类用于用于批量加载资源。此类是单例,不要手动实...

来源: Laya2.0_api 发布时间: 20190513

153. 预加载音频文件遇到的问题 [ 80%]

...载音频的代码(JS飞机大战示例), //加载声音资源 Laya.loader.load("res/sound/bloodstream_bg.mp3", Laya.Handler.create(this, onLoadedSound), null, Laya.Loader.SOUND); // })(); function onLoadedSound(){ Laya.SoundManager.playMusic("res/sound/bloodstream_bg.mp3", 0, Laya.Handler.cre...

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

154. ani如何实现预加载呢? [ 80%]

...第一次没缓存的情况下 动画只会播放一半.  附代码: Laya.loader.load("res/atlas/res.json", Laya.Handler.create(this, onLoaded), Laya.Handler.create(this, onLoading), Laya.Loader.ATLAS); 我是在onLoaded里面用游戏资源的.... 2017-07-01 添加评论 免费帖 --> 分享 微...

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

155. 本人想做个批量加载json文件,然后等这些文件统一加载完后回调 [ 79%]

...量加载json文件,然后等这些文件统一加载完后回调 看了Loader类的用法好像只能加载单一文件,LoaderManager用于批量加载可官网没有DEMO,并不知道怎么用。有大佬能给出个LoaderManager的使用示例么。或者再详细能否讲下LoaderLoade...

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

156. 背景音乐文件太大 播放延迟 [ 79%]

...音乐文件太大 播放延迟 Laya   背景音乐太大 预加载 Laya.loader.load 音乐   Laya.SoundManager.playMusic 播放 会出现延迟效果    Laya.loader.load(['remote/music/' + this.soundUrl + '.mp3'], new Laya.Handler(this, () => {                 thi...

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

157. 在加载多个资源的时候,加载进度异常 [ 79%]

在加载多个资源的时候,加载进度异常 Laya.loader.load(["res/atlas/images.atlas", "res/atlas/f1.atlas", "res/atlas/f2.atlas", "res/atlas/f3.atlas", "res/atlas/f4.atlas", "res/atlas/f5.atlas"],   Laya.Handler.create(this, function(){ }),  Laya.Handler.create(this, function(e){    c...

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

158. 加载不同域名下的单个图片 会重复加载两次,导致无法显示 [ 79%]

...A域名图片获取失败,导致图片不显示,什么原因   Laya.loader.load 方式预加载 附件 : --> 2017-09-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 cuixueying 赞同来自: 方便给个例...

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

159. Android替换游戏启动logo看不到设置的图片 [ 79%]

...播完一遍动画); 3、示例(AS为例)package { import laya.net.Loader; import laya.utils.Handler; import view.TestView; public class LayaUISample { private var dd:*; public function LayaUISample() { //初始化引擎 Laya.init(600, 400); //判断是否在加速器端 __JS__("if(window.conc...

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

160. 如何批量加载位图字体? [ 79%]

...个回复 Monica - 知识达人 赞同来自: 预加载的话直接用Laya.loader.load加载即可 2017-09-20 0 6 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 szsailing 相关问题 微信小游戏如何使用ttf字体? 加载到舞台...

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