Display Text as RPG. Letters appearing slowly?

RubiyoooRubiyooo Member Posts: 163
edited December 2011 in Working with GS (Mac)
Hello everybody.

I´m making a RPG Game. But when i want to display a text in a "comic bite" "sandwich". Appear sundenly all letters. This is not that i want to do. I would like to appear all letters slowly. As when you are writing a text.

image
For example in Final Fantasy. You need to press a button to continue reading.

My idea is to cut all letters and make a actor that spawn all letters in difference positions but it´s very hard and complicated.
image

Any idea?
Thanks you very much :D

Comments

  • 921creative921creative Member, PRO Posts: 140
    I think what you are trying to do would consume way too much system resources. It works well to constrain numbers to their associated .png images because you can only have 10 numbers (0 - 9). But for letter images that replace letters in a block of text, you're talking a ton of constraints and rules that change images. If it's important for your text to fade in, just create one .png image for each block of text, then interpolate the alpha from 0 to 1 slowly.
  • mynameisacemynameisace Hull, UKMember Posts: 2,484
    Hey Buddy,

    I think I understand what you mean and have made you a demo. Dependant on what your text boxes look like, you could do it this way:

    http://mynameisace.com/files/GSTextScroll.zip

    If your text box's background is more complicated looking, there is only one way to do it but it would be painstakingly fiddly and awful on resources.

    Ace
  • CodeCodeCodeCode Member Posts: 200
    LoL mynameisance XD that really is a good idea, so simple but usefull.
    I was thinking a much to complicated way that cost a lot of resourches, now i got the idea on how to improve your idea and make it a bit more better.
    THX
  • mynameisacemynameisace Hull, UKMember Posts: 2,484
    Yeah, if it want to be a letter at a time instead of scrolling, all you have to do is instead of interpolate just put every 0.2 seconds change attribute self.size.width to self.size.width - 20 (or whatever size the text is) and it will appear letter by letter.

    Ace
  • RubiyoooRubiyooo Member Posts: 163
    Thanks you very much ACE!!
    With your demo i understand now all!!
    It´s fucking stupid and awesome at the same time!!

    Thanks dear friends ;)
    Regards!! ^^
  • mynameisacemynameisace Hull, UKMember Posts: 2,484
    Yup, a bit of creative thinking outside the box and pretty much anything is do-able :)

    Ace
Sign In or Register to comment.