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

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

211. 销毁有声音的spine动画,skeleton中的_onAniSoundStoped有时会报undefined错误 [ 66%]

...     var _channel;         for (var len=this._soundChannelArr.length,i=0;i < len;i++){             _channel=this._soundChannelArr;             if (_channel.isStopped || force){                 !_channel.isStopped && _channel.stop();  ...

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

212. 代码2.0.2版本Laya.Animator发现play方法的存在BUG [ 66%]

...ted function _onEnable():void { for (var i = 0, n = this._controllerLayers.length; i < n; i++) { if (this._controllerLayers[i].playOnWake) { var controllerLayer = this._controllerLayers[i]; var curPlayState = controllerLayer._currentPlayState; if (curPlayState == null) { var defaultClip = this.ge...

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

213. UI 组件中list自动滚动到list底部或者顶部 [ 65%]

....prototype.ScrollToBottom=function(caller,callback){ var page=this.msgList.length - 8; if(page < 0)page=0; page +=1; if(caller) this.list.tweenTo(page,0,Handler.create(caller,callback)); else this.list.tweenTo(page,0); } 2019-02-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找...

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

214. 发布微信后无法触发mouse_up事件 [ 65%]

...hes: Array<any> = e.touches; if (touches) { for(let i=0;i<touches.length;i++){ let t =touches[i]; let nameIndex =e.touchId + "_" + i; console.log(nameIndex+":"+e.type); } } } 之能收到down和move! 2018-11-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...

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

215. Laya.Animator没有动画播放完事件 [ 65%]

...n; playState._normalizedPlayTime=1.0; if (scripts){ for (var i=0,n=scripts.length;i < n;i++) scripts[i].onStateExit(); } return; } 2019-01-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 4 个回复 bpmf_d 赞同来自: ...

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

216. 类似古文显示方式脚本,文字垂直显示,可以控制显示速度出现打字效果等 [ 65%]

...w-this.fontSize-this.horizontalSpace, 0); for (let i = 0; i < this.text.length; i++) { const element = this.text.charAt(i); var _x = xAction(j); var _y = yAction(printNumber); this.sprite.graphics.fillText(element, _x, _y, fonts, this.color, "left"); if (yAction(printNumber + 1) > h) { j++; pr...

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

217. LayaAir能做RPG吗?不要问我能不能,因为我已经在做 - 杀意来袭 [ 65%]

...ler: Laya.Handler = null, ...args): void {             if (this.mUrl.length == 0) {                 console.warn("netconnection url is null");                 return;             }             //生成请求和事件监听并放入对象池             var req...

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

218. 动画加载不出 [ 65%]

...叔年心~厌世 • 2019-10-10 16:45 for(var i=0;i<this.moneyArr[rr].length;i++){ let sp=new Laya.Animation(); //添加金币 sp.loadAnimation('anis/money.ani'); sp.play(0,true); loadder.addChild(sp); loadder.name = 'money'; sp.pos(this.moneyArr[rr][i],-15); } 叔年心~厌世 • 2019-10-10...

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

219. native打包成app使用FileReader接口readAsArrayBuffer 时app崩溃 [ 65%]

...     doMsg:function(){                     if(this.msgs.length == 0 || !this.workDone){                         return;                     }                                      var data = this.msgs.shift();        ...

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

220. 关于laya图片资源缓存的问题 增量更新文件缓存 [ 65%]

...plit('static/') let _fileSrc = "" _content = JSON.parse(_content) if (_src.length > 1) { _fileSrc = _src[1] _fileSrc = _fileSrc.replace('.atlas','.png') if (staticVersion && staticVersion[_fileSrc]) { let _val = staticVersion[_fileSrc].split('?') if (_val.length > 1) { _hash = `?${_val...

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