大约有 1,292 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0057 秒)
Laya_社区(1020) Laya2.0_文档(79) Laya3.0_文档(55) Laya_示例(51) Laya3.0_api(44) Laya2.0_示例(39) laya_api(2) Laya2.0_api(2)
...游戏,然后打开QQ小游戏IDE,无法正常编译运行。 貌似是loader.load会卡住。 这是在chrome下面正常运行的信息 附件 : --> qqemptytestlaya2.3_.zip 2019-11-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...
来源: Laya_社区 发布时间: 20191121
...个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
... 分享:LayaAir下如何获取图集下的小图资源? 请问laya.net.Loader和laya.net.LoaderManager哪些函数支持网络资源加载,加载什么类型?哪些只支持本地资源加载 app用dcc更新资源问题 ui打包资源同步bin目录下, 为什么更新IDE后在前面加了...
来源: Laya_社区 发布时间: 20180323
...败,加载 xml, 图集等是正常的 如题所述。 使用的是 Laya.loader.load(...) 加载。 加载 .proto或者 .txt 等文件时,getRes 的结果都是一个 10282 长度的 ArrayBuffer ,用 TextDecoder 导出来是如下字符: 附件 : --> 2018-03-27 添加评论 免费帖...
来源: Laya_社区 发布时间: 20180327
...l/"; MiniAdpter.nativefiles=[ "res/media/", "prefab/bb.json" ] Laya.Loader.load(...../); 2019-09-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来自: 只有在微信小游戏中才有...
来源: Laya_社区 发布时间: 20190902
...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
....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.addChild(this.darwSprite); var t: Texture = Laya.loader.getRes("load/0.png"); this.darwSprite.graphics.drawTexture(t,0,0); this.darwSprite.graphics.drawTexture(t,176,0); this.darwSprite.graphics.drawTexture(t,176*2,0); 采用这方式...
来源: Laya_社区 发布时间: 20160718
...; import laya.utils.Handler; /** * ... * @author ww */ public class TestTTFLoader { public function TestTTFLoader() { Laya.init(1000, 900); Laya.loader.load("res/remember.ttf",new Handler(this,test)); } private function test():void { var text:Text; text = new Text(); text.fontSize = 30;...
来源: Laya_社区 发布时间: 20191211