大约有 633 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0055 秒)
...SoundChannel的示例? SoundManager.playSound(_url, _loop, new Handler(this, _fn)); var channel:SoundChannel = new SoundChannel(); SoundManager.addChannel(channel); _btn.on(Event.CLICK, this, soundClick); function soundClick(evt:Event){ alert("channel.isStoped:"+channel.isStoped); if (channel.isSt...
来源: Laya_社区 发布时间: 20170116
...vate Board = new GiftBoard(); let board = Laya.Pool.getItemByClass("board",this.Board); 报下面这个错 cls is not a constructor 2017-12-11 1 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Monica - 知识达人 ...
来源: Laya_社区 发布时间: 20171211
...图,但是在试着导入游戏阶段报错。 以下是导入脚本。 this.map=new Laya.TiledMap(); this.map.createMap("res/map/map.json",new Laya.Rectangle(0,0,Laya.Browser.width,Laya.Browser.height), Laya.Handler.create(this,this.onLoaded));报错的地方为:laya.tiledmap.js第178行: var...
来源: Laya_社区 发布时间: 20161224
...usic/Music_start.mp3", Laya.Handler.create(this, this.onLoadFinished)); } onLoadFinished() { Laya.SoundManager.playMusic("res/music/Music_start.mp3", 1); } } new GameMain(); -------------------------------------------------------...
来源: Laya_社区 发布时间: 20170105
...案是:在LayaAirIDE根目录\resources\app\out找到main.js,打开在this.app.once("ready")这一行上面加一行:this.app.commandLine.appendSwitch("ignore-gpu-blacklist");保存,重启IDE再试试(我是有效的 ) 2019-04-13 1 0 分享 微博 QZONE 微信 sata121 赞同来自: 我也...
来源: Laya_社区 发布时间: 20181126
...HX0217401012320 Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page. I/om.layabox.tes: Reinit property: dalvik.vm.checkjni= false D/ZrHung.AppEyeUiProbe: AppEyeUIP created. D/ActivityThread: Attach th...
来源: Laya_社区 发布时间: 20190723
....create("scenes/LayaScene_yueren/yueren.ls", Laya.Handler.create(this, function () { //complete func console.log("Scene loaded"); isLoaded = true; }), Laya.Handler.create(this, function (pro) { if (debug) console.log("Loading progresss : " + pro); }, null, false), Laya....
来源: Laya_社区 发布时间: 20180321
...Ratio, Browser.clientHeight * Browser.pixelRatio, WebGL); }else{ Laya.init(this.SCENE_WIDTH, this.SCENE_HEIGHT, WebGL); } 苹果X适配 2018-05-22 1 1 分享 微博 QZONE 微信 w1114367261 赞同来自: 目前还没有针对x的手机做针对性适配,目前适配方式需要与ide中的父物...
来源: Laya_社区 发布时间: 20180521
...用getImageData了 //TextRender.isWan1Wan = true; this.charRender = new CharRender_Canvas(2048, 2048, TextRender.scaleFontWithCtx, !TextRender.isWan1Wan, false); TextRender.textRenderInst = this; ILaya.Laya['textRender'] = this; 必须修改bugIOS ...
来源: Laya_社区 发布时间: 20240802
...句话 界面布局就会乱 请问是什么问题呢 let { x, y } = this._modelPnl.localToGlobal(new Laya.Point(0, 0)) let { x: x2, y: y2 } = this._modelPnl.localToGlobal(new Laya.Point(this._modelPnl.width, this._modelPnl.height)) let w = x2 - x le...
来源: Laya_社区 发布时间: 20200401