Reputation
Top tag
Next privilege 125 Rep.
Vote down
Badges
4
Impact
~1k people reached

  • 0 posts edited
  • 0 helpful flags
  • 0 votes cast
Jun
17
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.