I only got BMax today and i am stuck with a whole load of commands.
I used SetRotation and that rotates all the images, how do i rotate a specific image?
I used SetRotation and that rotates all the images, how do i rotate a specific image?
Function DrawImageEx(Image:TImage, X#, Y#, Frame:Int, Rotation#=0, ScaleX#=1.0, ScaleY#=1.0) Local OldRot# = GetRotation() Local OldScaleX#, OldScaleY# GetScale(OldScaleX, OldScaleY) SetRotation(Rotation) SetScale(ScaleX, ScaleY) DrawImage(Image, X, Y, Frame) SetRotation(OldRot) SetScale(OldScaleX, OldScaleY) End Function