Reputation
Top tag
Next privilege 20,000 Rep.
Access 'trusted user' tools
Badges
5 39 89
Newest
 Yearling
Impact
~545k people reached

Jun
20
comment Handling hitboxes
I won't write a full answer, because really "it depends". However I think this answer stackoverflow.com/a/5459955/165500 might give you some inspiration.
Jun
20
awarded  Nice Answer
Jun
19
answered Higher Performance With Spritesheets Than With Rotating Using C# and XNA 4.0?
Jun
17
comment Positioning a sprite in XNA: Use ClientBounds or BackBuffer?
They seem to be using the term "screen coordinates" to name the coordinate system that I usually call "client coordinates". I think my terminology is more precise, but it doesn't really matter. However the documentation is (strictly speaking) incorrect where it says "back buffer". It should read "viewport". The reason for the inaccuracy is probably to simplify things for an introductory article.
Jun
17
answered Positioning a sprite in XNA: Use ClientBounds or BackBuffer?
Jun
12
awarded  Civic Duty
Jun
10
comment Loading class instance from XML with Texture2D
See also this answer: stackoverflow.com/questions/6783131/…
Jun
10
comment Loading class instance from XML with Texture2D
It's worth pointing out that there is a way to make this work "nicely", where the ContentManager will load and manage your texture for you. But it's pretty damn complicated - some might say not worth the effort (given that Blau's solution is almost as good). It involves having Texture2DContent at build time and Texture2D at runtime, and messing about with ExternalReference. Sadly I can't seem to find the code I had for this - so I can't put together an answer for you. Perhaps someone else has this working?
Jun
9
comment Loading class instance from XML with Texture2D
It's worth pointing out that, if you remove the Texture2D field from the class and the XML, in a properly set up set of projects, everything else works fine.
Jun
9
comment Loading class instance from XML with Texture2D
I've given your question a better name - the tricky bit is the Texture2D.
Jun
9
revised Loading class instance from XML with Texture2D
Renamed question
Jun
9
answered How do I draw shape distortion with a Texture2D in XNA?
Jun
8
awarded  Caucus
May
31
awarded  Enlightened
May
31
awarded  Nice Answer
May
3
awarded  Great Question
Apr
6
awarded  Announcer
Apr
6
awarded  Nice Answer
Mar
8
revised Is the viewport meant to be an absolute representation of where the underlying device is drawing?
edited body
Mar
8
revised Is the viewport meant to be an absolute representation of where the underlying device is drawing?
added 1 characters in body