简体   繁体   中英

Start button in XNA and windows phone 7

Writing a xna game for WP7, would like to know, during the game play if I press start button Ideally what should happen ? 1. identify start button event, code for current state save and reload on game come back ? 2. no code, WP7 will handle ?

If by "start" button, you mean the windows/home button, then you do not implement any functionality there. The back button is a different case and it's functionality has very specific requirements.

WP7 will handle it. Your game will freeze in it's current state. You will be able to return to that state with your back button.

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