大约有 160 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0041 秒)
... Devin 赞同来自: 怎么实例化? Laya.loader.load("xxx.json", Laya.Handler.create(this, this.onCompleteCall), .....); let xxx:View = ? 这里怎么实例化这个 xxx.json为视图对象? 2018-10-30 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题...
来源: Laya_社区 发布时间: 20181018
...几秒中才显示 Laya.loader.load("http://www.xxxxxxx.com/gold.png",Laya.Handler.create(this,this.aa)); private aa(){ let img = new Laya.Image("http://www.xxxxxxx.com/gold.png"); Laya.stage.addChild(img); } 请问下,这样写有声明不对么 ? 2018-04-18 添加评论 免费帖 --> 分...
来源: Laya_社区 发布时间: 20180418
....base_image_url+"image/loading.jpg", ]; Laya.loader.load(_silentLoadArray, Handler.create(this, gameStart)); var gameStart = function(){ var loading = new LoadingPage();(loading页面) //加载完成 进入主界面 loading.onComplete = loadHome; //开始加载 l...
来源: Laya_社区 发布时间: 20170912
...x.com/"; this.qrcode.makeCode(url); Laya.stage.once("click",this,this.clickHandler); this.qrcodeSp = new Laya.Sprite(); Laya.stage.addChild(this.qrcodeSp); 编译运行上面的代码,然后点击舞台可以看到,二维码已经显示到了舞台上,可以用手机扫下,发现手机已经...
来源: Laya3.0_文档 发布时间: 20251010
...te(); Laya.stage.addChild(logo); logo.loadImage("res/atlas/test.png", Laya.Handler.create(this, function(){ console.log("complete!!"); logo.x= Laya.stage.width/2-logo.width/2; logo.y= Laya.stage.height/2-logo.height/2; //logo.pos(Laya.stage.width/2-logo.width/2,Laya.stage.height/2-logo.height/2); })...
来源: Laya_社区 发布时间: 20181010
...list呢?我看list 和cell 之间可以发生联系的地方只有renderHandler和设置itemRender?如何处理这个需求呢? 2017-01-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 cuixueying 赞同来...
来源: Laya_社区 发布时间: 20170121
... */ public function loadAtlas(url:String, loaded:Handler = null, cacheName:String = ""):Animation { 2018-05-22 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 Yangcy 相关问题 两个对象new了一个相同的...
来源: Laya_社区 发布时间: 20180522
...e.log('Gzdaze='); console.log(Gzdaze); Laya.loader.load(Gzdaze.dialogList, Handler.create(this, this.startLoaded)); 代码是这样的 报错 Access to Image at 'http://caifu-1251177394.file.myqcloud.com/beta/book/bookLaya/img/progressBar$bar.png' from origin 'http://bookportal.com' has been blocked...
来源: Laya_社区 发布时间: 20180208
...例3D Laya.Sprite3D.load("res/threeDimen/skinModel/Zombie/Zombie.lh", Laya.Handler.create(this, function(zombie:Laya.Sprite3D):void { scene.addChild(zombie); this.zombieAnimator = (zombie.getChildAt(0) as Laya.Sprite3D).getComponent(Laya.Animator) as Laya.Animator;//获取Animator动画组件 this.z...
来源: Laya_社区 发布时间: 20190507
...a.init(1100, 619, Laya.WebGL); Laya.loader.load("res/atlas/war.atlas",Laya.Handler.create(this,this.onLoaded),null,Laya.Loader.ATLAS); } private onLoaded():void{ this.ball = new Ball(); Laya.stage.addChild(this.ball); this.ball.x = Laya.stage.width / 2; this.ball.y = Laya.stage.height / 2; Laya.stag...
来源: Laya_社区 发布时间: 20171108