I keep reading tutorials of how to use it in Silverlight Apps, but I need it in XNA. All tutorials refer to the package Microsoft.Xna.Framework.GamerServices, but there is no such class…
What am I getting wrong?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You’re probably not going to want to show the message box class via XNA unless you truly are displaying some type of system type message.
If you’re just planning on communicating something via your game to your player, then you’ll want to roll your own so you can theme it appropriately to match your game.
Otherwise, the above answer about using GamerServices is correct, that’s how you display a MessageBox via XNA but again, you should really restrict your usage of that class for purely system type messages (e.g. “You must be signed in to purchase this game.”)