"other player" sprite same as "player" sprite

Posted by jana

I just registered my test game a couple of hours ago, and it seems to be working perfectly, except that the sprite for the two players is the same. It's the sprite for the "player." The sprites are different colors, so it's very obvious.

I tried removing the "other player" sprite, compiling, then putting it back and compiling, and same thing, both sprites are the "player" sprite.

How can I fix this?

Replies (3)

Last message on 13 Feb 2018

Size43 (Administrator) on 13 Feb 2018, 17:46:40
You can disable sprite syncing by using gms_optimize_variables(false, false).
Yoto on 9 Feb 2018, 01:20:17
in the obj_player, in a create event:

if (gms_self_ismaster()){
sprite_index=name of the player 1 sprite;
sprite_index=name of the player 2 sprite;
jana (Topicstarter) on 9 Feb 2018, 01:44:29
It worked, thanks.