So I'm creating a Windows Phone game in XNA (Just messing atm, seeing how I find it) and I've run into a problem.
First of all, it turns out you can user StreamReader to read text files (Insane).
Which lead me to using XML, of which I have 0 experience, so I'm kinda stumped.
I want to be able to go through and read the lines in the file, depending on the character it reads in each position, will depend on what is drawn on the screen (Just a simple tile map using 2D string array)
Here is my XML (In case you're interested)
Soo yeah, suggestions on reading it line-by-line?
Thank you (:
First of all, it turns out you can user StreamReader to read text files (Insane).
Which lead me to using XML, of which I have 0 experience, so I'm kinda stumped.
I want to be able to go through and read the lines in the file, depending on the character it reads in each position, will depend on what is drawn on the screen (Just a simple tile map using 2D string array)
Here is my XML (In case you're interested)
<?xml version="1.0" encoding="utf-8" ?> <XnaContent> <Asset Type="System.String"> <data> 000000 1----1 </data> </Asset> </XnaContent>
Soo yeah, suggestions on reading it line-by-line?
Thank you (: