大约有 188 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0045 秒)
2d游戏视野检测问题 使用sprite的hitTestPoint检测不到某点在范围内,不知道是不是坐标没转换的问题?demo见附件 附件 : --> Study_Ani2D.rar 2018-10-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链...
来源: Laya_社区 发布时间: 20181012
...都是英文的,看不太懂,Laya官方demo也没找到碰撞检测 hitTestPoint()是点碰撞,子弹的范围也太小了(感觉不太合适) 爆炸后我还准备判断鱼与渔网相交的都要算作已打中(相交的这个计算也没啥思路) 有做过这类游戏的...
来源: Laya_社区 发布时间: 20170914
...图形之间的碰撞,这个暂时不支持!目前支持的碰撞只有hitTestPoint() 2017-08-07 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 zhoujianhua0591 相关问题 sprite旋转以后,但是原来碰撞检测rect没有旋...
来源: Laya_社区 发布时间: 20170807
...下没有提供类似像素级的精确碰撞,你可以尝试用点碰撞hitTestPoint来替代使用! 2016-12-16 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 cdl2003 相关问题 sprite旋转以后,但是原来碰撞检测rect没...
来源: Laya_社区 发布时间: 20161216
...alY=摇杆Y轴移动方向*速度 + skeleton对象的y轴坐标 Laya.stage.hitTestPoint(realX, realY)判断skeleton对象是否在边界内 以上的考虑 均是在 skeleton的x和y属性在 左顶点的前提下,所以出现下图中这种问题,请大神帮忙看看,谢谢谢 2018-...
来源: Laya_社区 发布时间: 20180725
... } 2018-10-20 0 2 分享 微博 QZONE 微信 Charles 赞同来自: egret的hitTestPoint都有第三个参数,是否检测透明区域,laya什么时候加上?不要甩锅让人家改需求啊。 2019-06-13 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题...
来源: Laya_社区 发布时间: 20180731
... get_transform get_visible get_width globalToLocal hasHideFlag hasListener hitTestPoint isAncestorOf loadImage localToGlobal off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once parentRepaint pivot pos reCache removeChild removeChildAt removeChildByName removeChild...
来源: Laya3.0_api 发布时间: 20231102
... get_transform get_visible get_width globalToLocal hasHideFlag hasListener hitTestPoint isAncestorOf loadImage localToGlobal off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once parentRepaint pivot pos reCache removeChild removeChildAt removeChildByName removeChild...
来源: Laya3.0_api 发布时间: 20231102
... get_transform get_visible get_width globalToLocal hasHideFlag hasListener hitTestPoint isAncestorOf loadImage localToGlobal off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once parentRepaint pivot pos reCache removeChild removeChildAt removeChildByName removeChild...
来源: Laya3.0_api 发布时间: 20231115
...transform get_visible get_width globalToLocal hasHideFlag hasListener hide hitTestPoint isAncestorOf loadImage localToGlobal off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once parentRepaint pivot pos reCache removeChild removeChildAt removeChildByName removeChild...
来源: Laya3.0_api 发布时间: 20231115