Hi all
I am storing data for my game in a XML file at the moment... I do have a feeling though like it's going in a wrong direction, mainly because the XML file will look like a massive mess when it has more than +100 lines.
http://pastebin.com/6tK105gQ - heres my xml file
It's an educational app... Something like Duolingo.
So the structure is fairly simple.. The app will have 3 difficulties, within those each 3 difficulties there will be 12 categories, and then in each category there will be from 2 to 5 lessons and within lessons there will be about 7-15 challenges.
Categories will have an id, to know which one it is, and then image to display and whether its unlocked or locked (for iap, is that a good idea??).
When user clicks on a category, it will bring them to lesson menu, and then clicking on a lesson it will make player go through a various set of challenges, something like mini-games.
I am open to suggestions, mainly looking at XML, CSV, JSON. I will update the app reguraly with new content, so it's important to change and add data swiftly. Is XML good enough for that, and is there anything I can do to not make it look too messy, maybe split those in different files or something?? Also this asset package caught my eye:
https://www.assetstore.unity3d.com/en/#!/content/18480 - would this be any good to what I want to do?
At the moment I'm using XML, and it works, it's just that the scaling sort of terrifies me, let's say that I place the file online, and then I can edit it, and each time the app opens it downloads the new version of the file.. but what if some content writer makes a mistake in the xml file or something.. It just seems very uncontrollable..
Also, does my XML file look correct, or did I mess it up completely?