Search code examples
androidanimationlibgdxandroid-animation

animate text writing to give the appearance that someone is writing by hand at runtime


I looking for a way to animate text writing by hand. Lets say I want to write string TEXT. The animation would first write upper, horizontal part of T, than the lower, vertical part, afterwards it would proceede to vertical line in E, and than it would write the 3 horizontal lines and so on. How does one create such animation in libgdx? Actually how does on create such animation in general?


Solution

  • If you only need the animation for one or two things you could create the animation using an image software. First create the separate images onto a sprite sheet and then use the libgdx animation class (wiki) to run the animation.

    This is the probably simplest way if you have a small and few animations.

    Hope I helped :)