What is the simplest way to read and write game configurations like: whether to show fps or play sound, etc.
Maybe there are some class in xna that can be used to do that?
I don’t really want to use default C# XML thingy for an XNA game.
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.
Since you’ve mentioned that you might want to port to the xbox, i’d recommend using a library called EasyStorage. It’s what a lot of people use when doing simple reading/writing.
It deals with allowing the player to choose their storage device (if more than one exist) and with things like the player removing the storage device before trying to save etc. It’ll give you a Stream to save/load from, so most of your actual saving/loading code will be the same.