大约有 663 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0052 秒)
Laya_社区(607) Laya2.0_文档(19) Laya3.0_文档(12) Laya2.0_示例(8) Laya_示例(8) Laya3.0_api(5) laya_api(2) Laya2.0_api(2)
...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
...I DocumentationAll Packages | All Classes | Index | Frames No Frames LoaderManagerProperties | Methods | Events Packagelaya.netClasspublic class LoaderManagerInheritanceLoaderManager EventDispatcher Object LoaderManager 类用于用于批量加载资源。此类是单例,不要手动实...
来源: Laya2.0_api 发布时间: 20190513
...载音频的代码(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
...第一次没缓存的情况下 动画只会播放一半. 附代码: 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
...量加载json文件,然后等这些文件统一加载完后回调 看了Loader类的用法好像只能加载单一文件,LoaderManager用于批量加载可官网没有DEMO,并不知道怎么用。有大佬能给出个LoaderManager的使用示例么。或者再详细能否讲下Loader 和 Loade...
来源: Laya_社区 发布时间: 20180518
...音乐文件太大 播放延迟 Laya 背景音乐太大 预加载 Laya.loader.load 音乐 Laya.SoundManager.playMusic 播放 会出现延迟效果 Laya.loader.load(['remote/music/' + this.soundUrl + '.mp3'], new Laya.Handler(this, () => { thi...
来源: Laya_社区 发布时间: 20201102
在加载多个资源的时候,加载进度异常 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
...A域名图片获取失败,导致图片不显示,什么原因 Laya.loader.load 方式预加载 附件 : --> 2017-09-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 cuixueying 赞同来自: 方便给个例...
来源: Laya_社区 发布时间: 20170912
...播完一遍动画); 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
...个回复 Monica - 知识达人 赞同来自: 预加载的话直接用Laya.loader.load加载即可 2017-09-20 0 6 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 szsailing 相关问题 微信小游戏如何使用ttf字体? 加载到舞台...
来源: Laya_社区 发布时间: 20170920