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

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

241. laya 鼠标互交 startDrag 如何指定一个圆形的互动范围 [ 60%]

...互交 startDrag 如何指定一个圆形的互动范围 startDrag(area?: Rectangle 2018-07-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 LT 赞同来自: 继承重写改引擎都行 2018-07-23 0 0 分享 微...

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

242. laya.ani.swf.MovieClip_API3.0 [ 60%]

...于本对象绘图区域内时,才算命中,而与对象宽高和值为Rectangle对象的hitArea属性无关。如果sprite.hitArea值是HitArea对象,表示显式声明了此对象的鼠标事件响应区域,而忽略对象的宽高、mouseThrough属性。 影响对象鼠标事件响应区...

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

243. Animation 使用疑问 [ 60%]

...       this.aniBody.play(0, loopPlay, key);         var bound: Laya.Rectangle = this.aniBody.getBounds();         this.aniBody.pivot(bound.width / 2, bound.height / 2);         if (direction < 0) {             this.aniBody.scaleX = -1;         } else {             t...

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

244. laya.display.Animation_API3.0 [ 60%]

...于本对象绘图区域内时,才算命中,而与对象宽高和值为Rectangle对象的hitArea属性无关。如果sprite.hitArea值是HitArea对象,表示显式声明了此对象的鼠标事件响应区域,而忽略对象的宽高、mouseThrough属性。 影响对象鼠标事件响应区...

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

245. TiledMap 45度地图块渲染顺序问题 [ 60%]

...来自: 可以了   this.tiledMap.createMap("res/tiled/green.json", new Rectangle(0, 0, 1120, 860), new Handler(this, this.completeHandler),null,new Point(1120,860)); 最后那个参数new Point(1120,860),其实是地图的分块渲染的大小,默认是450,450,所以把我的地图分成3次...

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

246. 分享:如何为spine(龙骨)动画添加CLICK事件! [ 59%]

....buildArmature(1); mArmature.x = 100; mArmature.y = 200; var rect=new Laya.Rectangle(-200,-200,300,300); mArmature.hitArea=rect; Laya.stage.addChild(mArmature); mArmature.on(Event.CLICK, this, onChangeSkin); mArmature.showSkinByName("goblin"); mArmature.play(0, false); mArmature.stop(); } function o...

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

247. startDrag 的 Bug? [ 59%]

...Drag 的 Bug? aaa.on(Event.DRAG_MOVE, this, onDragMove); aaa.startDrag(new Rectangle(0, 0, 100, 100), true, 0, 200);   private function onDragMove(e:Event = null):void { // 正常移动时, bbb 会和 aaa 坐标一至, 释放鼠标后也正常, 但 // BUG 出现在鼠标释放后 当aaa 进入到...

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

248. laya.display.Scene_API3.0 [ 59%]

...于本对象绘图区域内时,才算命中,而与对象宽高和值为Rectangle对象的hitArea属性无关。如果sprite.hitArea值是HitArea对象,表示显式声明了此对象的鼠标事件响应区域,而忽略对象的宽高、mouseThrough属性。 影响对象鼠标事件响应区...

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

249. laya.display.AnimationBase_API3.0 [ 59%]

...于本对象绘图区域内时,才算命中,而与对象宽高和值为Rectangle对象的hitArea属性无关。如果sprite.hitArea值是HitArea对象,表示显式声明了此对象的鼠标事件响应区域,而忽略对象的宽高、mouseThrough属性。 影响对象鼠标事件响应区...

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

250. laya.device.media.Video_API3.0 [ 59%]

...于本对象绘图区域内时,才算命中,而与对象宽高和值为Rectangle对象的hitArea属性无关。如果sprite.hitArea值是HitArea对象,表示显式声明了此对象的鼠标事件响应区域,而忽略对象的宽高、mouseThrough属性。 影响对象鼠标事件响应区...

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