Timeline for XNA - Moving Background Calculations
Current License: CC BY-SA 2.5
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 14, 2011 at 12:41 | comment | added | Andrew Russell | @bummzack Ah - yes - I had assumed his ratio calculation was correct. But your answer is quite right in pointing out that you also need to take into account the viewport width. | |
| Mar 14, 2011 at 11:54 | comment | added | Jesse Emond | I appreciate the advices on the camera. I knew it was ugly, but I didn't really know how to do it differently, thanks for correcting me! :) | |
| Mar 14, 2011 at 9:02 | comment | added | bummzack | While your answer contains excellent advice and best-practice, it doesn't answer the OPs question (which is how to properly calculate movement in order to prevent the black bars from appearing). | |
| Mar 14, 2011 at 6:19 | history | answered | Andrew Russell | CC BY-SA 2.5 |