大约有 162 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0057 秒)
...所以加载时要写上类型 Laya.loader.load([{url:url,type:"image"}], Handler.create(this,function(){ //接下来 }));5.接下来回调,卸载之前的资源 Laya.loader.clearRes(oldUrl);6.加载Texture2D 这样就原图片地址是个Texture2D,生成的URL地址是个Texture 2019-02-19 0...
来源: Laya_社区 发布时间: 20181221
...ows安装包吗? 请问 3D shader 预编译,需要怎么处理? Laya.Handler.create 回调 load方法的progress回调进的次数太少了。是我哪里设置有问题么 官方技术文档里:微信小游戏进阶处理,AS3,TS,JS并不相同,请问关于AS3的wxlocal白名单文件适...
来源: Laya_社区 发布时间: 20171103
... 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