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

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

141. 在微信小游戏中使用BitmapFont会导致报错. [ 53%]

...BitmapFont('Name', timerFont);         Laya.loader.load("res/atlas/comp.atlas", Handler.create(null, onLoaded));     })); }  function onLoaded(): void {     //实例UI界面     var testUI: TestUI = new TestUI();     Laya.stage.addChild(testUI); } 附件 : --> src.rar 2018-0...

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

142. 关于canvas下资源释放的问题 [ 52%]

...图集地址或者texture地址,比如 Loader.clearTextureRes("res/atlas/comp.atlas"); Loader.clearTextureRes("hall/bg.jpg");              */         public static function clearTextureRes(url:String):void { 2018-04-25 0 0 分享 微博 QZONE 微信 w1114367261 赞同来自: 你是...

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

143. 在加载多个资源的时候,加载进度异常 [ 52%]

...18 0 0 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: {url:"res/atlas/comp.atlas"} 这样的形式,加上 url:  再用大括号括起来 2018-01-02 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 lichengb...

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

144. 微信小游戏编译出错 [ 52%]

...aya_Aaron:ascii编码? private var assetArr:Array=[{url: "res/atlas/comp.atlas"}, {url: "res/atlas/wxlocal.atlas"}, {url: "res/atlas/middleMoive.atlas"}, {url: "res/atlas/resoutel.atlas"}, {url: "res/atlas/texiaolanse.atlas"}]; 我直接load 这些...

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

145. 限制区域拖动效果,为什么会无法限制呢? [ 52%]

...on.FILENAME_VERSION);  function beginLoad() { Laya.loader.load("res/atlas/comp.atlas", Handler.create(null, onLoaded)); }  function onLoaded() { Laya.stage.addChild(new GolfMainUI()); }   附件 : --> 2018-06-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀...

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

146. VBOX动态增加的元素没有自动布局 [ 52%]

...} // 程序入口 Laya.init(600, 400); Laya.loader.load([{ url: "res/atlas/comp.json", type: Loader.ATLAS }], Handler.create(this, this.onLoaded)); function onLoaded(): void { //实例UI界面 var testUI: TestUI = new TestUI(); Laya.stage.addChild(testUI); }         完整项目请见附件。 ...

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

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

...ROGRESS,this,this.onProgress); //数据传输中 this.http.once(Laya.Event.COMPLETE,this,this.onComplete); //数据传输完成后,会返回一个data this.http.once(Laya.Event.ERROR,this,this.onError); //数据传输失败后返回 //post数据的写法 console.log(JSON.stringify(request)); this....

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

148. Android替换游戏启动logo看不到设置的图片 [ 51%]

...ng(50); } //加载引擎需要的资源 Laya.loader.load([{url: "res/atlas/comp.json", type: Loader.ATLAS}], Handler.create(this, onLoaded)); } private function onLoaded():void { //实例UI界面 var testView:TestView = new TestView(); Laya.stage.addChild(testView); __JS__("if(window.conch)") { dd=_...

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

149. 粒子在webgl情况和canvas情况存在显著差异,请看图 [ 50%]

... 0, "minEndColor": { "0": 0, "1": 1, "2": 0, "3": 1 }, "textureFileName": "comp\\clip_num.png", "emissionRate": 0, "minHorizontalVelocity": 0, "emitterType": "null", "textureCount": 1, "minVerticalVelocity": 0, "boxEmitterVelocityAddVariance": { "0": 0, "1": 0, "2": 0 }, "ringEmitterCenterPosition":...

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

150. 发现TimeLine的一些问题,像是BUG [ 50%]

...t.show(); //加载引擎需要的资源 Laya.loader.load([{url: "res/atlas/comp.json", type: Loader.ATLAS}], Handler.create(this, onLoaded)); } private function onLoaded():void { //实例UI界面 Laya.stage.bgColor="#353535"; sp1=createSprite(50,50);//创建方块1 sp2=createSprite(250,50);//创建...

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