[Solved]...do some advanced typewriter effects

Get help using Construct 2

Post » Fri Feb 14, 2014 6:15 pm

@shinkan how are you inserting the audio below the other event? my audio fires off beside the set text to left.. so the loop never stops so i just end up with infinite ticking.
B
59
S
9
G
1
Posts: 939
Reputation: 6,545

Post » Fri Feb 14, 2014 6:18 pm

ok i think i see what i was doing wrong.. i'm not doing any kind of sourcetext.text comparison with destination text..
B
59
S
9
G
1
Posts: 939
Reputation: 6,545

Post » Fri Feb 14, 2014 6:24 pm

I get it now. that's awesome. so yea the thing i wasn't doing was the inverting (X) in the comparison. Very cool. I'm also doing more than 1 character at a time (10) and it still works nicely!

Thanks for your help with this!

Caleb
B
59
S
9
G
1
Posts: 939
Reputation: 6,545

Post » Thu Nov 19, 2015 10:47 am

@shinkan i use your example because is effective and simple but im wondering how get typewriter effect every time when i change text in source ?
B
109
S
26
G
46
Posts: 1,886
Reputation: 35,168

Post » Thu Nov 19, 2015 12:45 pm

@delgado In that particular example you need to just change the Source Text and re-trigger the event (button does that here)

Image

Bare in mind that this not need to be a text object - for source text, it can be a variable, dictionary/array value or any other string.
ImageImageImageImage
B
157
S
66
G
41
Posts: 2,599
Reputation: 34,825

Post » Thu Nov 19, 2015 2:37 pm

@shinkan why you use choose expresion? what if i change text in events?
B
109
S
26
G
46
Posts: 1,886
Reputation: 35,168

Post » Thu Nov 19, 2015 2:42 pm

@delgato

It's just an example. Every time when you click on the button it will type different text on screen based on what is inside choose().
You can set SourceText to whatever you want and whenever you want - anywhere in the events.

If you need more info, talk to me on facebook in normal language ;)
ImageImageImageImage
B
157
S
66
G
41
Posts: 2,599
Reputation: 34,825

Previous

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 66 guests