简体   繁体   中英

How often does XNA on WP7 read touches state?

How often does XNA on WP7 read touches state? Can I make XNA do it more often?

XNA's Update() method (one of the default five) is called 60 times a second, so the touch state can be updated in there thus meaning it is also updated 60 times a sec. Its your choice how you update the touch state. The win phone os will have internal updates but for your game you can check the states through the TouchPanel class.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM