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

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

81. 扇形遮罩画不全画了一个很奇怪的形状但是矩形的就没问题。显示效果如下:版本号1.7.10 [ 43%]

...getSize().height;                                  switch (this.type)                 {                     case PROGRESS_TIMER_TYPE_RADIAL:                                                  var r:Number = Math.sqr...

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

82. 3d项目安卓包。部分手机报加载3d资源报错 [ 43%]

...33,0x682496 08-20 16:53:51.030 962-1015/? E/MMKernelKeyLogObserver: ingore switch state: -309 2018-08-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_XS 赞同来自: 能提供一个在运行环境报错的...

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

83. laya1.0 的3D项目,GPU型号为Adreno 405的加载3D资源时会报错 [ 43%]

...33,0x682496 08-20 16:53:51.030 962-1015/? E/MMKernelKeyLogObserver: ingore switch state: -309 2018-12-13 添加评论 悬赏 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠? 0 个回复被折叠 要回复问题请先...

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

84. 分享:图集资源做位图文本的工具类(知道fontclip组件的可以略过了,之前一直没注意到这个组件) [ 42%]

...rtCharsByAlign(align: string): void { let alignConfig = XUtils.TEXT_ALIGN; switch (align) { case alignConfig.CENTER: this.sortOnCenter(); break; case alignConfig.RIGHT: this.sortOnRight(); break; case alignConfig.LEFT: default: this.sortOnLeft(); break; } } /** * 排列字符(适合从左到右)...

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

85. 向官方反映1.75引擎库后 事件执行 发生的bug [ 41%]

...e')this._prePoint.x=this._prePoint.y=-1000000;                 switch (evt.type){                     case 'mousedown':                         this._touchIDs[0]=this._id++;                         if (!MouseManager._isTouchRespond){  ...

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

86. 分享个用美术资源做位图文本的方法。。。 [ 39%]

....addChild(charSp); return charSp; } // 设置位置 private setCharsPos(){ switch (this._posType){ case BPFont.LEFT: this.setCharsPosOnLeft(); break; case BPFont.RIGHT: this.setCharsPosOnRight(); break; case BPFont.CENTER: this.setCharsPosOnCenter(); break; } } // 左对齐 private setCharsPosOnLeft...

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

87. 【简单跑酷--JS版】---Lv.6 终篇 [ 39%]

...ht = 21; var texture1 = Laya.loader.getRes("res/hp_bg.png"); var texture2; switch (type) { case Hp.HP_TYPE_ENERGY: texture2 = Laya.loader.getRes("res/en_bar.png"); break; case Hp.HP_TYPE_SPEED: texture2 = Laya.loader.getRes("res/hp_bar.png"); break; } this.bg = new Sprite(); this.bar = new Sprite();...

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

88. 批量销毁释放内存(JavaScript-3D基础(JS)-LayaAir3D的内存管理) [ 39%]

... ```typescript function(e:Event) { this._castType++; this._castType %= 2; switch (this._castType) { case 0: (e.target as Button).label = "释放显存"; this.loadScene(); break; case 1: (e.target as Button).label = "加载场景"; if (this._scene)//_scene不为空表示场景已加载完成 this.gar...

来源: Laya2.0_文档 发布时间: 20210715

89. 批量销毁释放内存(ActionScript-3D基础(AS3)-LayaAir3D的内存管理) [ 38%]

...on)) ```typescript function(e:Event):void { _castType++; _castType %= 2; switch (_castType) { case 0: (e.target as Button).label = "释放显存"; loadScene(); break; case 1: (e.target as Button).label = "加载场景"; if (_scene)//_scene不为空表示场景已加载完成 garbageCollection(); b...

来源: Laya2.0_文档 发布时间: 20210715

90. 微信小游戏利用开放域好友关系链做排行榜 [ 38%]

...   */     private static dispatch(message:any):void{         switch(message.cmd){             case 1:                 var testUI: ui.test.TestPageUI = new ui.test.TestPageUI();                 testUI.x = 100;                 t...

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