XNA 和多点触控

发布于 2024-10-06 09:18:18 字数 102 浏览 0 评论 0原文

我使用XNA开发小型2D游戏。用户应该能够通过使用 Windows 7 中的多点触摸手势与游戏进行交互。我希望 XNA 中具有与 WPF 提供的相同的多点触摸功能。是否有任何框架或内置功能?

I use XNA to develop small 2D games. The user should have the ability to interact with the game by using the mutli touch gestures in Windows 7. I want the same multi touch functionality in XNA as WPF provides. Are there any frameworks or built-in features?

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

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

发布评论

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

评论(2

迷离° 2024-10-13 09:18:18

您可能已经知道,XNA touch API 无法在 Windows 上运行,只能在 Windows Phone 上运行。

这篇博文解释了原因,并列出了一些使触摸输入正常工作的方法。

As you probably already know, the XNA touch API does not work on Windows, only on Windows Phone.

This blog post explains why and also lists some methods for getting touch input working.

信仰 2024-10-13 09:18:18

尝试阅读此有关 WP7 基于触摸的纹理的代码示例,它对您想要的东西很有用。

http://create.msdn.com/en-US/education/catalog /样本/手势

Try reading this code sample about touch-based textures for WP7, it can be useful for what you want.

http://create.msdn.com/en-US/education/catalog/sample/gestures

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