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

大约有 622 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0048 秒)

331. [TMA][ERROR][RUNTIME] thirdScriptError undefined;at api readFile success callback function [ 63%]

...ime照着视频做运行不了,求解 调用动画结束on方法,报错this.zombieAnimator.on is not a function 请问官方API中有反余弦的方法吗? 问题状态 最新活动: 2020-01-09 18:28 浏览: 1298 关注: 3 人 L。 • 2020-06-11 18:28 请问一下这是官方回答吗?我...

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

332. sp.emitter.stop 在 app 下会报错 [ 63%]

...layaplayer下遇到了,于是我使用​下列代码便解了问题。//this.sp.emitter.stop(); this.sp.stop(); 2017-09-16 0 0 分享 微博 QZONE 微信 Monica - 知识达人 赞同来自: 目前1.7.11beta版本的引擎库和0.9.10版本的LayaNative下是没有问题的,可以更新看下 20...

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

333. 如何为list内部的button添加事件 [ 63%]

...xx)就是list.datasource[xxx]吧? weiyongwill • 2017-01-06 11:21 "this.sList.getItem(...).getChildByName is not a function" weiyongwill • 2017-01-06 14:39 经过测试在List.mouseHandler中点其他的元素都能通过e.target.name获取到名字,唯独textinput通过e.target.nam...

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

334. Maximum call stack size exceeded [ 63%]

...tor(){             super();               GameMain.instance = this;               Laya.MouseManager.multiTouchEnabled = false;               this.loadScene("main.scene");           }           onEnable() {             console.log('init');         }   ...

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

335. 有没有SoundChannel的示例? [ 63%]

...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

336. 对象池使用报错 [ 63%]

...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

337. TiledMap制作横板地图 报错 [ 63%]

...图,但是在试着导入游戏阶段报错。 以下是导入脚本。 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

338. playSound和playMusic结束时候有异常抛出 [ 63%]

...usic/Music_start.mp3",                      Laya.Handler.create(this, this.onLoadFinished));     }     onLoadFinished()     {         Laya.SoundManager.playMusic("res/music/Music_start.mp3", 1);     } } new GameMain();   -------------------------------------------------------...

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

339. 切换场景编辑器时 Laya3D init error must support webGl [ 63%]

...案是:在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

340. Laya.loader.create中的progress回调好像不准确? [ 63%]

....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