How do I substract the first index of a string

Get help using Construct 2

Post » Sun Apr 05, 2015 9:30 am

Hi! :),

So I'm trying to make a speech bubble scrolling a text, but the text size (number of characters) is too big for the textbox.width and so I was thinking about having it substract the string's first character every x second.

It'll look like its scrolling to the left while actually the string is getting smaller at the front.

I've been trying with loops, arrays etc. has someone done something like this before?


Thank you very much for reading!
B
8
Posts: 10
Reputation: 338

Post » Sun Apr 05, 2015 10:04 am

Image
B
61
S
23
G
7
Posts: 1,468
Reputation: 10,700

Post » Sun Apr 05, 2015 11:49 pm

Yes! Thank you very much! That worked out pretty well.

I have an example of the function in my twitch game/overlay. If you feeling like testing it just take a look :).
You can write with in the chat with the command "!grumpy <your text>" and it will be sidplayed on the stream.

I'll make sure to credit you there :)

Have a nice holiday!
B
8
Posts: 10
Reputation: 338


Return to How do I....?

Who is online

Users browsing this forum: dzert14, JaisonAntoniazzi, Pulstar and 1 guest