please tell me How to Sync the Player that Is made from more then one Object
the gms_settings allows me only to put one player object and the other one
Replies (3)
Last message on 26 Jul 2016
Size43
(Administrator)
on
26 Jul 2016, 17:40:49
This seems to be a duplicate of
https://gamemakerserver.com/en/forum/board/1/view/148/.
My reply there: "The best option would be to sync the rotation of the tank as a variable, and draw the tank sprite in the other player object as well.
Alternatively, you can use the instance syncing functions to synchronise additional instances."
Imperial
(Topicstarter)
on
26 Jul 2016, 22:44:48
I tried to use gms_instance_sync but It didn't worked, It doesn't show up for the other client, It shows only the player that has been setup using gms_settings
Size43
(Administrator)
on
26 Jul 2016, 22:48:26
You'll need to use is_full synchronization. Also, if you've got some code in the second object that moves it, that code should only be ran if the instance is owned by the player (gms_instance_is_owner).