We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3334dd7 commit 7ff7babCopy full SHA for 7ff7bab
Defold/scripts/game_controller.script
@@ -64,7 +64,7 @@ function Move(change)
64
elseif other_players[other_id] and other_id ~= id then
65
newx = room.state.players[other_id].x*scaling + spriteCenter;
66
newy = room.state.players[other_id].y*scaling + spriteCenter;
67
- newrot = room.state.players[other_id].rotation * -90;
+ newrot = room.state.players[other_id].rotation;
68
-- go.set_position(vmath.vector3(newx, newy, 1), other_players[other_id])
69
msg.post(other_players[other_id], "Game State", {x = newx, y = newy , rot = newrot});
70
0 commit comments