This project has moved and is read-only. For the latest updates, please go here.

DebugviewXNA and camera2D

Topics: User Forum
Sep 26, 2010 at 11:24 AM

I'm using RogueCommander's Camera2D camera, and I'm struggling to get it working with FP3's DebugViewXNA class. Information here is kind of scattered and there's no real documentation on the class itself, so I guess I'd just like to know, from beginning to end, what you're supposed to do to get it working. How to initialize the debugview and what to call in the Draw-method etc. Code samples would be nice.

All help greatly appreciated!

Sep 26, 2010 at 4:26 PM

JoroMiya's post at the end of this thread works nicely for drawing spritebatch per FP3.0's coordinate system:

Sep 26, 2010 at 5:35 PM

too confuse you a bit more, I modified jrommann's solution in the same thread. Works fine for me, and I can pass my Camera matrix directly into the spritebatch.