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

大约有 633 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0048 秒)

221. HTMLDivElement中image标签多次赋值报错 [ 68%]

...s://layaair.ldc.layabox.co ... ot%3B style="width:100;height:100" onclick="this.style.display=\'none\';" />\ <span style="color:white;font:24px Arial">paragraph 3</span>'; p.innerHTML = html; p.innerHTML = html; } })(); 附件 : --> 2018-08-08 添加评论 免费帖 --> 分享 微博 ...

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

222. 使用drawToCanvas截图多次之后,再也无法再本次程序中截图显示。没有任何报错 [ 68%]

...制作的帧动画之后会出现截图失败的情况private takePhoto(){ this._htmlC = this.gridBox.drawToCanvas(this.gridBox.width,this.gridBox.height,0,0); //获取截屏区域的texture this._tex = new Laya.Texture(this._htmlC); this._photo=new Laya.Sprite(); //将截屏的texture进行draw绘...

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

223. Pool 使用 Laya.Prefab [ 68%]

...aya.Prefab; let box: Laya.Sprite = Laya.Pool.getItemByCreateFun("ItemBox", this._control.targetBox.create, this._control.targetBox); 运行报错: Cannot read property 'create' of undefined targetBox又在 control里面引用一个Prefab 2019-08-26 添加评论 免费帖 --> 分享 微博 QZONE 微...

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

224. 微信小游戏,请先初始化小游戏适配库 [ 68%]

...游戏适配库 Wechat Lib:1.9.94, 2018.3.15 14:07:52 code.js:107 Warning!,this class[MiniAdpter] already exist: {init: ƒ} code.js:7132 请先初始化小游戏适配库,详细教程https://ldc.layabox.com/doc/?nav=zh-ts-5-0-0 console.error Browser.__init__ @ code.js:7132 (anonymous) @ code.js:70...

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

225. UI编辑发布后运行lose skin [ 68%]

...ge.bgColor = "#000000"; Laya.loader.load("comp/button.png", Handler.create(this, this.onLoaded)); } private onLoaded(): void { this.begin = new Begin(); Laya.stage.addChild(this.begin); } } new GameMain(); 2018-08-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...

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

226. image._nativeObj报错 [ 68%]

...搜遍引擎代码,就只有Graphics的构造函数里面会有这个 _this_._nativeObj=new (window as Object)._conchGraphics(); 貌似没有new成功,麻烦帮忙看看什么情况会导致new失败呢   LayaAir版本:1.7.14beta LayaNative版本:0.9.13 附件 : --> 2018-01-31 添加评论 ...

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

227. 微信头像显示错误 [ 68%]

... 1 个回复 185*****367 赞同来自: if (!tex.loaded){ tex.once("loaded",this,this._textureLoaded,[tex,args]); } 是显示微信头像,格式好像是jifi  2018-01-14 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 185*****367 相关...

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

228. DOMException报错 [ 68%]

...a5416 • 2017-08-25 09:47 AudioSound类的play方法 177行 channel.url = this.url; 提示这个url报错 yonghua5416 • 2017-08-25 09:49 应该是切换,播放背景音乐时报错的 yonghua5416 • 2017-08-25 10:20 确定是切换背景音乐的导致的报错

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

229. layacmd 安装不成功 [ 68%]

... have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the electron package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node install.js npm ERR! You can get information on how to open an issue...

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

230. 怎么循环数组的时候给他定时第一个执行完在执行下一个 [ 68%]

...0 0 1 分享 微博 QZONE 微信 乐趣 赞同来自: Laya.timer.loop(1000,this,this.CardAnimation);  //定时执行某个函数  this.CardAnimation是你要自己实现的动画 动画执行玩后清理掉这个定时器 Laya.timer.clear(this,this.CardAnimation); //清理定时器 这些API里...

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