108 reputation
bio website martinandersson.com
location Gothenburg, Sweden
age 33
visits member for 2 years, 3 months
seen Feb 5 at 19:31

No limits.

comment Positioning a sprite in XNA: Use ClientBounds or BackBuffer?
Thanx, although something bugs me. The docs say that the destinationrectangle is "a rectangle specifying, in screen coordinates, where the sprite will be drawn". The word screen is used. At another MSDN-page it is written like so: "Sprites are positioned on the screen by coordinates. The width and height of the screen is the same as the back buffer." The book XNA Game Studio 4.0 Programming do it like you and uses the viewport.