Draw Texture

When using draw texture, I notice its in pixels, so if I use draw texture in my hud when I set the position, it will be in a different place everytime the resolution changes…How would I set it in an absolute position so its in the same place no matter the resolution.


It depends, if you want it to keep a relative location between different screens (I think is what you want to achieve) you have to get screen resolution, you can get it from the Draw HUD event, and work a bit with those values, for example multiplying them etc

If you want a texture to simply stand on top left corner you dont need to do so, just use some pixels

PD: You can find good examples on the Content Examples from the marketplace