clearing text window?

the19thbearthe19thbear Member Posts: 102
edited November -1 in Working with GS (Mac)
Hi! can i clean the text display?
if i display one text and, lets say, press a button that changes the text - then the new text is on top of the old one... is there a way to clean the "slate" or do i really have to create a new actor with new text instead?(and destroy the old one)
thanks!:)

Comments

  • ozboybrianozboybrian PRO Posts: 2,102
    Well, if you had a spawn text Actor then yeah just destroy and spawn....

    Create a text attribute ( I think )
    When Event Change text to "poo poo" and one of those ideas will work.

    -----------------------------------------------------
    Join the GameSalad Community and have your game noticed for free.
    http://www.facebook.com/ListYourTopiPhoneGame
    List your Top iPhone Game on FaceBook!
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    Use a attribute and all you need is one actor

    If attribute text=1 display text: a

    if attrubte text =2 display text : b

    and so on with each display text having the text u want in it
  • the19thbearthe19thbear Member Posts: 102
    Thanks:) and @ John. I know how to change text but it's clearing the text field I don't know about:) (see 1st post)
    Any ideas? There should be a way to do it...
    Thanks again!:)
Sign In or Register to comment.