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

大约有 1,013 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0045 秒)

511. 渠道对接中conchMarket如何获得? [ 56%]

...ata={type:"test"}; conchMarket.login(JSON.stringify(sData),function(data){ console.log(data); // 数据处理. });conchMarket是通过二次开发教程里的方式实例化吗?采用call(login, callback)的方式调用?但例子为什么是login()? 2017-07-11 添加评论 免费帖 --> ...

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

512. 发微信小游戏音乐不播放,报警告 [ 56%]

...bgm.mp3", 1, new Handler(this, function(){                 console.log("播放完成");             })); 2018-08-08 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 苏栢 相关问题 谷歌浏览器播放mp3...

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

513. DialogManager怎么添加遮罩层 [ 56%]

...材/背景黑色蒙版.png",0,0,1600,1080); this.scTipsPg= new ScTpisUI(); console.log(this.scTipsPg.manager); this.scTipsPg.manager=dialogManager; this.scTipsPg.manager.maskLayer=sprite1; this.scTipsPg.popupCenter=false; this.scTipsPg.top=60; this.scTipsPg.right=-510; this.scTipsPg.show();     ...

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

514. android打包报错:文字尺寸超出大图合集限制 [ 56%]

...新引擎版本即可。   可以在程序中打印版本信息监测: console.log(Laya.version); 2016-12-30 0 0 分享 微博 QZONE 微信 Laya_XS 赞同来自: 好的,问题解决了就行了 2016-12-30 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题...

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

515. DialogManager怎么添加遮罩层 [ 56%]

...材/背景黑色蒙版.png",0,0,1600,1080); this.scTipsPg= new ScTpisUI(); console.log(this.scTipsPg.manager); this.scTipsPg.manager=dialogManager; this.scTipsPg.manager.maskLayer=sprite1; this.scTipsPg.popupCenter=false; this.scTipsPg.top=60; this.scTipsPg.right=-510; this.scTipsPg.show();   不...

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

516. 监听按键事件怎么写呀,TS的 [ 56%]

...复 sfg007 赞同来自: onkeydown(e: Laya.Event): void{           console.log(e.keyCode);             if(e.keyCode==37){//左            this.hero.pos(this.hero.x-100,this.hero.y);                   }else if(e.keyCode==39){//右            this....

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

517. index.html修改后错误 [ 56%]

...模型无法修改scale? 不知道改如何找到错误= = laya如何重写console.log 打印错误跟信息到自己写的日志面板上 new Laya.TiledMap()提示错误:Laya.TiledMap is not a constructor 问题状态 最新活动: 2018-05-24 11:35 浏览: 1549 关注: 2 人

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

518. loadImage后为什么不能获得图片的宽度与高度 [ 56%]

...与高结果是0; var sf =new Laya.sprte(); sf.loadImage("res/kk.png"); console.log(sf.width,sf.height) 2018-05-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 一点一滴 赞同来自: 因为这是个异步...

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

519. 请问我怎么在js中调用这个方法 [ 56%]

... function Test() { this.rand = Math.random(); } Test.output = function (){ console.log(this.rand); } return Test; }()); Zszen.Test = Test; })(Zszen || (Zszen = {}));我使用 var a = new Zszen.Test(); a.output(); //这句我调用说找不到, 应该怎么写自定义方法 2018-01-12 添加评论 ...

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

520. Laya事件不能添加给多边形吗? [ 56%]

...e.addChild( clickRect ); clickRect.on( Laya.Event.CLICK, this, function(){ console.log( 'adf' ) } );   我创建一个多边形,然后添加一个点击事件就没反应。但是如果添加一个图片,点击就有反应,请问是我的写法有问题吗? 2018-02-01 添加评论 免费帖...

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