是否有 iOS 库可以帮助我检测更高级别的加速计手势?

发布于 2024-10-07 07:39:15 字数 118 浏览 0 评论 0原文

例如,假设我想检测用户是否做出了圆形手势,以便我可以在游戏中触发某些内容。是否有一个库可以让我只监听某种“circleDetected”事件?

如果没有,如果我开发了这样的东西,有人会发现它的价值吗?谢谢!

For example, let's say I want to detect if the user made a circle gesture so I can trigger something in my game. Is there a library that would allow me to just listen for some sort of "circleDectected" event?

If there isn't, would anyone find value in something like this if I developed it? Thanks!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

落墨 2024-10-14 07:39:15

它不存在(据我所知)。您必须手动执行此操作,这应该不会太难,但可能会很耗时。我认为如果有人建立一个图书馆来做这件事那就太棒了。

It doesn't exist (as far as I know). You would have to do it manually, which shouldn't be too hard, but it could potentially be time consuming. I think it'll be fantastic if somebody made a library to do it.

银河中√捞星星 2024-10-14 07:39:15

虚幻引擎似乎支持它——《无尽之剑》使用大量手势来施法。

Unreal Engine seems to have support for it - Infinity Blade uses a lot of gestures for casting spells.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文