substitute mouseX, mouseY with the x, y point to rotate to. dx = mouseX - sprite.x;. dy = mouseY - sprite.y;.
確定! 回上一頁