How to control text speed?

  • Hi.

    I've been working on a project called 'Sanctuary' which is kind of a matroidvania. So far I'm happy with the over all state of the level, but some feedback points at the idea of having the text controlled by a button to skip to the next line or skip up quickly through dialogues. The text at the moment is timed and it can get a bit boring if you're not interested on the story.

    This is the link for the game so far, you'll notice what I mean with the long intro.Anyone is got any idea how to do it?.

    h t t p s ://dl.dropboxusercontent.com/u/53140373/Sanctuary%20-%20Final%20version/index.html

    I read someone mentioned on a forum about adding java scripting, but I'm not very good with any sort of coding... it would need to be very very basic.

    Thanks

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • A quick way to do that would be to replace the condition of the event that advance the text to a function trigger. Your timer would then simply call that function. After, you could add any kind of alternate event that would call the same function, something like "On space bar pressed" and the likes. It's important to reset your timer at the call of the function, so that your "auto next page" timer doesn't skip a newly displayed text.

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