Search Unity

  1. Unity 2018.3 is now released.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. We've updated our Terms of Service. Please read our blog post from Unity CTO and Co-Founder Joachim Ante here
    Dismiss Notice
  4. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  5. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

Resolution for UI sprites?

Discussion in 'Unity UI & TextMesh Pro' started by evolutegames, Jan 12, 2019.

  1. evolutegames

    evolutegames

    Joined:
    Mar 3, 2018
    Posts:
    1
    When creating a new image in Photoshop/Illustrator, specifically for HUD/UI what resolution is best for higher quality. So for an ability thats going to always be on bottom of screen until player uses it. I was thinking just 64p x 64p. But i was wondering if that would look jagged and low quality. What do you guys recommend/use?
     
  2. Hosnkobf

    Hosnkobf

    Joined:
    Aug 23, 2016
    Posts:
    570
    You should not think about the size of actual sprites. You should think about the actual resolution a player can have.
    Choose a resolution and use it as reference. I always went for Full HD. But nowadays you probably want to optimize for 4k (if not for mobile).

    So, create an image in Photoshop with your reference resolution, maybe put a screenshot of your game inside or of a game which is similar to yours.
    Then create UI elements directly in that big file. Now you have a better understanding how big the elements should be. and you can simply extract them from the big image.

    Note: if you use Sprite Sheets you do not even have to have the sprites in power of 2.