Typing text effect

Not favoritedFavorited Favorited 1 favourites
  • 7 posts
From the Asset Store
Change delay, create new lines, "backspace" the text
  • I want to make the text print until it reaches a fullstop. Then it pauses for a second and then continues where it left off. I managed to make it register only the first fullstop, pauses and then ignore all other points. how to make it register all the fullstops in the text. I tried all kinds of things, even some illogical ones. Trigger once while true, every tick, make a function and call it somewhere else and I didn't succeed. Also, is it possible to make it pause when, for example, the cursor reaches the end of the line? I also wanted that when the entire text is printed, there would be a pause sufficient for reading - I tried to put some special character at the end of the text so that it would register the end and pause, but it didn't work.

  • The last event on your screenshot (every tick) is not needed, delete it.

  • Now it doesn't start typing at all.

  • Maybe the typeInterval is not set correctly, move it to "On Created" event.

    If it doesn't help, run the project in debug mode (Shift+F4) and check Message object - how many instances are there, what values are in instance variables etc.

  • Type interval already has default value. It doesn't really need to be defined second time. Here is capx of the source with additional lines. It writes text but it doesn't stop on the fullstop.

    easyupload.io/a8i9gz

  • Ah, you are adding ▐ symbol to the end of the string. So you need to change the condition:

    System: right(Message.Text,2) = ".▐"

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ah, you are adding ▐ symbol to the end of the string. So you need to change the condition:

    System: right(Message.Text,2) = ".▐"

    Great, It works now in test capx but not when I put it in the project. Now I have to find out why. Thanks for the help.

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