6
\$\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?

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

\$\endgroup\$
  • 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 Jan 19 '16 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 May 27 '16 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\$ – Riza Mirzaee Jul 31 at 11:59
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\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.