Timeline for SpriteBatch.Draw() rectangle is different from destinationRectangle passed in
Current License: CC BY-SA 3.0
11 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 5, 2011 at 13:38 | vote | accept | Gavin Williams | ||
| Oct 5, 2011 at 13:38 | answer | added | Gavin Williams | timeline score: 1 | |
| Sep 25, 2011 at 16:02 | answer | added | Gavin Williams | timeline score: 0 | |
| Sep 24, 2011 at 19:51 | comment | added | Roy T. | Note that normally the back buffer will only grow and never shrink*, maybe this is the issue. Do you use ViewPort.Width or BackBuffer.Width to calculate the sizes? (*= I didn't look this up, but I can recall reading it) | |
| Sep 24, 2011 at 15:35 | history | edited | Tetrad | CC BY-SA 3.0 | edited title |
| Sep 24, 2011 at 10:01 | history | tweeted | twitter.com/#!/StackGameDev/status/117539186722078721 | ||
| Sep 24, 2011 at 9:52 | answer | added | Pablo Ariel | timeline score: 2 | |
| Sep 24, 2011 at 9:15 | comment | added | James | You are sure that is only off by a 2-3 pixels (looks like more to me visually as opposed to numerically) and that you are updating the size of your backbuffer and render target so that its not shrinking them down to fit to whatever the size of the window is now? | |
| Sep 24, 2011 at 7:56 | answer | added | Blau | timeline score: 1 | |
| Sep 24, 2011 at 7:49 | comment | added | Blau | How you calc your rectangle? if you resize you changes your backbuffer... | |
| Sep 24, 2011 at 7:41 | history | asked | Gavin Williams | CC BY-SA 3.0 |