Posted by jdev

Sorry for all the posts lately, just been using these forums to help me with a few queries I've been having recently.

I've noticed in my game that animations for clothing are playing client-side, but for other people when I walk it is just static, but they can still see my clothing (clothing walking animations aren't playing on their end).

Is this an issue with GameMaker Server?

Replies (10)

Last message on 13 Aug 2018

Size43 (Administrator) on 13 Aug 2018, 12:56:17
I've fixed the issue in this update:
Walt on 23 Jul 2018, 20:45:39
I too have this issue, my work around is I use this kinda code.

if(x != xprevious){
    image_speed = .33;
} else {
    image_speed = 0;
    image_index = 0;
Size43 (Administrator) on 22 Jul 2018, 14:46:31
By default, only the sprite_index and image_speed variables are synced. Syncing the actual image_index too would use a lot of data and make the game more laggy. If you don't set image_speed for the animations, you might need some extra code to make them show up on the other player objects.
jdev (Topicstarter) on 22 Jul 2018, 17:52:46
I do set the image_speed for the animations.
Size43 (Administrator) on 22 Jul 2018, 18:39:55
Are you using gms_optimize_variables anywhere, to change what's synced?
jdev (Topicstarter) on 22 Jul 2018, 21:51:33
No, I am not.
Size43 (Administrator) on 28 Jul 2018, 16:30:02
You are just using the default image_speed variable to do animations right? Or are you drawing more things on top of the base sprite with different ways of animating them?
jdev (Topicstarter) on 31 Jul 2018, 02:24:59
I am just using image_speed and changing the sprite_index. I am not drawing anything on-top of the player (clothing wise).
Size43 (Administrator) on 8 Aug 2018, 11:30:33
I'll postpone investigating this in favor of answering a few more questions first.
jdev (Topicstarter) on 8 Aug 2018, 16:18:06
OK, you can always contact me on Discord about how to fix this when you have time.