Typewriter text effect?

Get help using Construct 2

Post » Fri May 15, 2015 4:15 am

I'm still missing something @ashley. I put the (4) text choices in a family and added the family to your expression. I hoped it would choose a random family member like it does when you use family in create. Unfortunately, nope - it just kept using the first text in the family.

I guess I don't understand your suggestion,
put the expression in a "pick random" event


The endgame is a random answer generator that uses the typewriter effect
I've included the C2 file if my description isn't clear.http://www.danielwheeler.net/SB/random_text.zip

Thanks!
Image
B
11
S
2
G
1
Posts: 40
Reputation: 746

Post » Sat May 16, 2015 5:08 pm

*bump*
Image
B
11
S
2
G
1
Posts: 40
Reputation: 746

Post » Sat May 16, 2015 6:12 pm

Image
B
55
S
23
G
7
Posts: 1,409
Reputation: 10,422

Post » Mon May 18, 2015 3:46 pm

You RULE @korbaach! Thanks for the help. It's perfect!
Image
B
11
S
2
G
1
Posts: 40
Reputation: 746

Post » Mon May 18, 2015 4:28 pm

I’m glad I was able to help @danalog
Image
B
55
S
23
G
7
Posts: 1,409
Reputation: 10,422

Post » Sun Jan 31, 2016 5:52 pm

Ashley wrote:Here's a one-event version!

Love it - thanks!
B
27
S
8
G
2
Posts: 9
Reputation: 3,282

Post » Tue Mar 22, 2016 2:06 am

Why doesn´t this work? http://prnt.sc/aibosr
When I click the object it only makes 1 letter visible instead of making 1 visible every 0.05s.
-There are only two mistakes one can make in an adventure; not going all the way, and not starting.
B
19
S
4
G
4
Posts: 123
Reputation: 3,041

Post » Tue Mar 22, 2016 2:27 am

That's because triggers (anything with a green arrow) generally only run ONCE, meaning the subevent only gets triggered once and then stops.
A solution is to have variable, whether instance or global is up to you. On whatever event you want to trigger the text, just only set the variable to 1/true.

Copy the event as in from Ashley's example capx, except add a condition to check if variable = 1.
Zelda Gamekit (my project)

Example capxs I have made:
Zelda-Style Inventory
Zelda Hearts System

The unwritten "How do I" capx etiquette! Nearly always provide a capx of the problem you have, and try to isolate the problem and/or no capx above 10 MB. :)
B
38
S
19
G
26
Posts: 438
Reputation: 16,581

Post » Tue Mar 22, 2016 1:23 pm

Gotcha :) Thanks
-There are only two mistakes one can make in an adventure; not going all the way, and not starting.
B
19
S
4
G
4
Posts: 123
Reputation: 3,041

Post » Sun Apr 03, 2016 12:02 am

Ashley wrote:Here's a one-event version!

Making a game where this is the main mechanic, thank you so much for posting that capx file. I was fearing that it would take soooo much production time to get it right and such a simple command! Would have never thought of it - thank you so much!
Creator of Space Marauder.
Star Wars, Stargate & Warhammer 40,000 fanatic.
B
14
S
6
G
1
Posts: 17
Reputation: 1,800

PreviousNext

Return to How do I....?

Who is online

Users browsing this forum: makkancs and 24 guests