开发适用于 Windows 的多点触控游戏

发布于 2024-10-06 06:35:31 字数 390 浏览 0 评论 0原文

我想为Windows开发一个2D多点触控游戏。我在这里(XNA 和多点触控)询问如何在 XNA 中使用多点触控。我得到的答案是不可能直接实现的。我可以使用 XNA 的包装器,但这有点困难。因此 XNA 没有内置功能。

另一种选择是 WPF。 WPF 提供了多点触控 API。非常容易使用。还有物理框架等等。

我现在的问题是在 XNA 和 WPF 之间进行选择。 WPF 很简单很酷,但对于游戏开发来说却很困难。使用 XNA 可以轻松开发 Windows 游戏。问题是 XNA 没有多点触控框架。

正如我上面所说,我想开发一款多点触控游戏。还有其他的可能性或建议吗?

I would like to develop a 2D multi-touch game for windows. I've asked here(XNA and multitouch) how to use multi-touch in XNA. I get the answer that is not directly possible. There are wrappers for XNA which I could use, but this is a bit difficult. So there are no built-in features for XNA.

The other option is WPF. WPF provides a multi-touch API. Very easy to use. There are also frameworks for physics and so forth.

My Problem is now to choose between XNA and WPF. WPF is easy an cool, but for game development difficult. With XNA is it easy to develop games for Windows. Problem is that there are not multi-touch frameworks for XNA.

As I above said, I would like to develop a multi-touch game. Are there any other possibilities or suggestions?

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

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

发布评论

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

评论(1

风和你 2024-10-13 06:35:31

这有什么用吗?

http://www.codeproject.com/KB/WPF/XnaInWPF.aspx

据我所知,XNA 可以集成到 WPF 中,所以我假设(我还没有尝试过)您需要做的就是创建某种从多点触控输入到 XNA 输入的界面类。

我相信,这个链接基本上就是您想要做的:

http://xna-uk.net/blogs/randomchaos/archive/2010/02/10/xna-and-windows-7-multi-touch.aspx

Could this be of any use?

http://www.codeproject.com/KB/WPF/XnaInWPF.aspx

XNA can be integrated into WPF as far as I'm aware, so I would assume (I haven't tried it) that all you would need to do is to create some sort of interface from the multi-touch input to the XNA input classes.

Also this link is basically what you're trying to do, I believe:

http://xna-uk.net/blogs/randomchaos/archive/2010/02/10/xna-and-windows-7-multi-touch.aspx

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