Hi,
I got through the tutorial, errors and all, but it's working. I have one question about the XML files. Is there any documentation that explains the XML schema and the layer numbers. The collision layer I can figure out easily enough, but the other layers are confusing. What do the numbers mean? I tried changing them in Map001, but nothing seemed to happen. Do these correspond to images in an array? If so, which array, or arrays? Any help would be great!
One more question: I've gone through every bit of code in the project, and I can find nothing that parses the XML files. It appears that it all happens behind the scens using the ContentReader and Content Manager, but I can find no information on how these work, specifically in relation to this project. I've read what I can find on MSDN, only understand about a third of it, but none of it explains how the code works through processing an external file. What I read mentions that you can use various content types, explains that the purpose is to separate the art assets from the programming, but nothing that explains how I can push in an XML file (or another file type) and have the code just understand what's going on.
The RPG code uses the ReadObject<T> method to read the different elements, but how does it know what the elements are ... unless the schema is set, in which case there has to be some documentation somewhere, and I'm missing something.
I would appreciate any help that anyone can provide.
Thanks!