How do I See variable values of other users in multiplayer?

Get help using Construct 2

Post » Sun Jun 11, 2017 3:03 am

I create a multiplayer game.
Everyone in my game has a level.
I take the level value from the database with php.
And I'm throwing a change.
I show the level variable in the multiplayer, but everyone sees their level.
The user x can not see the level of the user y.
X user sees his own level in user y (x).

I do not have English. I apologize for the bad expression.
B
10
S
7
G
2
Posts: 16
Reputation: 2,132

Post » Sun Jun 11, 2017 1:59 pm

help me :(
B
10
S
7
G
2
Posts: 16
Reputation: 2,132

Post » Sat Jul 22, 2017 3:46 pm

If the level is numeric, then define it as a Sync instance variable on a sync object.
If the level is a string, you can use SendMessage to get the information to everyone.
B
52
S
19
G
3
Posts: 21
Reputation: 4,502


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo, JackTYGA, worm1 and 29 guests