大约有 304 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0054 秒)
...ure2d destory"); } this.bitmap=null; } if (this.url && this===Laya.loader.getRes(this.url)) Laya.loader.clearRes(this.url); } }增加的代码是 if (this.bitmap.referenceCount===0){ this.bitmap.destroy(); // console.log("texture2d destory"); } 2019-06-13 0 0 分享 微博 QZONE 微信 打...
来源: Laya_社区 发布时间: 20190320
...的GET参数 关于同为object层,层级设置无效的问题 请问下loader如何强制加载一个文件,避免浏览器的缓存 list 每次滑动,都是可以滑动一点点,可不可以如何设置,让他每次滑动,只能固定的值。 问题状态 最新活动: 2020-02-01 20:3...
来源: Laya_社区 发布时间: 20200121
...缩混淆js(耗时)”的bug laya3D项目压缩引用库 Laya的下载Loader 能下载Zip 压缩包吗? js文件过多要怎么办, 目前发布有实现自动打包压缩的功能吗?还是需要自己实现? 请问图片压缩工具在哪里? laya.physics3D库文件可以压缩吗?1.5M...
来源: Laya_社区 发布时间: 20170210
...个sk,正常显示 len = 2; //如果添加2个,就都无法显示 Laya.loader.load("resources/hongdian.sk").then((templet: Laya.Templet) => { for (let i = 1; i <= len; i++) { let sk = templet.buildArmature(0); sk.pos(100 * i, 100 * i); sk.play(0, true); this.owner.addChild(sk); } }); 附...
来源: Laya_社区 发布时间: 20251203
...游戏,然后打开QQ小游戏IDE,无法正常编译运行。 貌似是loader.load会卡住。 这是在chrome下面正常运行的信息 附件 : --> qqemptytestlaya2.3_.zip 2019-11-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...
来源: Laya_社区 发布时间: 20191121
...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
....id = "photo"; body.appendChild(input); Laya.loader.load("comp/button.png"); let button = new UIButton("comp/button.png","点我"); button.labelSize = 30; button.size(300,100); button.centerX = 0; ...
来源: Laya_社区 发布时间: 20161114
...; this.scene.addChild(this.camera); Laya.loader.create("res/scene_Effect/Conventional/Effect_zhujue_attack.lh", Laya.Handler.create(this, () => { let item = Laya.loader.getRes("res/scene_Effect/Conventional/Effect_zhujue_attack.lh...
来源: Laya_社区 发布时间: 20191102
... 3 个回复 Laya_Xq 赞同来自: B型血人 layaMonkey = scene.addChild(Loader.getRes("res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh")) as Sprite3D; //克隆sprite3d layaMonkey_clone1 = Sprite3D.instantiate(layaMonkey, scene, false, new Vector3(0.6, 0, 0)); //克隆sprite3d layaMonkey_clone2 =...
来源: Laya_社区 发布时间: 20181017
...; } private function beginLoad():void { //加载引擎需要的资源 Laya.loader.load("res/atlas/comp.atlas", Handler.create(this, onLoaded)); } private function onLoad2():void { Laya.timer.once(2000, this, onLoaded); } private function onLoaded():void { //实例UI界面 //var testView:TestView = n...
来源: Laya_社区 发布时间: 20180525