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

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

31. 关于缓动函数from的一些问题记录 [ 52%]

...onsole.log("update"); var c = Math.floor(Math.random()*4); console.log(c); switch(c) { case 0:text.color='red';break; case 1:text.color="blue";break; case 2:text.color ='black';break; case 3:text.color = 'green';break; case 4:text.color = "yellow";break; } console.log(text.color); } ```注意Props...

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

32. canvas下资源清理的问题 [ 51%]

...rivate function onClick(e:Event):void         {             switch(e.currentTarget)             {                 case btn1:                     show();                     break;                 case btn2:         ...

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

33. [LayaAirIDE3]时间轴动画调了材质引用类型的属性,调用play()接口切状态的时候调用_revertDefaultKeyframeNodes报材质属性空 [ 50%]

...      if (property instanceof Material) {                     switch (node.type) {                         case KeyFrameValueType.Float:                             property = property.getFloat(node.getPropertyByIndex(i));                          ...

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

34. 分享,扩展Laya.Text组件实现简单的富文本 [ 47%]

...awUnderline(align, x, y, lineIndex) { var lineWidth = this.underLineWidth; switch (align) { case 'center': x -= lineWidth / 2; break; case 'right': x -= lineWidth; break; case 'left': default: break; } y += this._charSize.height; this._graphics.drawLine(x, y, x + lineWidth, y, this.underColor || thi...

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

35. 动画不显示 [ 47%]

...                var name1:String ;                 switch(dir1){                     case 0:name1 = "stand4";break;                     case 1:name1 = "stand5";break;                     case 2:name1 = "stand6";break;        ...

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

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

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

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

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

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

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

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

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

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

40. 艰难的历程 [ 41%]

....   慢慢的,开始尝试自己写代码 从最开始的if else   到switch  从table  到div 从只能在一个页面上写写改改,到使用框架尝试制作一个网站   期间遇到过无数问题,其中苦难只有自己知道 从变量到数组、循环、还有花了很长时间才...

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