How do I add a text to a text in a global text?

Get help using Construct 2

Post » Thu Mar 19, 2015 5:04 pm

I have this .capx where elements appear and disappear on clicked button. On bottom of each button there is a text which , on touched, must add a short text to the existing.
So, if i press first button, Green object is placed and its name is written in the global string. As an additional option, under it, the text "O" on touched, must add a "-x2" text after the Green name. But if touched again, should remove it, so Green remains alone. I have started a method, but not working, if someone could please watch it in the CAPX. :geek:
You do not have the required permissions to view the files attached to this post.
B
8
S
2
Posts: 110
Reputation: 924

Post » Thu Mar 19, 2015 7:46 pm

Visual Novel 'Engine' in 100 Events
if you ever have to choose between buying Construct 2 on scirra.com or on Steam, read this: Review
B
22
S
9
G
1
Posts: 787
Reputation: 3,786

Post » Thu Mar 19, 2015 8:01 pm

wow! nice! almost perfect! but when I want to press on button, after it is already Green-x2, green does not disappear, it just adds a new Green under Green-x2.. I will try to figure out if I can finish your work, though I am not sure.. :)
B
8
S
2
Posts: 110
Reputation: 924

Post » Thu Mar 19, 2015 8:52 pm

Image
It would work like this.
Visual Novel 'Engine' in 100 Events
if you ever have to choose between buying Construct 2 on scirra.com or on Steam, read this: Review
B
22
S
9
G
1
Posts: 787
Reputation: 3,786

Post » Thu Mar 19, 2015 11:32 pm

that worked perfectly! thank you! I've learned a new thing for me!
B
8
S
2
Posts: 110
Reputation: 924


Return to How do I....?

Who is online

Users browsing this forum: Yahoo [Bot] and 5 guests