How do I time dialogue text fade out

0 favourites
  • 4 posts
From the Asset Store
Create complex dialogues with ease with this tool/template!
  • Dear all,

    I have been working on game dialogue (non-interactive, i.e. the player gets no choice in how to respond).

    The way I have been working so far is by creating a separate invisible object (Stgwhsp, as in stage whisperer) that caries the necessary variables (which dialogue to fire off, where to place the text object etc). This allows me to call dialogue between characters, as well as banter between player 1 and two, as they overlap with the "Stghsp" object.

    Here's the question though. I would like for the banter to fade out on its own. The player won't have time to manually further the dialogue, as the game doesn't stop for banter, only for "cinematic" dialogue sections.

    So, I'm familiar with the fade behaviour, but I would like for short text ("hey you!") to fade out faster than long text ("When I was a boy, my dad used to say: "Hold ma drink boay!").

    Idea:

    Have the words/characters in the text object counted and set text object's fade out to a lenght of time it would take to read each word/character.

    Any ideas how to do this / alternative approach?

    Thanks!

  • Use a Instance Variable on the TEXT Objects and then for each time the TEXT is updated make the variable update to the TEXT character width

    then in the next action set the fade length of the TEXT to the number of seconds you need to read a character multiplied by the Instance Variable length

    or maybe simpler by just taking out the instance Variable and directing setting the Fade length to the TEXT character length

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Quick response, simple, effective, sausage!

    You have earned the position of my favourite person for the next hour sir. Thank you!

  • No worries....

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)