XNA and multitouch

戏子无情 提交于 2019-12-10 20:00:09

问题


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?


回答1:


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.




回答2:


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



来源:https://stackoverflow.com/questions/4355841/xna-and-multitouch

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!