大约有 303 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0046 秒)
Laya_社区(234) Laya2.0_文档(27) Laya3.0_api(21) Laya3.0_文档(11) Laya2.0_示例(3) Laya_示例(3) laya_api(2) Laya2.0_api(2)
...时候显示小游戏,这个是你自己控制的,加载资源用Laya.loader.load,在加载完成回调里可以跳转地址到你的小游戏,同时关闭加载界面 3、资源加载完成,我们提供了加载完成回调和加载进度回调,你可以控制你何时关掉加载界面...
来源: Laya_社区 发布时间: 20170904
... 人 Spick • 2017-02-24 15:03 您好,请问一下:客户端直接用 loader 加载微信给的头像连接不可行是不是?因为我们服务器想让客户端自己保存微信的头像连接来使用 bluesea • 2017-09-23 18:27 上面的想法,在加载图片的时候,要等好久...
来源: Laya_社区 发布时间: 20170119
...adImage("../../res/apes/monkey3.png"); // 方法2:使用drawTexture Laya.loader.load("https://s2.d2scdn.com/2017/12/ ... ot%3B, Handler.create(this, function() { var t = Laya.loader.getRes("https://s2.d2scdn.com/2017/12/ ... 6quot;); var ape = new Sprite(); ape.scaleX = 0.5 ape.scaleY = 1 ape.grap...
来源: Laya_社区 发布时间: 20171220
...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
...认应用程序。编写代码如下: ```java package { import laya.net.Loader; import laya.utils.Handler; import ui.EffectAnimationDemoUI; public class Main { public function Main() { //初始化舞台 Laya.init(1334,750); //设置舞台背景色 Laya.stage.bgColor = "#ffffff" //加载图集资...
来源: Laya2.0_文档 发布时间: 20210715
...his.h1 = Laya.Handler.create(this, this.loadPicComplete, null, true); Laya.loader.load("res/img/1.png", this.h1); } private loadPicComplete(): void { Laya.timer.once(2000, this, this.actT); } private actT(): void { this.h2 = Laya.Handler.create(this, this.loadPicComplete, null, true); console.log(th...
来源: Laya_社区 发布时间: 20171221
...请: 与内容相关的链接 提交 2 个回复 Yangcy 赞同来自: Laya.loader.load("abc.json", Handler.create(this, onAssetLoadedSound), Handler.create(this, progressHandler), Loader.SOUND); 第一次加载出来: [list=none] [*]0: {column: "0", duration: "0", mode: "点", time: "30...
来源: Laya_社区 发布时间: 20181122
...作 ide compile的时候不会启动一个本地服务器吗? 使用Laya.loader.load缓存下来的文件还在res目录下吗?在编辑模式下怎么调用缓存下来的文件? 问题状态 最新活动: 2018-03-18 23:19 浏览: 953 关注: 1 人 15818760256 • 2018-07-30 14:26 您好,...
来源: Laya_社区 发布时间: 20180318
...Laya.View.regComponent("ScaleButton", ScaleButton); Laya.loader.load("res/atlas/com/loading.atlas", Laya.Handler.create(this, this.loadGame)); } private loadGame(): void { var resArray = [ { url: "res/atlas/lobby/cre...
来源: Laya_社区 发布时间: 20181208
...剩余游戏资源、音乐,加载完成与加载进度回调方法 Laya.loader.load(assetArr,Handler.create(this,onComplete),Handler.create(this,onProgress)) } return GameStart(); })(); 2017-11-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...
来源: Laya_社区 发布时间: 20171123