Typewritter text effect scrolls at different speeds

0 favourites
  • 3 posts
From the Asset Store
All popular touch mechanics - scrolling, zooming, swiping
  • I've been using the typewritter effect, for in-game dialogue. The timing is set to "Every tick", but some lines appear on the screen noticeably slower than the other lines. Is this something to do with delta time?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Sort of. Fewer frames per second means fewer characters are shown per second. DT is simply the time it took to complete the previous tick. To keep the effect at a constant speed (or as close to constant as possible), you'll need to modify the effect to take dt into account.

    Take a look at this: [attachment=0:2im1s38x][/attachment:2im1s38x]

  • Sort of. Fewer frames per second means fewer characters are shown per second. DT is simply the time it took to complete the previous tick. To keep the effect at a constant speed (or as close to constant as possible), you'll need to modify the effect to take dt into account.

    Take a look at this: [attachment=0:2nd0gu5f][/attachment:2nd0gu5f]

    Thanks for the example file. It looks like I'll have to rework my dialogue system in order to get it like this. Ah well, on to work I guess!

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