Seanba / Tiled2Unity

Export Tiled Map Editor (TMX) files into Unity
Other
495 stars 120 forks source link

Preview scale? #177

Open lazerwalker opened 5 years ago

lazerwalker commented 5 years ago

I'm having some issues getting my map to work properly in Unity (collider issues, may open a ticket separately if I'm confident it's not my fault :P). That said, I'm having a lot of trouble debugging things, because the preview image Tiled2Unity generates is giant and only has 1/4 of my map (see attached screenshot).

The console gives me the following message:

Warning: map cannot be previewed at '1' scale. Try a smaller scale.
Image will be constructed on a 4k canvas. Parts of your map may be cropped.

This suggests this is expected behavior, but I can't figure out how to change the scale. There doesn't appear to be anything in the GUI, and I've also tried setting e.g. -s 0.001 as a CLI argument.

Is there something obvious I'm missing here? Thanks!

screen shot 2018-08-07 at 13 27 02