0
플레이어가 마주보고있는대로 플레이어 아이콘을 회전하려고합니다.미니 맵에서 회전하는 플레이어
Image pImage = Image.FromFile("player.png");
Bitmap pBitmap = new Bitmap(pImage.Width, pImage.Height);
Graphics gfx = Graphics.FromImage(pBitmap);
gfx.RotateTransform(10);
gfx.InterpolationMode = System.Drawing.Drawing2D.InterpolationMode.HighQualityBicubic;
gfx.DrawImage(pImage, new Point(0, 0));
gfx.Dispose();
g.DrawImage(pImage, 150 - RADAR_ICON_WIDTH/2, 150 - RADAR_ICON_HEIGHT/2, RADAR_ICON_WIDTH, RADAR_ICON_HEIGHT);
다음 코드는 전혀 회전하지 않습니다 :(player.png (A arrowicon를) 단지 내가 발견 웹 검색 항상 :(조금 후
코드를 수정했습니다 ... 다른 모습을 보시기 바랍니다 – Jason94