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

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

41. loadLib("libs/laya.device.js"); native上会随机宕 [ 63%]

...detroyChildren===void 0)&& (detroyChildren=true);         _super.prototype.destroy.call(this,detroyChildren);         // native会崩溃         // this.videoElement.removeEventListener("abort",Video.onAbort);         // this.videoElement.removeEventListener("...

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

42. bug:laya.Scene.destroy [ 63%]

... (destroyChild===void 0)&& (destroyChild=true); this._idMap=null; _super.prototype.destroy.call(this,destroyChild); var list=laya.display.Scene.unDestroyedScenes; for (var i=0,n=list.length;i < n;i++){ if (list[i]===this){ list.splice(i,1); return; } } }这里改动了同一个数组,...

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

43. 微信小游戏渲染开放域卡顿处理 [ 63%]

...前修改有效,兼容ui         constructor() {             super();             this.once(Laya.Event.DISPLAY, this, this.onCreate);             this.once(Laya.Event.UNDISPLAY, this, this.onDestroy);         }         /**          * 加入场景          */...

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

44. 导出到轻游戏平台不成功 [ 63%]

...[TypeError: undefined is not an object(evaluating 'BKCanvasRenderContext.__super.call')];line = 61647,column= 42, 2018-12-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 183*****470 赞同来自: 是不是要将...

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

45. 如何调用父类get、set方法? [ 63%]

...的链接 提交 4 个回复 ymsdandan 赞同来自: 你试下LoginView.__super.call(this)   ,   注意,是2个下划线 2017-11-08 0 3 分享 微博 QZONE 微信 caochangli 赞同来自: 官方没人回复下吗? 2017-11-08 0 0 分享 微博 QZONE 微信 ymsdandan 赞同来自: 你把这个...

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

46. TestArea为什么没有读取txt里的文本内容? [ 63%]

...同来自: 实验了下,将TextPageUI.surper(this);修改成TextPageUI.__super.call(this);就可以了。 2018-12-25 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 鱿鱼小丝 相关问题 文本如何自动换行 关于文本遮挡 ...

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

47. 【简单跑酷--JS版】---Lv.4 添加玩家 [ 62%]

...次数 如果想三连跳 改成 3 即可 this.jumpCountMax = 2; Player.__super.call(this); this.init(); } //玩家动作 //跑 Player.RUN = "player_run"; //飞 Player.FLY = "player_fly"; //暂时没有用到的动作 Player.HERT = "player_hert"; //跳 Player.JUMP = "player_jump"; //状态 Player.DI...

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

48. 我想动态改自定义shader里的值,应该怎么写?? [ 62%]

...erial.js:34 (anonymous) function CustomMaterial() {     CustomMaterial.__super.call(this);     this.setShaderName("CustomShader"); }   Laya.class(CustomMaterial, "CustomMaterial", Laya.BaseMaterial);   CustomMaterial.DIFFUSETEXTURE = 1; CustomMaterial.NORMALTEXTURE = 2; CustomMaterial.ALPHATES...

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

49. 官方提供的关系链代码执行报错,是不是wx的sharedCanvas不是Laya的canvas导致的问题 [ 62%]

...esource.Texture extends laya.events.EventDispatcher var Texture=(function(_super){ function Texture(bitmap,uv){ /**图片或者canvas 。*/ //this.bitmap=null; /**UV信息。*/ //this.uv=null; /**沿 X 轴偏移量。*/ this.offsetX=0; /**沿 Y 轴偏移量。*/ this.offsetY=0; /**原始宽度(包...

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

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

...*停止播放     */     __proto.stop=function(){         _super.prototype.stop.call(this);         /**     *停止播放。     */     __proto.stop=function(){         if (this.completeHandler)this.completeHandler.run();     } 猜测bug原因如下:...

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