Text fields in Stencyl

spinnerbox

  • Posts: 166
Hello. I am new here and this is my first experience with Stencyl so I am learning how to use it.

Is there a way to add textfields to show intro story? How do I do that, how do I show a static text on screen? Do I go again with fonts and "when drawing" event on the scene?

How do I word wrap the intro message?

Or should I code textfields myself?

spinnerbox

  • Posts: 166
I thought I deleted this questions but anyways I found a solution. To display text, fonts are used to show scores, coins or whatewer you need. You must add attributes to a scene and dsiplay them on draw event.

Ah and by the way you must add "\n" to achieve word wrap functionality as attributes of type Text are plain strings.