Jump to content

SVG in a TileSprite


greendot
 Share

Recommended Posts

Hi everyone,

I'm trying to add a TileSprite using a SVG file but it's not displaying properly - it only displays part of it repeatedly. It works fine if I use a non-SVG file, ie, JPG, PNG. Any ideas if I can use a SVG file for TileSprite?

Link to comment
Share on other sites

Thanks. I checked and the SVG file has width and height defined in its XML. I am trying to have my TileSprite to auto scale depending on the device size so I thought a SVG file would be the proper way to go. Any other recommendation?

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...