大约有 748 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0124 秒)
Laya_社区(539) Laya2.0_文档(76) Laya_示例(48) Laya2.0_示例(39) Laya3.0_文档(25) Laya3.0_api(19) laya_api(1) Laya2.0_api(1)
...击事件啊?而且tab标签点击后没有一直处于按下状态 var Loader = laya.net.Loader; var UI; Laya.init(600, 400); Laya.loader.load("res/atlas/template/Tab栏.json", Laya.Handler.create(this, onAssetLoaded2), null, Loader.ATLAS); function onAssetLoaded2() { Laya.class(MyBoot, "My...
来源: Laya_社区 发布时间: 20160722
... 分享:LayaAir下Loading进度条的制作(ActionScript 3.0) Laya.loader.create 进度回调函数执行两次 麻烦帮看一下这种遮罩bar的进度条设了遮罩不起作用 关于环形进度条,进度不能重置问题 这种进度条怎么实现? 官方提供的进度条示例 只...
来源: Laya_社区 发布时间: 20171102
...rt laya.ani.AnimationState; import laya.display.Animation; import laya.net.Loader; import laya.ui.Image; import laya.utils.Handler; import view.TestView; public class LayaUISample { public function LayaUISample() { //初始化引擎 Laya.init(600, 400); //Laya.loader.load([{url: "res/atlas/char_wuda...
来源: Laya_社区 发布时间: 20170220
...nLoad), Laya.ResourceVersion.FILENAME_VERSION); function beginLoad(){ Laya.loader.load("res/atlas/comp.atlas", Handler.create(null, onLoaded)); } function onLoaded(): void { //实例UI界面 new laya.UI_Label(); } 上图为在layaIDE中的显示效果。 不知道具体是什么原因,希望...
来源: Laya_社区 发布时间: 20180529
... (function(LayaSample){ (function(){ Laya.init(640,1027); Laya.loader.load("res/atlas/comp.json",Laya.Handler.create(this,onLoaded),null,Laya.Loader.ATLAS)})(); function onLoaded(){ var karaok = new Karaok(); // new出来的内存 如何主动销毁? } })(window.LayaSample || (window...
来源: Laya_社区 发布时间: 20170223
...耗性能 directionLight.shadowPCFType = 3; Laya.loader.create([ "res/plane.lh", "res/LayaMonkey.lh" ], Laya.Handler.create(this, onComplete)); var _quaternion = new Laya.Quaternion(); Laya.timer.frameLoo...
来源: Laya_社区 发布时间: 20180725
...=================================================== // 程序入口 import Loader = Laya.Loader; import Texture = Laya.Texture; import Handler = Laya.Handler; class GameMain{ constructor() { Laya.init(1080,1321); //设置适配模式 Laya.stage.scaleMode = "showall"; //设置剧中对齐 Laya.stage....
来源: Laya_社区 发布时间: 20170329
...剩余游戏资源、音乐,加载完成与加载进度回调方法 Laya.loader.load(assetArr,Handler.create(this,onComplete),Handler.create(this,onProgress)) } return GameStart(); })(); 2017-11-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...
来源: Laya_社区 发布时间: 20171123
...Browser.window.URL.createObjectURL(blob); Laya.loader.load(url, Handler.create(t, t.onComplete, [params]), null, Loader.IMAGE); 来将二进制文件中的图片文件数据转成Texture。 但目前在尝试将项目转native,想问下native中如何将获取的...
来源: Laya_社区 发布时间: 20190924
...fairygui界面报错, fgui.UIConfig.packageFileExtension = "json"; Laya.loader.load([ { url: "res/Basics_atlas0.png", type: Laya.Loader.IMAGE }, { url: "res/Basics.json", type: Laya.Loader.BUFFER } ], Laya.Handler.create(this, this.onLoaded)); } onLoaded(): void { console...
来源: Laya_社区 发布时间: 20191030