大约有 596 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0070 秒)
...this.__mouseMove); this.bmp.on(Laya.Event.MOUSE_UP, this, this.__mouseUp); console.log(this.pos0.x); } __mouseMove(e:Event){ this.pos1.x=this.bmp.mouseX this.pos1.y=this.bmp.mouseY; if(Utils3D.getThis.getDistance(this.pos0,this.pos1)>10){ this.bmp.graphics.drawLine(this.pos0.x,this.pos0.y,this.po...
来源: Laya_社区 发布时间: 20170831
...同来自: 参考方法如下: F12打开调试面板,在下方的Console会有报错信息 (如果找不到报错面板,请点击调试面板的右上角红色X或者>_) 以下三种方式可显示报错信息面板Console 点击红色报错信息末尾灰色字体,会自动调...
来源: Laya_社区 发布时间: 20151210
... Scene.__proto.renderSubmit (http://127.0.0.1:55942/game/code.js:81631:42) console.error errorReport @ WAGame.js:3 thirdErrorReport @ WAGame.js:3 (anonymous) @ WAGame.js:3 (anonymous) @ WAGame.js:8 (anonymous) @ WAGame.js:4 a @ gamePage.html:1 window.onerror requestAnimationFrame (async) wxRequestAn...
来源: Laya_社区 发布时间: 20180307
...ddChild(gameScene); }, null), Laya.Handler.create(this, (progress) => { console.log("当前进度:", progress) },null,false), Laya.Scene );07-11 16:53:45.923 30921-30972/? E/jswrapper: [ERROR] Failed to invoke _runtime_require, location: /home/game/jenkins/workspace/SafeBuild/XGame/instant-game-c...
来源: Laya_社区 发布时间: 20190711
...片了 直接附上 上图红框内的修改 if (Browser.onMiniGame){ console.log(1); tSound=Laya.loader.getRes(url); } if (!soundClass)soundClass=SoundManager._soundClass; if (!tSound){ console.log(2); tSound=new soundClass(); tSound.load(url); if (Browser.onMiniGame){ Loader.cacheRes(url,...
来源: Laya_社区 发布时间: 20190108
...his.txt = this.getTextFeild(); this.txt.y = 50; this.txt.text = 'aasassa'; console.log(this.addChild);//undefined console.log(this._super);//undefined this.addChild(this.txt); } Laya.class(UIDropBox, "UIDropBox", Sprite); UIDropBox.prototype = { getTextFeild: function () { var text = new Text(); tex...
来源: Laya_社区 发布时间: 20161226
..._", _super); var _proto = Load_.prototype; _proto.run_Fast = function () { console.log("逻辑处理"); } return Load_; })(Laya.Sprite);我的代码,但是下面的继承位置Laya.Sprite这里不写会报错,我想请教下,我这个类仅有算法,应该怎么样写。 2018-07-05 添加评...
来源: Laya_社区 发布时间: 20180705
...); var stageWidth = Laya.stage.width; var stageHeight = Laya.stage.height; console.log(stageWidth*0.05+":"+stageHeight); var path = [ ["moveTo",stageWidth*0.05,0], ["actTo",stageWidth*0.8,0,stageWidth*0.8,stageHeight*0.05,10], ["actTo",stageWidth*0.8,stageHeight*0.6,stageWidth*0.75,stageHeight*0.6,1...
来源: Laya_社区 发布时间: 20170806
... this.onInit(); this.onShow(); Laya.timer.frameLoop(1, this, ()=>{ // console.info(this); this.onUpdate(); }); } /******************************************************************************** * Node ********************************************************************************/ _proto = ...
来源: Laya_社区 发布时间: 20190222
...e; this._btnPlaySound.visible = false; console.log(this.soundMan.resume); if (this.playBoo) { this.soundMan.play(); this.playBoo = false; }else { this.sound...
来源: Laya_社区 发布时间: 20190919