Open styk-tv opened 6 years ago
Is there a way to use svg elements for tiles?
Tiled should support SVG, however it will rasterize it on load using the size stored within the SVG, and from then on it's just like any other image. So using SVG currently doesn't provide any benefit in terms of resolution-flexibility (at least not in Tiled) or doing anything relying on the structure of the SVG hierarchy.
And also having image tiles file and using svg engine itself to map to tiles with rotate would be a very cool Tiled Export feature.
I agree better support for SVG and SVG export would be really nice, but it'll be a huge project.
Is there a way to use svg elements for tiles? Or perhaps attach a larger tile-sheet of svg icons and then reference individual tiles when making tiles. All embedded with the json file. I'm doing a proof of concept for ReactNative app and want to use SVG instead of image tiles but still 100% hooked on Tiled
Any plans to support this in Editor?
https://www.sitepoint.com/use-svg-image-sprites/
And also having image tiles file and using svg engine itself to map to tiles with rotate would be a very cool Tiled Export feature. As demoed here:
demo: http://phrogz.net/svg/image-spritesheet-simple.svg credit: https://stackoverflow.com/questions/9414207/svg-spritesheets
This is crude but its as an idea demo...