how to make text appear on screen for a limited amount of time.

drxboxlive

  • Posts: 13
Hey, I'm trying to make a text appear for like 5 to 10 seconds after a scene starts can anyone tell me the proper blocks to use for this action.

xplosion28

  • Posts: 275
There are several ways to do this.  Probably the easiest would be:

Put these in the when created block for the scene
-set text attribute to "whatever you want" (you need to make a text attribute)
-after 5 seconds set text attribute to " " (nothing)

Then in the when drawing just draw the text attribute.

JeffreyDriver

  • Posts: 2262
You could also enable the labels extension and use that. You can then affect it the same way as you can an actor, such as fading in and out.


Innes

  • *
  • Posts: 1960
Another option is to use the [change...] block to change the opacity over the required period.
Visit www.TheStencylBook.com - the only published book for learning Stencyl.