using the SetRotation( rotation# )

BlitzMax Forums/BlitzMax Programming/using the SetRotation( rotation# )

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Graphics 800,600
Local img:tImage = LoadImage("myImage.png")
MidHandleImage img
Local Angle:float

While Not KeyDown(Key_Escape)
  Cls
  Angle:+1
  SetRotation Angle
  DrawImage img,100,100
  Flip
Wend