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

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

801. laya.ui.ComboBox [ 73%]

...d Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX轴锚点,值为0-1Component anchorY : NumberY轴锚点,值为0-1Component autoSize : Boolean = false 指定是否自动...

来源: laya_api 发布时间: 20170929

802. 关于这个timer我的跑的快在 自己出完牌之后没有人比我的牌大了。可是我的牌还是出不去 [ 73%]

...er; this.turnNumber; if (this.lastPaixing != "") { if ( this.turnNumber == 1) { NTS = 8; NTE = 5; } if ( this.turnNumber == 2) { NTS = 12; NTE = 9; } if (this.turnNumber== 3) { NTS = 16; NTE = 13; } this.SortToOut(this.turnNumber); console.log(this.nextTurn); if (this.isAbleToOut) { this.computerOut...

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

803. 限制模型旋转角度 [ 73%]

...是y轴角度变化到一定角度时,就限制不住了,很不解 2018-05-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 5 个回复 Laya_Aaron 赞同来自: 你这个问题也是让我很不解。。你说的这个...

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

804. 1.0 骨骼drawcall优化猥琐方法 [ 73%]

1.0 骨骼drawcall优化猥琐方法 适合那些这辈子都不可能把项目迁移到2.0的童鞋   先说下1.0里骨骼渲染大致流程: 大概是从BoneSlot开始,draw方法中大体上会把部件分为两种, 一种是简单贴图,没有作蒙皮的,这个最终blablabla是通...

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

805. 关于Tween.from()方法的位置问题 [ 73%]

...戏的发牌效果,目前被缓动的对象位于box内,页面总共有10个box。使用loop执行Tween.from()方法,设置了固定的x和y坐标,发现所有的缓动对象都是相对于boxx和y坐标进行缓动的。   我想请问一下如何能实现从屏幕的固定位置缓动...

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

806. 精灵 · LayaAir3.0文档 · LAYABOX [ 73%]

精灵(Sprite)一、概述二、IDE中使用2.1 创建精灵2.2 基础属性2.3 Sprite的特有属性2.4 其它属性2.5 脚本控制属性三、代码中使用3.1 创建Sprite3.2 显示图片3.3 基础属性3.4 其它属性精灵(Sprite) 一、概述 游戏中Sprite精灵是在屏幕中能...

来源: Laya3.0_文档 发布时间: 20240528

807. UI-ProgressBar [ 73%]

...Handler(this, onChange); Laya.stage.addChild(progressBar); Laya.timer.loop(100, this, changeValue); } function changeValue() { if (progressBar.value >= 1) progressBar.value = 0; progressBar.value += 0.05; } function onChange(value) { console.log("进度:" + Math.floor(value * 100) + "%"); } })();m...

来源: Laya_示例 发布时间: 20241001

808. laya.display.AnimationPlayerBase [ 73%]

...d Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内容...

来源: laya_api 发布时间: 20170929

809. Laya.Tween 的属性列表的key 不能是变量? [ 73%]

...  var keyV = 'x';   Laya.Tween.to(guideArrow, { keyV: guideArrow[keyV] + 100 }, 1000, Laya.Ease.linearIn, Laya.Handler.create(this, handMove));  这样写是不行,请问一下想要实现这样的方法, 应该怎么写呢 ? 2018-08-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 ...

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

810. laya.ui.TextArea [ 73%]

... "right": 居右对齐显示。 Label alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值...

来源: Laya2.0_api 发布时间: 20190513