Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • 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 Sergasteam · Feb 26, 2013 at 10:22 AM · transparentmoviecutoutprogressword

Fill of each letter of the word, like progress bar.

Hello everyone,please help me make fill of each letter in word like DMC game when display A,B,SS letters and filling it? http://www.youtube.com/watch?v=fTSHvUHpnC8&t=2m55s from 2.56 to 3.06 sec.

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 Tarlius · Feb 26, 2013 at 11:07 AM

Edit:
Actually, EZGUI has a UIProgressBar control you could hack a little to get the effect much more easily! Give that a look if using EZGUI. NGUI probably has a similar control. idk why I didn't think of that first; I'm even doing something like that in my game >.>;; /Edit

As far as I am aware, there is no built in functionality for this. However, there might be an addon on the asset store.

If not, you will probably be able to fake the effect by using ui tookit like EZGUI or NGUI, and exporting loads of frames for each size of letter, setting it up an animation of some kind. For EZGUI you could use PackedSprite, then telling the sprite which frame to show. Note that this way will be very heavy on texture memory (probably around 20-30x the next method).

Doing it properly, however, will be pretty difficult/time consuming. You'll need build and resize a mesh in code (ui library might do this for you), then manage uvs based on a font file (probably BMFont) you'll have to parse to get the raw uv for the letter, then tween according to a percentage and letter you'll set via a script.

Another way might be to directly edit the textures, copying what you need onto a buffer that you display, which will require creating textures in code. Since you won't have to worry about resizing the mesh, this might be easier to implement. Not sure which would be faster though ^^;;

Comment
Add comment · Show 3 · 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 Sergasteam · Feb 26, 2013 at 11:39 AM 0
Share

can you show me simple example with unitypackage?

avatar image Tarlius · Feb 26, 2013 at 11:48 AM 0
Share

I don't really have time to write something that would do it all, and I can't send EZGUI files due to copyright reasons.

If you're really up for building the mesh/etc, this should get you started

If you want to do the texture route, this and this (or their 32bit equivalents)

avatar image Sergasteam · Feb 26, 2013 at 02:43 PM 0
Share

can you show me simple example with unitypackage?

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.

Follow this Question

Answers Answers and Comments

10 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Transparent Cutout Shader? 1 Answer

Cutout & reflective shader 0 Answers

Legacy transparent cutout diffuse material ontop of toon lit material does not work anymore on android? 0 Answers

Transparent shaders render as fullbright 0 Answers

Transparent cutout shader for circular timer from Photoshop PNG is too messy/sloppy 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges