TileSets, now in XML
cubed2D
November 17th, 2007.
over the passed two days ive cleaned up my tile engine to allow for it to be serialized in to Xml. now, TileSets are read in from xml sheets created in a new simple TileSet builder tool Ive made. Im now working on a map builder, which will beable to save out maps in Xml.
1. open up the TileSet Builder tool, small splash screen.
2. next, you select tile image file that holds the tiles
3. now we can input some basic info about the TileSet, such as the amount of tiles on the sheet, the size of any spacing between the tiles and the height and width of each tile. A preview of the tile set is shown as well, you can click on it to see it full size and unstreached. Later im going to try and a grid over the preview image so you can check if the inputs are correct.
4. next we define the base tile information
5. and then we can tweak it more in more detail! this is mainly for setting up anumated tile sets, you can remove a tile from the set(you only want the base animation frame to be part of the set), change the FPS and ID numer of a tile aswell as add and remove frames from the animation list.
6. finaly were all done, and can save out the TileSet
At the moment the tool is a bit sloppy, you can probably tell its far from idea, but its great for buiding up XML files for quick testing!