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

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

1. 图片居中的问题 [ 100%]

...的问题 这里用的精灵加载图片,那么当图片被放大时(scale),怎么让图片显示的是中心位置呢? 2016-11-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 cuixueying 赞同来自: ...

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

2. getGraphicBounds() 的问题 二 [ 70%]

...显示对象本身的坐标系的,改变显示对象自身的xy rotation scale都不会有影响,要获取相对于父对象的结果得自己转换,或者用getBounds _boundPointsToParent ymsdandan • 2017-11-09 16:45 好的,我大概明白你的意思了,建议你发个完整的demo供...

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

3. Animation 使用疑问 [ 69%]

...t / 2);         if (direction < 0) {             this.aniBody.scaleX = -1;         } else {             this.aniBody.scaleX = 1;         }     } 每改变一个方向CurMern都爆涨50M这样(我的资源body,weapon,skillEff,wing也差不多50M),我在任务...

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

4. 引擎 TiledMap 居然不支持图块翻转 [ 54%]

...         screenPos.x = (screenPos.x + this._map.viewPortX) * this._map.scale;                 screenPos.y = (screenPos.y + this._map.viewPortY) * this._map.scale;             }         }         getTileDataByScreenPos (screenX, screenY) {             var tData = 0;  ...

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

5. laya.map.TileAniSprite_API3.0 [ 47%]

...isplayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea is3D mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY rotation scaleX scaleY scene scrollRect skewX skewY stage staticCache texture timer transform url vie...

来源: Laya3.0_api 发布时间: 20231115

6. laya.ui.OpenDataContextView_API3.0 [ 43%]

...ayWidth displayedInStage drawCallOptimize filters fps globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scrollRect skewX skewY stage staticCache texture timer t...

来源: Laya3.0_api 发布时间: 20231115