[Multiplayer How do I]Send Value to set text ?

Get help using Construct 2

Post » Fri Nov 21, 2014 12:34 pm

Hello

im wanna do something like change text
like when im clicked on object then send value
and change text
help plz
B
4
Posts: 10
Reputation: 220

Post » Fri Nov 21, 2014 12:41 pm

Hi @GamyKung. Use condition (onclick object) to create event (set text of text area).
Image
B
9
S
3
G
1
Posts: 346
Reputation: 1,560

Post » Fri Nov 21, 2014 1:33 pm

can you explain this ? sorry im bad english
i mean "multiplayer"
it is multiplayer 1 vs 1
when click object then add score
B
4
Posts: 10
Reputation: 220

Post » Fri Nov 21, 2014 2:11 pm

On canvas:
Right click, "Insert new object", Double click "Text" (under General)
(Do same for Mouse input if not already done)

In Properties bar:
Layout properties:"Name" object (e.g. Message)

In Events:
Click "Add event", double-click "Mouse" input , double-click "on object clicked", choose Left, Clicked and object you want to click on, click "Done".
Click "Add Action", double-click "Message" object, double-click "Set text" (under Text), type message you want to appear ("inside quotes") and if you want to show a global variable for a score, join like this: "Your score is "&Score

Hope that helps
:)
Image
B
9
S
3
G
1
Posts: 346
Reputation: 1,560

Post » Fri Nov 21, 2014 11:16 pm

Hi @GamyKung. Did that work for you?
Image
B
9
S
3
G
1
Posts: 346
Reputation: 1,560

Post » Sat Nov 22, 2014 3:29 am

ummmm lol sorry im already solve it
becuase im did worng at connected room then set id of object
but anyway thx for help :D
B
4
Posts: 10
Reputation: 220

Post » Sat Nov 22, 2014 5:18 am

but now i got new promble :C
Host is worked fine but peer can only see host score and see self score is nan wat is this happen ?
B
4
Posts: 10
Reputation: 220


Return to How do I....?

Who is online

Users browsing this forum: tarek2 and 2 guests