brettstack

Hey team,

I'm working on a game and want to render some text. For example, I want to show "3", "2", "1", "BEGIN". Each one of these will fade and shrink over a 1s period.

Does Spine have a way to render text? Or would I just do that natively in WebGL?

How about if I wanted the "text" to actually be images (e.g. 3D text that I have designed)? Is there a Spine way to render individual static images (and scale/fade them) or is that again something I would just do natively in WebGL?

Thanks in advance!
Avatar
brettstack
  • Postovi: 10

Nate

Spine only renders raster images. You attach images to bones, then animate the bones. You can't render text directly, but you can make images that have the text. At runtime you could change out the images if you needed different text.

If you really wanted, you could animate just bones, then at runtime use the bones position, rotation, scale, and/or shear to render text in the right place yourself. This is probably more effort than you need to go to.
Avatar
Nate

Nate
  • Postovi: 11503


Natrag na Runtimes