Announcement

Collapse
No announcement yet.

Printing text onto screen letter by letter

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Printing text onto screen letter by letter

    I created a Behavior that updates the text value of a TextComponent letter by letter. I am experiencing 2 issue however
    1. old text remaining on screen even after clearing the text value
    2. the letters are overlapping each other
    A little advice on what I'm doing wrong would be great.

    Also I tried using the TextBlock and had better results, the letters didn't overlap but it would not clear the text already displayed.

  • #2
    Hi gameandsky

    I've implemented a simple behavior that do the same thing and we have no problems:
    http://pastebin.com/JGqz9GsM

    Can you give us a little example project if the problem persist?

    Best regards,
    David Ávila

    Comment


    • #3
      Hi,

      i could be totally wrong but you could try to set the ClearFlags property of the 2d camera to clear All.

      Regards

      Comment


      • #4
        Hi DavidAvila

        Using your code I still have the problem, however setting the ClearFlags to All like wendigo78 suggested works.

        My only issue now is the background scene is not visible when ClearFlags is All or Target.
        Attached Files

        Comment


        • #5
          Hi gameandsky,

          You must set up the camera ClearFlags to All, but whit the BackgroundColor property setted to #000000 with Opacity 0.
          I hope that with these parameters you can obtain the desired behavior.

          Greetings.
          Daniel Cáceres.

          Comment


          • #6
            Well that was painfully simple... Thanks team, your awesome.

            Comment

            Working...
            X