Player_other drawing event

Posted by jose_creative
hi im making a game with the extension and the player has customization with the draw event and i wanted to know if player_other can do the draw event

like the player can see hes custom avatar but can't see other's avatars

Replies (4)

Last message on 24 Apr 2021

Size43 (Administrator) on 24 Apr 2021, 19:07:26
Apologies for the delay. If you want to sync custom drawing, like a hat or a custom costume on a character, you will need to sync all variables that you use to draw the character. Then, in the other player object's draw event, you can use gms_other_get to read these variables and draw the player correctly. See also this tutorial for more information.
jose_creative (Topicstarter) on 24 Apr 2021, 20:41:32
i click on "this tutorial" and nothing happends
Size43 (Administrator) on 24 Apr 2021, 20:53:46
Oops -- it looks like links in comments are broken. I'll get it fixed when I have some free time.

In the meantime, I was referring to this tutorial:https://gamemakerserver.com/en/docs/article/syncing_player_variables/
jose_creative (Topicstarter) on 24 Apr 2021, 21:16:34
thanks!