Quantcast
Channel: Community | MonoGame - Latest topics
Viewing all articles
Browse latest Browse all 6821

Applying matrix to SpriteBatch

$
0
0

@Wrathchild34 wrote:

Okay folks, I am basically using this code: http://www.david-amador.com/2009/10/xna-camera-2d-with-zoom-and-rotation/ for my camera. Everything works fine, except when applying it to the SpriteBatch. I have a unit at position X:400 and Y:400 for testing. So technically when I start the program it should roughly be up there, my res is 1920x1080:

x

(doesn't show, basically upper left)

But instead it ends up there:

x

(doesn't show, basically lower right)

Is that expected behavior?

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 6821

Trending Articles