rotaing 2d images
Blitz3D Forums/Blitz3D Beginners Area/rotaing 2d images
| ||
when rotating images in 2D, it rotates the image from the top left hand corner. is there anyway to rotate it from the centre of the image ? thanks !!! |
| ||
Using Midhandle() should work, I think. |
| ||
yeah, or you could position the handle wherever on your image you want |
| ||
Or AutoMidHandle, If you need to load a lot of images and they all need to be able to rotate around the middle... EDIT: To do what chwaga said, use ImageXHandle and ImageYHandle |
| ||
thanks very much xtremegamr, chwaga and Yo!Wazzup! - lol |
| ||
RotateImage doesn't work well in real time, so you may want to pre-rotate your images and store those images in an array. Here's the official quote from Help: This command is not fast enough to render rotations in real time! |