I'm coding my first actual game, trying without following tutorials, just trying to use my knowledge so far to make something playable. I'm creating (attempting) a simple side-scrolling shooter. I have a reticle drawn on screen that follows the mouse position, relative to where the player is. I.e. my update method for the reticle
mouse = Mouse.GetState(); reticlePostion.X = mouse.X + (player.position.X + (player.texture.Width /2)); reticlePostion.Y = mouse.Y + (player.position.Y + (player.texture.Height /2));
The only problem is that the windows cursor, ends up being about 300-400 pixels away from where the actual reticle is. What I'm trying to accomplish is a reticle that moves with the player (when the player jumps the reticle moves up with him in relative position), but still have it follow the mouse. I hope this makes sense, just lemme know if I need to post more.