Load different levels in XML
- by Anearion
my question is more about a theoretical gener than a pratical way to make things happen.
I'm about start developing a game for android, text based so i won't need sprites or animation, nor a game engine.
Let's say is similar to a sudoku game, where each level is an harder version of sudoku and each level has some question to be asnwered over the sudoku itself.
I was wondering if the better way is to have only one XML and then inside all the different levels, each one with his meta-tags, or if the different approach of making n xml files where each one is a level is preferred.
At the moment a level should have those tags:
<level>
<question>Question_1</question>
<hint1>what does it do?</hint1>
<hint2>where...</hint2>
....
<hintN>how...</hintN>
</level>
So each level could have some items to read and that's what made me think that maybe different files are better cuz if i have to load lvl 10 i can read only the 10.xml file.
I hope my question isn't too stupind.
Thanks in advance