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 mkjrfan · Dec 21, 2013 at 12:03 AM · androidbackgroundtranslateeffect

How do you make falling text?

Hi I wanted to make this falling text effect that is seen in the matrix for the background in my game but I'm really stumped on how to actually do this.

What I've tried is to make a particle system that makes the text (which isn't really working right now), and I wanted to know is there a better way that won't effect performance ( since I'm making for android).

Any ideas on how to do this?

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

4 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by Kiloblargh · Dec 21, 2013 at 12:17 AM

Thin vertically stretched quads, all sharing the same material (a 1024x1024 grid of letters), each with a random (divisible by the letter width) mainTextureOffset.x and an animated (`-= speed* Time.deltaTime)` mainTextureOffset.y.

Use a vertex colored additive shader and adjust the vertex colors to make them fade in and out.

Comment
Add comment · Show 6 · 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 mkjrfan · Dec 21, 2013 at 12:56 AM 0
Share

Sorry I don't understand the animated(-= speed * Time.deltaTime) is that one of the parameters for the mainTextureOffset?

Also where do you find the vertex colored additive shader?

avatar image Kiloblargh · Dec 21, 2013 at 01:03 AM 0
Share

I mean you should have a speed variable, and multiply it by Time.deltaTime to compensate for framerate, and subtract the result from the mainTextureOffset.y to advance the texture downward. In the Update() function of a script that is either on the text strip or (better) loops through all the text strips in the scene.

I made my own vertex colored additive shader, but I also found one in the first page of Google search results by looking for "vertex color additive shader unity"

avatar image mkjrfan · Dec 21, 2013 at 01:06 AM 0
Share

Ok Thanks I'll try to implement it

avatar image mkjrfan · Dec 21, 2013 at 01:18 AM 0
Share

Okay so when I tried implementing it the offset did nothing. Now I'm guessing that the mainTextureOffset is like changing the offset on the material right? If that is true when I tried changing those settings just see what affect they would have they didn't do anything. So I don't know if I not sure how to really do this.

avatar image Kiloblargh · Dec 21, 2013 at 01:23 AM 0
Share

I've never had problems with texture offset property. If you edit it manually in the inspector, do you see the texture moving in the scene view? Also it's offset in percentage, not pixels- an offset of .25 will be a quarter of the way, etc. So an offset of 1.0 and an offset of 2.0 will look exactly the same because it has done a full loop. If you are giving it ints, you may see no effect.

Show more comments
avatar image
0

Answer by danRULZ33 · Dec 21, 2013 at 01:31 AM

maybe go GameObject menu, Create other, 3D text, make your text, add a rigid body component and select use gravity. It works for me.

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 mkjrfan · Dec 21, 2013 at 01:40 AM 0
Share

I was kind trying to get a more cascade affect. like rain but text

avatar image
0

Answer by haim96 · Dec 21, 2013 at 08:18 AM

I think you should stick with particle system. Just make a sprite sheet of changing later adjust the size of the emitter color and speed variation and you done. It also your best option to keep good performance.

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 mkjrfan · Dec 21, 2013 at 02:23 PM 0
Share

The only thing is I don't understand how I would make the letters appear. I made a material out of the sprite but it doesn't show up only as green squares which is the color of the text

avatar image haim96 · Dec 21, 2013 at 02:59 PM 0
Share

watch this video: http://unity3d.com/learn/tutorials/modules/beginner/live-training-archive/cinematic-explosions

there is a part which he explain how to create particle with sprite sheet. in his case it's explosion sprite sheet. yours should be set of letters.

avatar image haim96 · Dec 23, 2013 at 12:10 PM 0
Share

well? any luck?

avatar image
0

Answer by mustakbaba · Oct 12, 2017 at 01:42 PM

an alternative for text;

https://www.youtube.com/watch?v=buJplI6lHEo

you can create a photo in photoshop and add it to plane. The project link is in description of video. Dont forget this is just alternative way.

Edit: in the material menu you change the material kind to particle diffuse so it looks like real letters without background colour.

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 Yuvii · Oct 12, 2017 at 01:53 PM 0
Share

only 4 years late :)

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

22 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 avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

PrintScreen with alpha in background 0 Answers

Android app may work in BG with Plugin? 1 Answer

Android Auto scale backgorund for any resolution 2 Answers

Android, Song tries to play then stops when the Screen is off 0 Answers

How can i translate mesh vertex point used touch on Android 0 Answers


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