大约有 549 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0057 秒)
...ctangle(); this.tMap.createMap("../bin/res/MarioMap1.json", viewRect, Laya.Handler.create(this,this.initMap)); } private initMap(): void { } } new GameMain();运行的时候报错!错误信息如下: 附件 : --> 2019-02-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...
来源: Laya_社区 发布时间: 20190212
...}, {url:"bg/hallrom.json", type:Loader.JSON}, ]; Laya.loader.load(altsArr, Handler.create(this, onComplete)); function onComplete():void{ trace("加载完成"); } 2018-05-18 1 1 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 楼上的回答是正确的,关于重复过滤引擎是...
来源: Laya_社区 发布时间: 20180518
...is.tMap.createMap("resources/TiledMap/orthogonal.json", viewRect, new Laya.Handler(this, this.completeHandler)); } //添加地图到Scene2D下 private onLoaded(): void { this.tMap.mapSprite().removeSelf(); this.owner.addChild(this.tMap.mapSprite()); } //地图加载完成的回调 private completeHa...
来源: Laya3.0_文档 发布时间: 20251010
...iderShape.<anonymous> (laya.d3.js:26828) at App.js:35 at Handler.__proto.runWith (laya.core.js:1143) at ResInfo.onLoaded (laya.core.js:14787) at EventHandler.__proto.runWith (laya.core.js:1143) at ResInfo.__proto.event (laya.core.js:899) at LoaderManager.__p...
来源: Laya_社区 发布时间: 20180816
...list呢?我看list 和cell 之间可以发生联系的地方只有renderHandler和设置itemRender?如何处理这个需求呢? 2017-01-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 cuixueying 赞同来...
来源: Laya_社区 发布时间: 20170121
...sprite = new laya.display.Sprite(); sprite.loadImage("comp/bg.png",0,0,0,0,Handler.create(this,function(texture:laya.resource.Texture){ sprite.graphics.clear(); sprite.graphics.drawTexture(texture,0,0,50,50); sprite.autoSize = true; })); Laya.stage.addChild(...
来源: Laya_社区 发布时间: 20160711
... public static function playMusic(url:String, loops:int = 0, complete:Handler = null, startTime:Number = 0):SoundChannel { 你的参数传入是否正确那? 或者能否发一下你出问题部分的代码或者小demo那? 2018-04-17 0 1 分享 微博 QZONE 微信 Apple 赞同来自: 你用...
来源: Laya_社区 发布时间: 20180417
...文件Image.json Laya.loader.load([{url: "res/Image.json", type: "plf"}], Handler.create(this, function():void { //在回调里,正常使用原来的图集 Laya.loader.load("res/atlas/comp.atlas", Handler.create(this, function():void { var img:Texture = Laya.loader.getRes("comp/comp.png"); var sp:...
来源: Laya2.0_文档 发布时间: 20210714
...his,()=> { Laya.Scene3D.load('LayaScene_Main/Conventional/Main.ls',Laya.Handler.create(this,(scene:Laya.Scene3D)=> { Laya.stage.addChild(scene); })); }); } 这样的加载一定包异常,不延时直接在构造函数里,执行加载没问题 2019-07-19 0 0 分享 微博 QZONE 微信...
来源: Laya_社区 发布时间: 20190719
...。改成 Laya.loader.load("res/atlas/Resources.json",laya.utils.Handler.create(this,this.onReader),null,laya.net.Loader.ATLAS);就好了 Buzhihew • 2017-01-11 15:50 @Monica:.......我.....总之谢谢啊啊啊 Monica • 2017-01-11 15:51 @Buzhihew:不客气(*^__^*) ...... wuquanan • 2...
来源: Laya_社区 发布时间: 20170111