Hey all,
I’m currently in the process of making a puzzle game, grid based. I was wondering how I could best store level data?
So for level 1 I have a red tile at [2,3] and a blue one at [5,6], and the playing field is 8 * 8 empty tiles.
But level 2 would have 2 red tiles, one blue, and a star shaped playing field, for example.
I think I’ll keep playing field data separate from levelobject data (coloured tiles, traps, etc). My main question is, how best to save this? I know it’s possible in XML, but isn’t it equally possible in AS? What are the pros and cons of XML? If I make an XML in Flash, do I need to save it as a separate file? I’d like to keep it all in 1 swf, if possible.