0
votes
0answers
7 views

XNA 2d weird rotation from quaternion in scene-graph

I have been trying to set up a scenegraph in XNA. It uses matrix transformations to accomplish this. So far, I got position and scale working perfectly, however rotation is behaving weirdly and I'm at ...
1
vote
0answers
56 views

Rotating SpriteBatch clockwise

I have developed a 2D game that looks great on the Android. Now I want to make it cross-platform. For this I need to literally rotate everything when it is on desktop. I tried to do that by rotating ...
3
votes
1answer
1k views

Libgdx sprite rotation (image quality)

This one is probably really simple but I didn't find a solution. I'm trying to create a widget (speedometer) with libgdx. For the arrows I'm using the setRotation() function. But when the image is ...
1
vote
3answers
1k views

XNA SpriteBatch.Draw with rotation, scaling and origin?

I use a 1x1 pixel 2d texture as source for SpriteBatch.Draw. The texture is scaled and rotated around an origin. The left image is only scaling. The right one scaling + rotation around the origin at ...
1
vote
3answers
2k views

Can I use SpriteBatch when drawing sprites on a rotating 3D plane

I'd like to have my plane of sprites rotate similarly as in this game (YouTube Video). So basically, everything is drawn in 2D, but the 2D plane is then "rotated in 3D" (or camera is rotated). When ...