7
\$\begingroup\$

Creating resolution independent sprites is tough and memory consuming.

How can .svg assets be used in Unity for any kind of 2D game?

What are alternatives to .svg that can be used in Unity?

Can sprites with various shapes be generated within Unity?

We would like to create universal art assets that'll support all devices with different resolutions. (We'll handle the aspect ratio )

\$\endgroup\$
4
  • 1
    \$\begingroup\$ This is less of a specific question and more of a list of questions. It may get downvoted because it seems like your looking for discussion on workflow practices. The Unity Forums might be a better place to get an overview of working with textures in Unity. \$\endgroup\$
    – dval
    Commented Jan 19, 2016 at 14:46
  • \$\begingroup\$ A great plugin for using SVG graphics in Unity is SVGImporter – It's easy to use and has great support. it basically replaces sprites with scalable SVG graphics. \$\endgroup\$
    – Shane
    Commented May 27, 2016 at 19:08
  • \$\begingroup\$ I think SVG Importer is not being supported now. Instead, you can use Vector Graphics which is a preview package. You can get it in Package Manager. Here is more: youtube.com/watch?v=BAyd5wSPQrM \$\endgroup\$ Commented Jul 31, 2019 at 11:59
  • \$\begingroup\$ Unity has an SVG to Texture converter package docs.unity3d.com/Packages/[email protected]/manual/… \$\endgroup\$ Commented Jan 14, 2023 at 14:58

1 Answer 1

6
\$\begingroup\$

Well, normally you would just produce 1 graphic at the highest resolution you will be publishing to. Then you would use the Unity tools for setting mip-map levels. You would then modify settings like 'pixel perfect' or 'texture type' (compressed, truecolor, etc.) to get the best look for the compression you choose.

Creating resolution independent sprites is tough and memory consuming.

What do you mean?

You're either creating your graphics in a vector program like Inkscape or Illustrator, or you create them in a raster program like Gimp or Photoshop. The difficulty is only determined by your comfort level with your toolset.

How can .svg assets be used in unity for any kind of 2d game?

With a plugin: https://www.assetstore.unity3d.com/en/#!/content/38258

What are alternatives to .svg that can be used in unity?

You can use the Unity LineRenderer or standard GL drawing methods. This Post has some good examples.

Can sprites with various shapes be generated within unity?

They will be whatever shape you draw them.

Would like creating universal art asset that'll support all devices with different resolutions.(we'll handle the aspect ratio )

This isn't a sentence. But, Unity won't change aspect ratio, unless you scale on only one axis.

\$\endgroup\$
0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .