Why does SdlDotNet's Rotation function zoom?
I am trying to rotate a sprite with SdlDotNet, and when I use the SdlDotNet.Surface.Rotation(int DegreesOfRotation) it zooms in while it rotates.
It's not that the surface zooms in, it's that the surface grows to accomodate the change in rotation so that the new image can fit on the surface. If you want full control over the rotation, use the CreateRotatedZoomedSurface function. This might actually be a better idea as consistantly rotating in realtime can really slow down the speed of the application.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement