Can text be displayed a letter at a time?

Fodder76Fodder76 Member Posts: 154
edited November -1 in Working with GS (Mac)
I think I know the answer to this already, but I thought I'd ask.

Is there anyway to have text display very quickly a letter at a time? Rather than just slapping it all up on the screen, it would be nice if it appeared very quickly. I'm sure you all know what I mean.

Anyway to do it, or fake it? Thanks.

Comments

  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    yes
    just have your display text rule display an attribute instead

    then on the actor ad a rule that increments a number by 1 every .5 seconds

    then have a bunch of rules:

    if self.Count = 1
    display text "this"

    if self.Count = 2
    display.text "this is"

    if self.Count = 3
    display.text "this is a"

    if self.Count = 4
    display.text "this is a test"

    somethinglike that anyways
  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    Something like this but only one letter at a time instead of one line?



    If you don't want to use the default fonts. you will have to do an animation like this and it will mean a whole lot of images being added to your game.

    Edit:
    And you can set each letter to appear as fast as 30 frames per second (or 30 letters per second)
  • Fodder76Fodder76 Member Posts: 154
    Thanks guys, these give me some ideas. I'll give them a try to see how cumbersome it is. I've got a fair amount of text in my game so I'm not sure if its worth all of the effort to do it this way. But its good to know that its possible. Thanks a lot!

    Chris
  • StormyStudioStormyStudio United KingdomMember Posts: 3,989
    maybe animate a block of colour revealing your text...again would need some testing and depend on where your text is being displayed...

    Be great if we could animate masks on our imagines from within GameSalad.
  • PhoticsPhotics Member Posts: 4,172
    Fodder76 said:
    Thanks guys, these give me some ideas. I'll give them a try to see how cumbersome it is. I've got a fair amount of text in my game so I'm not sure if its worth all of the effort to do it this way. But its good to know that its possible. Thanks a lot!

    Create them as individual actors
    Create a game counter
    Each actor changes from alpha zero, to a visible color, based on a rule.

    If game counter is 1
    change alpha color to 1

    Next actor has the same thing except...
    If game counter is 2
Sign In or Register to comment.