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

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

401. 关于打包App后Texture.getPixels此方法不能使用 [ 54%]

...ePixels(this, x, y, width, height);     } else {       Browser.canvas.size(width, height);       Browser.canvas.clear();       Browser.context.drawTexture(this, -x, -y, this.width, this.height, 0, 0);       var info:* = Browser.context.getImageData(0, 0, width, height);     }     r...

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

402. Error!,this class[Item] already exist: function Item(){ … } [ 54%]

... LayaAirIDE2.2 - Laya3D init error ,must support webGL Error: asBitmap no size! 问题状态 最新活动: 2018-04-12 11:35 浏览: 645 关注: 2 人

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

403. 请问更新遮罩的最优方式 [ 54%]

...一种进度条,需要遮罩宽度随着进度变化而变化   _mask.size(_barImage.width * _percent, _barImage.height); _mask.graphics.clear(); _mask.graphics.drawRect(0, 0, _mask.width, _mask.height, "#FF0000");                      _barImage.mask = null; _barImage.mask = _mask;...

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

404. 关于js继承类class的参数问题 [ 54%]

...e = "label";//设置 label 的name属性值。      *         label.size(100, 20);//设置 label 的宽度、高度。      *         this.addChild(label);//将 label 添加到显示列表。      *     };      *     Laya.class(Item,"mypackage.listExample.Item",_super);//注...

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

405. 更改innerHTML字体大小失败 [ 54%]

...en;i++){ vo=bagVo.attr[i]; if(vo.attValue==0) continue; attrStr+="<font size='99999' color='#b031d5'>"+AttrNameCode.toName(vo.attType)+"</font> "+vo.attValue+"<br>"; } describe.innerHTML=attrStr; trace(attrStr) } 2017-10-30 添加评论 免费帖 --> 分享 微博 QZONE ...

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

406. Animation动画鼠标点击事件不起作用? [ 54%]

...注: 3 人 lbxw • 2017-09-29 11:17 亲是怎么解决的,我设置了size后,因为在做动画的时候设置了anchorX各Y都为0.5导致只有右下角可以点击了 george • 2018-09-14 17:09 @lbxw:解决了吗?我好像也碰到同样的问题了

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

407. Error TS2304: Cannot find name 'Iterable'. [ 54%]

...s LayaAirIDE2.2 - Laya3D init error ,must support webGL Error: asBitmap no size! 问题状态 最新活动: 2019-10-30 17:30 浏览: 922 关注: 1 人

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

408. 用JS原生态window.location.href跳转 [ 54%]

...; sp.graphics.drawRect(0,0,100,100,"#FFFF00"); Laya.stage.addChild(sp); sp.size(1000,100); sp.on(Event.CLICK,this,onClick); } private function onClick():void { Browser.window.location.href="https://www.baidu.com"; } 2016-12-15 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 ...

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

409. [LayaAir3]spine播放报错 [ 54%]

...放这个spine的时候会报警GL_INVALID_OPERATION:Insufficient buffer size 附件 : --> eff_cast_zhaohuan.zip 2024-12-26 1 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 layabox 赞同来自: 谢谢反馈,问题...

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

410. addchild后,怎么去引用? [ 54%]

...tion(); lose1.loadAnimation("lose_1.ani"); lose1.x=150; lose1.y=400; lose1.size(100,300); lose1.on(Laya.Event.CLICK,this.listP,this.play1); lose1.name="lose1"; this.listP.addChild(lose1); play1():void { console.log("111"); this.lose1.play(); //this._childs[5].play(); } 2017-10-25 添加评论 免费...

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