<< Back to Map Development Forum   Search

Posts 1 - 6 of 6   
SVG looks different when uploaded: 9/14/2014 05:38:24


Bane 
Level 60
Report
thanks for reading

So I've designed my map (my first one), and when I upload the SVG some objects change in weird ways. let me explain.

All of the territories are perfect diamonds (or you could call them squares tilted on its corners). I left the colors as a default (black stroke, blue fill) with a stroke width of 1. These turn into white vertical lines. I have a duplicate of a territory (without the required id) used in a key (aesthetic reasons only) and it is gone. I have multiple rectangles (aesthetic reasons only) all around the same dimensions, most are vertical, some horizontal, and 2 are tilted slightly. Their fill has an opacity of 0%. most of the vertical ones seem fine, but some of the horizontal ones have their stroke thinned, and both tilted ones are distorted (one is just a giant square, the other is a straight vertical line). all objects have rounded stroke points.

I don't have any objects up for bonuses yet, if that means anything.

*edit one more thing. the size of the document is 900x900, if that also means anything.

*edit2 i realized that all of the objects that have problems (territories, those rectangles) were all made with a shape tool.

I don't think there is just one problem going on, so if you can help me, I'd greatly appreciate it!

thanks!

Edited 9/14/2014 14:24:13
SVG looks different when uploaded: 9/14/2014 05:40:10


Bane 
Level 60
Report
I noticed I can just provide a link so you can see it, lol.

http://warlight.net/SinglePlayer?PreviewMap=36327

thanks again.
SVG looks different when uploaded: 9/14/2014 05:42:03

Fizzer 
Level 58

Warzone Creator
Report
but some of the horizontal ones have their stroke thinned

There's a bug in Flash that makes small strokes smaller than they should be. It's explained here: http://wiki.warlight.net/index.php/SVG_Limitations
SVG looks different when uploaded: 9/14/2014 05:46:41


Bane 
Level 60
Report
but its not lower than .5, its 6.436 and the vertical ones have a width of 6.657

*edit i made the horizontal rectangles' stroke width the exact same as all the others (6.657) and their still thinned like this. :(

Edited 9/14/2014 13:23:47
SVG looks different when uploaded: 9/14/2014 14:16:03


Bane 
Level 60
Report
ok so im poking at my map to see what might be causing the problems. i changed the fill color of the territories to red, and their stroke color to white. now the dead territory i use in my key shows up as a white line like all the others (i think the others turn their strokes to white because warlight auto changes it). So now I think that their shape is reduced to nothing, regardless if the game will identify the shape as a territory or not.


Im going to keep poking at the map, so if anyone has an idea, id love to hear it, lol.
SVG looks different when uploaded: 9/14/2014 15:32:09


Bane 
Level 60
Report
alright, well i guess not using the shape tool will solve the problems. if any one knows why this is, id like to know.
Posts 1 - 6 of 6