Hello,
for my Game I used this tutorial from riemers for automatically scalling graphics relative to the current resolution of the game window: http://www.riemers.net/eng/Tutorials/XNA/Csharp/Series2D/Resolution_independency.php
If I change from the baseSize to another resolution the Mouse position gets messed up, I have a custom cursor on (int)ms.x, (int)ms.y but when I move it on a different resolution the real mouse is not at the same position as the custom cursor. Does anyone know a solution to this problem?
this is how I draw the cursor:
public override void Draw(GameTime gameTime)
{
MouseState ms = Mouse.GetState();
Game1.spriteBatch.Begin(SpriteSortMode.Immediate, BlendState.AlphaBlend, null, null, null, null, Game1.globalTransformation);
Game1.spriteBatch.Draw(_Cursor, new Rectangle((int)ms.X -6, (int)ms.Y -3, 25, 25), Color.White);
Game1.spriteBatch.End();
}