Room switch 2.3.4 Update: Multiplayer offset calc

Added script when you try using my room switch in multiplayer games.

Multiplayer offset calc: When you try use room switch for multiplayer you can now get the offset values from other players with the code:

scr_room_switch_MULTIPLAYER_OFFSET_CALC(your room, other players room);

Then use the return array to recalc the other players pos ex:

var offset=scr_room_switch_MULTIPLAYER_OFFSET_CALC(your room, client.room);
client.x=network_x_value+offset[0];
client.y=network_y_value+offset[1];

Files

RoomSwitch_2_3_4.gmez (453 kB)
151 days ago

Get Room switch - seamless rooms - game maker studio asset

Buy Now$9.99 USD or more

Leave a comment

Log in with your itch.io account to leave a comment.