大约有 323 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0047 秒)
...ite, 不能用render.sprite render: { visible: true, // 开启渲染 } }); console.log("增加刚体..."); World.add(world, gun); 点击运行之后,屏幕都是黑色,不显示图片信息。这个感觉是有问题,还请官方来回答,非常感谢!! 2018-05-22 添加评论 免费帖 ...
来源: Laya_社区 发布时间: 20180522
...ouches.length;i++){ let t =touches[i]; let nameIndex =e.touchId + "_" + i; console.log(nameIndex+":"+e.type); } } } 之能收到down和move! 2018-11-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 5 个回复 Luren_yi ...
来源: Laya_社区 发布时间: 20181102
...(this); // this定义.. this.init(); } Class.prototype.init = function() { console.log(this); }; return Class; })(); } var __extends = (this && this.__extends) || function(d, b) { for (var p in b) { (b.hasOwnProperty(p)) && (d[p] = b[p]); } function __() { this.constructor = d; } d.p...
来源: Laya_社区 发布时间: 20170619
...); sp.emitter.start(); sp.x = 100; sp.y = 100; sp.name = (i++).toString(); console.log(sp.name); Laya.stage.addChild(sp); setTimeout(function () { var emitter = sp.emitter; emitter.stop(); emitter.clear(); sp.stop(); sp.destroy(true); Laya.stage.removeChild(sp); onAssetsLoaded(settings); }, 100); } ...
来源: Laya_社区 发布时间: 20170103
... this; this.tl.on(this.Event.COMPLETE,this,function(){ _this.tl.stop(); }) console.log(this.tl) this.tl.interval = 1000 / 60; // this.tl.play(); apesCtn.addChild(this.tl); apesCtn.height = 1500; apesCtn.width = 3248; this.tl.pivot(-1624,-750); }, 2019-01-17 添加评论 免费帖 --> 分享 微博 Q...
来源: Laya_社区 发布时间: 20190117
... { console.log("授权失败"); } }); button.show(); 2019-01-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...
来源: Laya_社区 发布时间: 20190109
... 2018-08-17 10:44 for( let i = 0; i < Laya.stage.numChildren; i++ ) { console.log( Laya.stage.getChild(i) ); } 153*****476 • 2018-08-17 13:17 多谢,按你的方法我找到问题了,是我的逻辑有问题,场景加载了两次。 Supermang42 • 2018-08-17 13:33 :D
来源: Laya_社区 发布时间: 20180815
...Main.js里面加了,在手机上没有运行到这里。 constructor() { console.log("Main start...."); 附件qq_layaSample是用2.4IDE创建一个一个3d物理实例工程,导出qq平台后在开发工具里面压根运行不起来,但是在 Ver 0.1.29-beta.55 里面可以运行。 ...
来源: Laya_社区 发布时间: 20200219
...g'); //此处无论是这样给 list.on(Laya.Event.CLICK, this, () => { console.log(413132131) }) //还是在handler中去渲染,都会滚动不了 txArray.push(list);} storeTxList.array = txArray; Laya.stage.addChild(storeTxList); 悬赏找大神看问题 export default class StoreIte...
来源: Laya_社区 发布时间: 20190711
...; this._path_space_y = Math.abs( this._tail_pos.y - this._head_pos.y ); // console.log("set path head_pos:" + this._head_pos.x + ":" + this._head_pos.y); // console.log("set path tail_pos:" + this._tail_pos.x + ":" + this._tail_pos.y); // console.log("set path space:" + this._path_space_x + ":" + th...
来源: Laya_社区 发布时间: 20180515