大约有 170 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0043 秒)
...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
...图集地址或者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
...18 0 0 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: {url:"res/atlas/comp.atlas"} 这样的形式,加上 url: 再用大括号括起来 2018-01-02 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 lichengb...
来源: Laya_社区 发布时间: 20180101
...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
...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
...} // 程序入口 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
...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
...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
... 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
...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