• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by MRico · Jan 25, 2012 at 01:05 AM · guitexturespritescore

How to create a GUI like Zombieville?

What would be the best way to create a GUI with colorful fonts without having to buy a third party add-on? I've done lots of research but I'm still confused.

Can you do it with .ttf fonts? Using the SaveFontTexture script? - which is the method I've been trying and can't seem to get it to work. The page on SaveFontTexture doesn't say how to replace the Arial font with your new font.

A sprite sheet that has 0-9 on it?

Individual texture sheets with 0-9 on them?

Any help would be greatly appreciated here!

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by OutRage_Studios · Jan 25, 2012 at 02:31 AM

You could use a guiTexture instead of a font, this would allow you to create whatever you need in a photo editing suite and import it to unity as a texture. (when designing your texture remember to create it on a transparant background to avoid any unwanted blank areas)

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image MRico · Jan 25, 2012 at 11:42 PM 0
Share

How would I go about using the texture as a counter? For example to keep count of kills?

Would I create a sprite sheet or have them as individual textures for each number?

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

Sprites and minmizing memory usage 1 Answer

Adding a score progress bar 1 Answer

ObjectField Sprite picker: The texCoords size is always one, on Single Sprite textures 0 Answers

Gui Box - Texture - Spritesheet 0 Answers

Sprite editor and texture 1 Answer

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges