Like a lot of people these days, recently I've been venturing into the area of constructing a level editor within my latest project so that externally-stored level files can be created and read by the game (my eventual aim is to allow online storage and retrieval of extra levels). The editor itself hasn't been much of a problem - it's based on a three-dimensional array, with layers for backdrops, pickups and other objects.
The part I'm thinking about at the moment is getting the level tiles (the ones that make up the background) to be stored externally as well, rather than within the game as objects - in this way, new levels could also contain new graphics rather than be confined to a list that I make. My plan at the moment is to use several different Picture objects (ten or so, for all sides and corners of platforms) that load their images from "./" + DirName$ + "./imagename.png", where DirName$ can be specified as part of the saved level - each tileset would be stored in its own folder.
The question is - is this a sensible way to do it, or are there any other suggestions?