• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 1,292 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0057 秒)

1091. Laya 2.3和2.4示例项目导出的QQ小游戏无法运行 [ 52%]

...游戏,然后打开QQ小游戏IDE,无法正常编译运行。 貌似是loader.load会卡住。     这是在chrome下面正常运行的信息     附件 : --> qqemptytestlaya2.3_.zip 2019-11-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...

来源: Laya_社区 发布时间: 20191121

1092. [LayaAir3][LayaAir3]3.3.4 同时添加2个sk,无法正常显示 [ 52%]

...个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

1093. 能够知道使用的资源是不是Atlas吗 [ 52%]

... 分享:LayaAir下如何获取图集下的小图资源? 请问laya.net.Loaderlaya.net.LoaderManager哪些函数支持网络资源加载,加载什么类型?哪些只支持本地资源加载 app用dcc更新资源问题 ui打包资源同步bin目录下, 为什么更新IDE后在前面加了...

来源: Laya_社区 发布时间: 20180323

1094. 玩一玩项目中加载 .proto和.txt文件失败,加载 xml, 图集等是正常的 [ 51%]

...败,加载 xml, 图集等是正常的 如题所述。 使用的是 Laya.loader.load(...) 加载。 加载 .proto或者 .txt 等文件时,getRes 的结果都是一个 10282 长度的 ArrayBuffer ,用 TextDecoder 导出来是如下字符:   附件 : --> 2018-03-27 添加评论 免费帖...

来源: Laya_社区 发布时间: 20180327

1095. MiniAdpter.nativefiles 设置后并没有起作用 [ 51%]

...l/";   MiniAdpter.nativefiles=[  "res/media/",  "prefab/bb.json" ] Laya.Loader.load(...../); 2019-09-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来自: 只有在微信小游戏中才有...

来源: Laya_社区 发布时间: 20190902

1096. 图片遮罩大小跟设置不一致 [ 51%]

...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

1097. HttpRequest 回调方法都没执行 LayaAir 1.7.17 beta JS版本 [ 51%]

...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

1098. 请问:Ts下如何实现打开照相机和系统图库的方法?IOS和Android [ 51%]

....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

1099. 图片通过drawTexture平铺出现缝隙 [ 51%]

...      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

1100. layanative安卓端需要怎么添加ttf字体,需要增加两种字体? [ 51%]

...; 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