From: Erik V. <eri...@xs...> - 2009-12-18 20:23:40
|
I have committed code and a set of new SVG tile images to fix a number of issues with tile production and display. (BTW part of the tiles didn't get through yet, that will be sorted out a.s.a.p.). The Map now looks better, and is fully zoomable (except for the preprinted company homes, but that will follow). Support for GIF tile images has been removed. They did look very ugly when I retried, and Brett and I found no reason to retain support for GIF. There is one more change that I found necessary, but that can cause problems when loading old save files. The orientation of tile #4 has been changed to make the 'dit' show up perpendicular to the track. This causes this tile be displayed in a wrong orientation when loading an old save file. Sorry for that, but there is no easy way to fix this. The main reason for producing new tile images was the fact that the tile ID and the revenue were displayed way too small. Th revenue is now just about readable without zooming in, and well readable after zooming in 1 or 2 steps. For the ID more zooming is needed. The preprinted tiles no longer show an ID. Included in the update are two Perl scripts that I wrote today to get an SVG problem fixed and to prepare the final set. The script CombineTiles.pl contains extensive instructions on how to produce tiles that will be correctly displayed by Rails. In any case I'm now able to quickly produce new tiles when needed. Erik. |