大约有 1,013 项符合查询结果, 库内数据总量为 31,624 项。 (搜索耗时: 0.0061 秒)
....next } }; box2d.b2Assert=function(a,b,c){ if (box2d.DEBUG && !a) {console.log(box2d.DEBUG); console.log(a); throw Error() } else { }; }; 匿名用户 • 2018-12-30 15:59 box2d.ENABLE_ASSERTS && box2d.b2Assert(0 < this.m_jointCount); 这句话 0<this.m_jointCount 灰太狼 •...
来源: Laya_社区 发布时间: 20181213
...与高结果是0; var sf =new Laya.sprte(); sf.loadImage("res/kk.png"); console.log(sf.width,sf.height) 2018-05-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 一点一滴 赞同来自: 因为这是个异步...
来源: Laya_社区 发布时间: 20180515
...gLoaded(url):void { var data:Object = Laya.loader.getRes(url); console.log(data) var e = new Zlib.Inflate(data.buffer); data = e.decompress(); } 现在的问题是,var data:Object = Laya.loader.getRes(url);中,data是一个什么类型的,如何去到其中的数据buf...
来源: Laya_社区 发布时间: 20171218
...adapter process has terminated unexpectedly layabox ide 无法调试 ,console.log 打印无效,不知道是什么情况! 附件 : --> 2017-01-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 emoonight ...
来源: Laya_社区 发布时间: 20170118
...材/背景黑色蒙版.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
...复 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
... 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
...入后台事件。 我尝试了用this.stage.on(Event.BLUR, this, ()=>{console.log("back")}),PC浏览器上可以,但在加速器上不行。 2016-12-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixue...
来源: Laya_社区 发布时间: 20161202
...tected onCreate(): Laya.View { this.RootPanel = new ui.test.gameLayerUI(); console.log(this.RootPanel.my_laya.width); // this.RootPanel.on(Laya.Event.RENDER,this,this.bindEvent); return this.RootPanel; }说明:这是一个框架下用来创建界面的create方法,该 gameLayerUI 是一个分离...
来源: Laya_社区 发布时间: 20200227
...ane":0.3, "farPlane":90 }, var camera= scene.getChildByName("AutoCamera"); console.log(camera); 2017-09-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 zyf598125795 赞同来自: camera打印显示NULL 2017-09-2...
来源: Laya_社区 发布时间: 20170926