How do I change my text object can amount to the value of

Get help using Construct 2

Post » Mon Jul 11, 2016 1:51 pm

Hello
How can I click on a sprite part of a variable within an object to show my text.

For example: Esprite Click on the coins to be low, then the first part of the inside of a variable text object is displayed.

Please if you have a photo of the event.
Thank.
B
7
S
1
Posts: 14
Reputation: 403

Post » Mon Jul 11, 2016 3:33 pm

I don't understand what you're wanting to do.

Can you draw a simple picture of what you expect to happen?

From what I can guess, I think you want to show an object's instance variable as text?

~Sol
Tired of crappy file hosts that are crappy? Get DROPBOX - https://db.tt/uwjysXJF
Moderator
B
80
S
34
G
40
Posts: 3,029
Reputation: 30,393

Post » Thu Jul 14, 2016 10:39 am

I want when I go on a frame of a sprite click the sprite to be displayed in a work like the image below:
Image
B
7
S
1
Posts: 14
Reputation: 403

Post » Thu Jul 14, 2016 12:11 pm

Sorry, I'm still not really understanding what you want to do.

You want to display text on a sprite?
You would have to make a text object, or sprite font object and set your text on it... then position the text or sprite font on top of your sprite.

~Sol
Tired of crappy file hosts that are crappy? Get DROPBOX - https://db.tt/uwjysXJF
Moderator
B
80
S
34
G
40
Posts: 3,029
Reputation: 30,393

Post » Thu Jul 14, 2016 1:46 pm

I want to see when they go to the following sprite was touched removed and fit within the box above. I apologize if it's good I can not explain because I am Iranian and I used to type Google translator :)
B
7
S
1
Posts: 14
Reputation: 403

Post » Thu Jul 14, 2016 2:02 pm

So, when a white button is pressed, remove it and show the same character in the "next" blank position at the top - correct?

One way is to give each Blank an ID instance variable, numbered 0 to 5. Have a Global variable with the current blank position. When the white button is pressed, pick the blank with the current ID, set the text, and increment the position value.

Containers are used to link the Text object to the Sprite.

http://www.blackhornettechnologies.com/ ... i_BHT.capx
ImageImageImage
B
71
S
21
G
220
Posts: 3,646
Reputation: 123,721

Post » Fri Jul 15, 2016 7:46 pm

Message: hoseinkhani can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
blackhornet wrote:So, when a white button is pressed, remove it and show the same character in the "next" blank position at the top - correct?

One way is to give each Blank an ID instance variable, numbered 0 to 5. Have a Global variable with the current blank position. When the white button is pressed, pick the blank with the current ID, set the text, and increment the position value.

Containers are used to link the Text object to the Sprite.

http://www.blackhornettechnologies.com/ ... i_BHT.capx




Excuse me if I want to do something that was full review when it gave the green box inside and go to the next level, what should I do?
B
7
S
1
Posts: 14
Reputation: 403

Post » Fri Jul 15, 2016 8:23 pm

http://www.blackhornettechnologies.com/ ... 2_BHT.capx

You can store the answers in an array. Then after the expected number of selections, check the current answer, for that level. If it is correct, add 1 to the level number and start over on the next answer.

First two answers are DOG then CAT.
ImageImageImage
B
71
S
21
G
220
Posts: 3,646
Reputation: 123,721

Post » Sat Jul 16, 2016 4:10 pm

I apologize very much. :)
I am clear letters one by one from the left.
What should I do?
B
7
S
1
Posts: 14
Reputation: 403

Post » Sat Jul 16, 2016 4:15 pm

Message: hoseinkhani can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
If it is, please refer to this topic and guide me
I do not know anyone except you :(

viewtopic.php?f=147&t=179266
B
7
S
1
Posts: 14
Reputation: 403

Next

Return to How do I....?

Who is online

Users browsing this forum: MaujDeveloper, mrkaio, user5487, Zav and 2 guests