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
9
S
5
G
2
Posts: 13
Reputation: 1,851

Post » Sun Jun 11, 2017 1:59 pm

help me :(
B
9
S
5
G
2
Posts: 13
Reputation: 1,851

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
44
S
18
G
3
Posts: 19
Reputation: 4,198


Return to How do I....?

Who is online

Users browsing this forum: tarek2, Twili and 1 guest