Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brunomikoski/Text-Juicer
Simple tool to create awesome text animations
https://github.com/brunomikoski/Text-Juicer
Last synced: 2 days ago
JSON representation
Simple tool to create awesome text animations
- Host: GitHub
- URL: https://github.com/brunomikoski/Text-Juicer
- Owner: brunomikoski
- License: unlicense
- Archived: true
- Created: 2016-06-15T20:20:20.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-07-08T18:25:08.000Z (over 5 years ago)
- Last Synced: 2024-05-13T20:57:49.425Z (6 months ago)
- Language: C#
- Homepage: http://www.brunomikoski.com
- Size: 1.17 MB
- Stars: 122
- Watchers: 11
- Forks: 13
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# New version working with Text Mesh PRO:
https://github.com/badawe/TMP-Text-Juicer# Text Juice
Is a plugin to allow you do "per-character-animation" on text fields, like this one:
![](https://thumbs.gfycat.com/UntimelyDazzlingBrahmancow-size_restricted.gif)[EXAMPLES](https://gfycat.com/BlandScholarlyDragonfly)
###### Controlling the animation
This git is a ready to be used as sub-module, so just add to your project anywhere inside the Assets Folder, something like Assets/Text Juicer/If you don't know how to add as a sub-module you can check this [guide](https://blog.sourcetreeapp.com/2012/02/01/using-submodules-and-subrepositories/)
Or you can just download the [Unity Package](../master/Text%20Juicer%200.0.1.unitypackage.meta)
###### Controlling the animation
Basically you can access and change the progress of the animation by the animator itself, or using the helpers inside the TextAnimation, by simply caling, `Play()`, `Stop()` and `Restart()`###### Adding new effects
Is quite simple, you just need to extend the BaseVertexModifier, and you have access to change whatever you want, in the example bellow, is using a curve to simple multiply the Y from the position itself, generating this effect```csharp
using UnityEngine;namespace TextAnimation.Effects
{
public class YVertexModifier : BaseVertexModifier
{
[SerializeField]
private AnimationCurve curve = new AnimationCurve(new Keyframe(0,1));public override void Apply(CharController charController, ref UIVertex uiVertex)
{
uiVertex.position.y *= curve.Evaluate(charController.Progress);
}
}
}
```###### Multiple Effects
You can add multiple effects at same time, like the PerCharacter and the X Modifier
![](https://thumbs.gfycat.com/BestGrayCusimanse-size_restricted.gif)Current Effects:
- X
- Y
- Color Modifier
- Cylinder
- Scale Vertex Modifier
- GlitchYou can check effects accessing this link:
> Inspired in this post from [reddit]( https://www.reddit.com/r/Unity3D/comments/3tzwb9/percharacter_text_animations_with_unity_ui/), and the awesome [ui-extensions](https://bitbucket.org/ddreaper/unity-ui-extensions)