Hi there,
I'm storing my levels in a xml file, in total there should not be a lot of levels, It's all plain text, so it shouldn't take up much space. I am little bit worried about the efficiency of this though.
At the moment I'm loading the xml file with levels for each specific type of mini-game, when that game mode starts, so far i've only had 3 levels, so it's fairly quick. The question is, should I be reading those xml files in start() or on a main camera in fsm, at the beginning and then processing the data or is the file loaded with proxy rather than the function itself (select single node) ? Because if the file is loaded with proxy then I don't need to do anything, but if it's loaded every time I want to access it then I would need to move everything in the start() or something.
What's the most efficient way of doing this?
Thanks