Jump to content

View more

Image of the Day

Boxes as reward for our ranking mode. ヾ(☆▽☆)
#indiedev #gamedev #gameart #screenshotsaturday https://t.co/ALF1InmM7K
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Sprite is flipped vertically

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
No replies to this topic

#1 JWBaker   Members   

235
Like
0Likes
Like

Posted 08 March 2012 - 02:57 PM

Using the DX9 sprite functionality i can render a sprite without setting any of the transform matrices and it renders in the upper left corner at 0,0 with no issues.

I want to make my 0,0 coordinate be the center of the screen so i need to fiddle with my projections...

Device.SetTransform(TransformationState.Projection, Matrix.OrthoLH(800,600,0,1));

This puts the sprite in the center of the screen, but it is flipped vertically. Whaere could be issue be here?




Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.