From: brett l. <wak...@gm...> - 2006-05-29 21:23:54
|
Ok... I've committed a working SVG tileset and changed ImageLoader to load from the SVG images instead of the GIFs. Right now the loading is done using a bit of a hack, but it works. I'll look at improving upon it a little later. Also, I committed another SVG test application that shows an example of loading the SVG to an off-screen buffer. In the future, I think this might be a good way of handling loading the SVG graphics asynchronously, which ought to reduce some of the load times when starting up a game. ---Brett. On 5/25/06, brett lentz <wak...@gm...> wrote: > Over the last couple days I've been scouring the web to find some way > of converting the tiles generated by TileDesigner into the SVG format. > > As we discussed many months ago, TileDesigner's abilty to export to > SVG is broken and unusable. > > So... I've been able to export the tiles in PostScript (ps) format, > and use a utility called pstoedit to convert them to SVG. > > Unfortunately, pstoedit adds a few things to the image that requires > further adjustments. > > Doubly unfortunate is that I haven't found a way to automate these > adjustments. Which means that I'll have to manually tweak each and > every one of the 460-some tiles. > > However, once this is done, I can start looking at modifying the code > to use the Batik library to display the SVG tiles instead of those > ugly GIFs. > > ---Brett. > |