From: Erik V. <eri...@xs...> - 2012-05-12 22:56:54
|
Is anyone able to convert .gif to .svg? See below for some requirements that include the required SVG size (copied from CombineTiles.pl as mentioned in my previous reply). Once that has been done, we can use the .svg equivalents in the displays. Internally we still need standard TileDesigner equivalents, for which we can use existing standard off-map city or town tiles (or perhaps we need new ones, with stop type "mine" or such). # Notes on creating new tiles: # 1. In TileDesigner, export SVG tiles with size=170 and filename template=tile<c0>. # Do this with ID checked into directory tiles/TDwithID, and again # with ID unchecked into directory tiles/TDwoID. # 2. If the saved tiles turn out to invisible, use program FixInvisibility.pl # to remove superfluous strings ' xmlns=""'. It is unknown why TileDesigner # sometimes includes this string in the path tags. # 3. If tiles are modified with Inkscape, before saving, set the following properties # via File|DocumentProperties: # - First press 'Fit page to selection'. This should change the size to # Width=393.00 and Height=341.00. # - To add the extra whitespace below the tile image that TileDesigner also adds # (for unknown reasons), change the Height to 357.50. # - Then save the tile. # 4. Use this program to combine tiles from the following directories into tiles/svg: # - From tiles/TDwithID: all tiles with an ID > 0 (not preprinted tiles). # These images have the id on the tile. # - From tiles/TDwoID: all tiles with an ID <= 0 (preprinted tiles). # These images do not have the ID on the tile (create these separately from TD). # - From tiles/handmade: all tiles in that dir will overwrite any of the above. # These are the tiles modified by hand or with Inkscape. > -----Original Message----- > From: John David Galt [mailto:jd...@di...] > Sent: Sunday, May 13, 2012 12:14 AM > To: Development list for Rails: an 18xx game > Subject: Re: [Rails-devel] A question or two about the Rails XML interface. > > Here are the three "mine tiles", in the two sizes of .gif that 18xx.net uses. > I've left off the names and the values for the "offboard run" in the hope that > Rails can generate those dynamically. > > If some other format would work better, I'll see if I can create it. Let me > know. |