大约有 383 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0033 秒)
Laya_社区(166) Laya3.0_api(70) Laya2.0_api(62) laya_api(59) Laya_示例(9) Laya2.0_文档(8) Laya2.0_示例(7) Laya3.0_文档(2)
...互交 startDrag 如何指定一个圆形的互动范围 startDrag(area?: Rectangle 2018-07-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 LT 赞同来自: 继承重写改引擎都行 2018-07-23 0 0 分享 微...
来源: Laya_社区 发布时间: 20180723
...edMap(); tiledMap.createMap("tiledMap/orthogonal-test-movelayer.json", new Rectangle(0, 0, Laya.stage.width, Laya.stage.height), Handler.create(this,onLoaded)); } private function onLoaded():void { var sp:Sprite=new Sprite(); sp.loadImage('bg.png'); Laya.stage.addChild(sp); }在地图加载完成的...
来源: Laya_社区 发布时间: 20170526
...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
... 3 个回复 ymsdandan 赞同来自: 通过getBound方法获取当前帧的Rectangle信息试试 2017-11-22 0 0 分享 微博 QZONE 微信 datouboy 赞同来自: 通过getBounds(),getGraphicBounds(),getSelfBounds()获取到的返回信息,都是0,还有其它方法吗? 2017-11-22 0 1 分享 ...
来源: Laya_社区 发布时间: 20171122
...自: 不要方法,只要在文本的那条命令graphics.cmd[][]里有个Rectangle(包含其x,y,width,height)就行 2017-12-13 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 ljy328803417 相关问题 发起问题须知,必看!...
来源: Laya_社区 发布时间: 20171213
...ayAction(action): void { this.body.play(0, true, action); var bounds: Laya.Rectangle = this.body.getBounds(); //设置机身轴心从左上角到中心 this.body.pivot(bounds.width / 2, bounds.height / 2); //设置机身居中 //this.body.pos(-bounds.width/2,-bounds.height/2); } 2018-02-06 添加...
来源: Laya_社区 发布时间: 20180206
...他显示对象,譬如: tiledMap.createMap("tiledMap/desert.json", new Rectangle(0, 0, Browser.width, Browser.height), new Handler(this, completeHandler)); } private function completeHandler(e:*=null):void { createImage(); } 2017-02-24 1 0 分享 微博 QZONE 微信 hamletborn 赞同来自: 谢...
来源: Laya_社区 发布时间: 20170224
...么方法。 AS3的富文本支持getCharBoundaries来获取当前字符的Rectangle,可以得到当前位置的坐标。 LAYA的都没有这些功能。 2017-04-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复...
来源: Laya_社区 发布时间: 20170417
....height; console.log("---> ", roleAni.getBounds() ); 打印为 ---> Rectangle {x: 0, y: 0, width: 0, height: 0}修改anchorY值无效 2017-08-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 cuixueying 赞...
来源: Laya_社区 发布时间: 20170824
...as,js,ts文件),但还是报错StarPoker.max.js:6903 Uncaught TypeError: Rectangle is not a constructor 2017-11-28 0 0 分享 微博 QZONE 微信 lidd_123 赞同来自: mac 升级 为 high sierra 后运行出错 这个在新版本里没有解决啊 2017-11-28 0 0 分享 微博 QZONE 微信 matrixQ...
来源: Laya_社区 发布时间: 20171113